LLM Tests
| SDK | Basic Error LLM Test | Basic LLM Test | Conversation ID LLM Test | Long Input LLM Test | Multi-Turn LLM Test | Vision 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
| SDK | Basic Agent Test | Conversation ID Agent Test | Long Input Agent Test | Tool Call Agent Test | Tool Error Agent Test | Vision 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
| SDK | Basic 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 | ✓✓ |
Failed Tests (536)
cloudflare/langgraph :: Basic Agent Test (openai) 1 116766ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
8a1eea05gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8a1eea05gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
8a1eea05gen_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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (4)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-agent-test",
"op": "test",
"parent_span_id": "bfa34a48ee872708",
"span_id": "83d9fe8c8747ec71",
"start_timestamp": 1779953356.01,
"timestamp": 1779953356.814,
"trace_id": "fba914b48465418086c43afda4aabc04",
"origin": "manual"
},
{
"span_id": "bfa34a48ee872708",
"trace_id": "fba914b48465418086c43afda4aabc04",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953356.001,
"timestamp": 1779953356.815,
"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:47615/",
"url.port": "47615",
"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:47615",
"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": "bd54343ae9b179d8",
"trace_id": "fba914b48465418086c43afda4aabc04",
"parent_span_id": "83d9fe8c8747ec71",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953356.01,
"timestamp": 1779953356.813,
"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.response.finish_reasons": [
"stop"
],
"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": "8a1eea057877d372",
"trace_id": "fba914b48465418086c43afda4aabc04",
"parent_span_id": "bd54343ae9b179d8",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953356.044,
"timestamp": 1779953356.808,
"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-DkPT2fLgdZZgDpnbCS0vFX9RU84zI",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langgraph :: Basic Agent Test (anthropic) 1 1 116172ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
9340a5dagen_ai.usage.input_tokensSpan 9340a5da: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9340a5dagen_ai.usage.output_tokensSpan 9340a5da: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
Checks
checkValidTokenUsage
a06f20begen_ai.usage.input_tokensinput_tokens must exist
a06f20begen_ai.usage.output_tokensoutput_tokens must exist
a06f20begen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
9340a5dagen_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.nameCaptured Spans (4)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-agent-test",
"op": "test",
"parent_span_id": "85cd8be05f1dc5c2",
"span_id": "bd5aaf0b65b29fe2",
"start_timestamp": 1779953356.028,
"timestamp": 1779953356.24,
"trace_id": "8396022ed10344c59e7811765191bab0",
"origin": "manual"
},
{
"span_id": "85cd8be05f1dc5c2",
"trace_id": "8396022ed10344c59e7811765191bab0",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953356.021,
"timestamp": 1779953356.242,
"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:47613/",
"url.port": "47613",
"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:47613",
"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": "a06f20bec2ae10b0",
"trace_id": "8396022ed10344c59e7811765191bab0",
"parent_span_id": "bd5aaf0b65b29fe2",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953356.031,
"timestamp": 1779953356.239,
"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": "9340a5dab6b21c7c",
"trace_id": "8396022ed10344c59e7811765191bab0",
"parent_span_id": "a06f20bec2ae10b0",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953356.071,
"timestamp": 1779953356.225,
"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 118271ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
b0d0cb47gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0d0cb47gen_ai.output.messagesMissing output messages attribute
bd72b1d3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bd72b1d3gen_ai.output.messagesMissing output messages attribute
9bc19985gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9bc19985gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
Checks
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
checkInputMessagesSchema
Warnings
checkResponseModel
b0d0cb47gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
bd72b1d3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9bc19985gen_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.definitionsgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.response.stop_reason(3 spans)gen_ai.tool.call.id(2 spans)Captured Spans (8)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "tool-call-agent-test",
"op": "test",
"parent_span_id": "858cc0908a37492d",
"span_id": "beefc996a82c0307",
"start_timestamp": 1779953354.944,
"timestamp": 1779953358.335,
"trace_id": "922f50be0f45437a95bcd4fbaf98b95d",
"origin": "manual"
},
{
"span_id": "858cc0908a37492d",
"trace_id": "922f50be0f45437a95bcd4fbaf98b95d",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953354.884,
"timestamp": 1779953358.337,
"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:47614/",
"url.port": "47614",
"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:47614",
"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": "85632ef7c9bd1cee",
"trace_id": "922f50be0f45437a95bcd4fbaf98b95d",
"parent_span_id": "beefc996a82c0307",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent math_assistant",
"start_timestamp": 1779953354.945,
"timestamp": 1779953358.334,
"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_u0er2iXR1jitU5sasxRR2OYg\"},{\"name\":\"multiply\",\"args\":{\"a\":8,\"b\":4},\"type\":\"tool_call\",\"id\":\"call_Iq1duwKPakvZSoS23cXEUv8i\"}]",
"gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"\"},{\"role\":\"tool\",\"content\":\"8\"},{\"role\":\"assistant\",\"content\":\"\"},{\"role\":\"tool\",\"content\":\"32\"},{\"role\":\"assistant\",\"content\":\"The result of the calculation \\\\((3 + 5) * 4\\\\) is \\\\(32\\\\).\"}]",
"gen_ai.response.finish_reasons": [
"stop"
],
"gen_ai.usage.input_tokens": 441,
"gen_ai.usage.output_tokens": 57,
"gen_ai.usage.total_tokens": 498
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b0d0cb47c21d991c",
"trace_id": "922f50be0f45437a95bcd4fbaf98b95d",
"parent_span_id": "85632ef7c9bd1cee",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953355.133,
"timestamp": 1779953356.422,
"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_u0er2iXR1jitU5sasxRR2OYg\"}]",
"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-DkPT13tBiQu3rDMnWsVhHy92R77Vw",
"gen_ai.response.stop_reason": "tool_calls"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bc8ac85bf48fbd41",
"trace_id": "922f50be0f45437a95bcd4fbaf98b95d",
"parent_span_id": "85632ef7c9bd1cee",
"op": "gen_ai.execute_tool",
"description": "execute_tool add",
"start_timestamp": 1779953356.426,
"timestamp": 1779953356.428,
"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_u0er2iXR1jitU5sasxRR2OYg",
"gen_ai.tool.input": "{\"a\":3,\"b\":5}",
"gen_ai.tool.output": "8"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bd72b1d386892036",
"trace_id": "922f50be0f45437a95bcd4fbaf98b95d",
"parent_span_id": "85632ef7c9bd1cee",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953356.43,
"timestamp": 1779953357.68,
"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_Iq1duwKPakvZSoS23cXEUv8i\"}]",
"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-DkPT3La4MgoUV8O9gtJlMIKlBMZxM",
"gen_ai.response.stop_reason": "tool_calls"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8d2a2f6f28169e02",
"trace_id": "922f50be0f45437a95bcd4fbaf98b95d",
"parent_span_id": "85632ef7c9bd1cee",
"op": "gen_ai.execute_tool",
"description": "execute_tool multiply",
"start_timestamp": 1779953357.683,
"timestamp": 1779953357.684,
"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_Iq1duwKPakvZSoS23cXEUv8i",
"gen_ai.tool.input": "{\"a\":8,\"b\":4}",
"gen_ai.tool.output": "32"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9bc19985a8335374",
"trace_id": "922f50be0f45437a95bcd4fbaf98b95d",
"parent_span_id": "85632ef7c9bd1cee",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953357.686,
"timestamp": 1779953358.331,
"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 the calculation \\\\((3 + 5) * 4\\\\) is \\\\(32\\\\).\"]",
"gen_ai.usage.input_tokens": 176,
"gen_ai.usage.output_tokens": 23,
"gen_ai.usage.total_tokens": 199,
"gen_ai.response.id": "chatcmpl-DkPT3IViKW4Yuug2O3QuD7HI1CjoC",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langgraph :: Tool Call Agent Test (anthropic) 2 3 114821ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
ac43b236gen_ai.usage.input_tokensSpan ac43b236: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
ac43b236gen_ai.usage.output_tokensSpan ac43b236: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkToolSpanAttributes
Should have at least one tool span
checkAgentHierarchy
Checks
checkValidTokenUsage
aeceec69gen_ai.usage.input_tokensinput_tokens must exist
aeceec69gen_ai.usage.output_tokensoutput_tokens must exist
aeceec69gen_ai.usage.total_tokenstotal_tokens must exist
checkAvailableTools
checkResponseToolCalls(add, multiply)
ac43b236gen_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
Warnings
checkResponseModel
ac43b236gen_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.definitionsgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "tool-call-agent-test",
"op": "test",
"parent_span_id": "8134366054fe2ec2",
"span_id": "a7e60b335208b81d",
"start_timestamp": 1779953354.107,
"timestamp": 1779953354.738,
"trace_id": "d87fdc64814a41e98464f1f63a3c7b64",
"origin": "manual"
},
{
"span_id": "8134366054fe2ec2",
"trace_id": "d87fdc64814a41e98464f1f63a3c7b64",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953354.073,
"timestamp": 1779953354.749,
"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:47616/",
"url.port": "47616",
"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:47616",
"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": "aeceec699b44c982",
"trace_id": "d87fdc64814a41e98464f1f63a3c7b64",
"parent_span_id": "a7e60b335208b81d",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent math_assistant",
"start_timestamp": 1779953354.107,
"timestamp": 1779953354.734,
"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": "ac43b236d4b23ec0",
"trace_id": "d87fdc64814a41e98464f1f63a3c7b64",
"parent_span_id": "aeceec699b44c982",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953354.322,
"timestamp": 1779953354.66,
"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 117736ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
ad824adegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad824adegen_ai.output.messagesMissing output messages attribute
834b8cf2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
834b8cf2gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
Checks
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
Warnings
checkResponseModel
ad824adegen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
834b8cf2gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(3 spans)→ gen_ai.tool.definitionsgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.response.stop_reason(2 spans)gen_ai.tool.call.id(1 span)Captured Spans (6)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "tool-error-agent-test",
"op": "test",
"parent_span_id": "965f0193c01821f1",
"span_id": "92a956dd18561482",
"start_timestamp": 1779953355.665,
"timestamp": 1779953357.801,
"trace_id": "6711ae9f4a144d249e93fc8bf43052f4",
"origin": "manual"
},
{
"span_id": "965f0193c01821f1",
"trace_id": "6711ae9f4a144d249e93fc8bf43052f4",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953355.657,
"timestamp": 1779953357.803,
"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:47617/",
"url.port": "47617",
"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:47617",
"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": "be841ad056626d81",
"trace_id": "6711ae9f4a144d249e93fc8bf43052f4",
"parent_span_id": "92a956dd18561482",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent file_assistant",
"start_timestamp": 1779953355.666,
"timestamp": 1779953357.801,
"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_Vw57E89wTQgjKAx9TkXWCw90\"}]",
"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 `/nonexistent/file.txt` does not exist, which is why I couldn't read its contents. Please check the file path and try again.\"}]",
"gen_ai.response.finish_reasons": [
"stop"
],
"gen_ai.usage.input_tokens": 205,
"gen_ai.usage.output_tokens": 50,
"gen_ai.usage.total_tokens": 255
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ad824ade12f1a99d",
"trace_id": "6711ae9f4a144d249e93fc8bf43052f4",
"parent_span_id": "be841ad056626d81",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953355.7,
"timestamp": 1779953356.819,
"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_Vw57E89wTQgjKAx9TkXWCw90\"}]",
"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-DkPT2h9GtrT9xgn600To3ep5wF8G4",
"gen_ai.response.stop_reason": "tool_calls"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a5861f1fd4c68e1e",
"trace_id": "6711ae9f4a144d249e93fc8bf43052f4",
"parent_span_id": "be841ad056626d81",
"op": "gen_ai.execute_tool",
"description": "execute_tool read_file",
"start_timestamp": 1779953356.825,
"timestamp": 1779953356.838,
"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_Vw57E89wTQgjKAx9TkXWCw90",
"gen_ai.tool.input": "{\"path\":\"/nonexistent/file.txt\"}"
},
"status": "error",
"is_segment": false
},
{
"span_id": "834b8cf28e27ea2c",
"trace_id": "6711ae9f4a144d249e93fc8bf43052f4",
"parent_span_id": "be841ad056626d81",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953356.84,
"timestamp": 1779953357.797,
"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 `/nonexistent/file.txt` does not exist, which is why I couldn't read its contents. Please check the file path and try again.\"]",
"gen_ai.usage.input_tokens": 129,
"gen_ai.usage.output_tokens": 32,
"gen_ai.usage.total_tokens": 161,
"gen_ai.response.id": "chatcmpl-DkPT2ecIGzpDT8yOSSLayjg174eOC",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langgraph :: Tool Error Agent Test (anthropic) 2 2 116197ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
92a71853gen_ai.usage.input_tokensSpan 92a71853: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
92a71853gen_ai.usage.output_tokensSpan 92a71853: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkToolSpanAttributes
Should have at least one tool span
checkAgentHierarchy
Checks
checkAvailableTools
checkResponseToolCalls(read_file)
92a71853gen_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
Warnings
checkResponseModel
92a71853gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "tool-error-agent-test",
"op": "test",
"parent_span_id": "bf066d5575c6b3ff",
"span_id": "990600f356203f90",
"start_timestamp": 1779953356.015,
"timestamp": 1779953356.264,
"trace_id": "d0289e5de56747c9a37fe2fcf43361f7",
"origin": "manual"
},
{
"span_id": "bf066d5575c6b3ff",
"trace_id": "d0289e5de56747c9a37fe2fcf43361f7",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953356.005,
"timestamp": 1779953356.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:47618/",
"url.port": "47618",
"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:47618",
"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": "b95a650d84740943",
"trace_id": "d0289e5de56747c9a37fe2fcf43361f7",
"parent_span_id": "990600f356203f90",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent file_assistant",
"start_timestamp": 1779953356.015,
"timestamp": 1779953356.263,
"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": "92a71853978dada8",
"trace_id": "d0289e5de56747c9a37fe2fcf43361f7",
"parent_span_id": "b95a650d84740943",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953356.049,
"timestamp": 1779953356.245,
"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 116157ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
8f863f5cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f863f5cgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
8f863f5cgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (4)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-agent-test",
"op": "test",
"parent_span_id": "b3e7ec29a6aaf240",
"span_id": "b4b6273ffe8e7fe2",
"start_timestamp": 1779953354.34,
"timestamp": 1779953356.219,
"trace_id": "f989b1f8dad24e0b906c6d7c47a80dc9",
"origin": "manual"
},
{
"span_id": "b3e7ec29a6aaf240",
"trace_id": "f989b1f8dad24e0b906c6d7c47a80dc9",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953354.28,
"timestamp": 1779953356.22,
"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:47619/",
"url.port": "47619",
"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:47619",
"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": "912ed638955942ec",
"trace_id": "f989b1f8dad24e0b906c6d7c47a80dc9",
"parent_span_id": "b4b6273ffe8e7fe2",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent vision_assistant",
"start_timestamp": 1779953354.341,
"timestamp": 1779953356.218,
"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.response.finish_reasons": [
"stop"
],
"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": "8f863f5ce4079350",
"trace_id": "f989b1f8dad24e0b906c6d7c47a80dc9",
"parent_span_id": "912ed638955942ec",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953354.625,
"timestamp": 1779953356.214,
"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-DkPT1SjEnHO3zuQiOKJFIEx5VfeSO",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langgraph :: Vision Agent Test (anthropic) 1 1 114981ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
a68fffb6gen_ai.usage.input_tokensSpan a68fffb6: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a68fffb6gen_ai.usage.output_tokensSpan a68fffb6: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
Checks
checkValidTokenUsage
bb2f5372gen_ai.usage.input_tokensinput_tokens must exist
bb2f5372gen_ai.usage.output_tokensoutput_tokens must exist
bb2f5372gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
a68fffb6gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-agent-test",
"op": "test",
"parent_span_id": "8e2a4cd41b343417",
"span_id": "b9a26d6171b8a333",
"start_timestamp": 1779953354.58,
"timestamp": 1779953355.014,
"trace_id": "e88caf6d7e7e43d18cdccdfcf5e3d835",
"origin": "manual"
},
{
"span_id": "8e2a4cd41b343417",
"trace_id": "e88caf6d7e7e43d18cdccdfcf5e3d835",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953354.543,
"timestamp": 1779953355.028,
"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:47621/",
"url.port": "47621",
"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:47621",
"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": "bb2f53722a0b690a",
"trace_id": "e88caf6d7e7e43d18cdccdfcf5e3d835",
"parent_span_id": "b9a26d6171b8a333",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent vision_assistant",
"start_timestamp": 1779953354.58,
"timestamp": 1779953355.011,
"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": "a68fffb6b762db19",
"trace_id": "e88caf6d7e7e43d18cdccdfcf5e3d835",
"parent_span_id": "bb2f53722a0b690a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953354.674,
"timestamp": 1779953354.916,
"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 145003ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
add4113agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
add4113agen_ai.output.messagesMissing output messages attribute
94f25e6cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94f25e6cgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
add4113agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
94f25e6cgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(3 spans)→ gen_ai.tool.definitionsgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.response.stop_reason(2 spans)gen_ai.tool.call.id(1 span)Captured Spans (6)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-agent-test",
"op": "test",
"parent_span_id": "80aaa36ecd295099",
"span_id": "ba7f1ed2e184e571",
"start_timestamp": 1779953354.77,
"timestamp": 1779953385.02,
"trace_id": "8e6092461c8b4215ad72f83bce2d4038",
"origin": "manual"
},
{
"span_id": "80aaa36ecd295099",
"trace_id": "8e6092461c8b4215ad72f83bce2d4038",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953354.719,
"timestamp": 1779953385.033,
"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:47620/",
"url.port": "47620",
"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:47620",
"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": "aa7485e1b16a99b7",
"trace_id": "8e6092461c8b4215ad72f83bce2d4038",
"parent_span_id": "ba7f1ed2e184e571",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent summarizer_assistant",
"start_timestamp": 1779953354.787,
"timestamp": 1779953385.014,
"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.\"},\"type\":\"tool_call\",\"id\":\"call_AisLI005WYKC5XW9F9qzMxSO\"}]",
"gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"\"},{\"role\":\"tool\",\"content\":\"2400\"},{\"role\":\"assistant\",\"content\":\"The text is a repeated message emphasizing a test input that will be echoed numerous times to create an extensive length.\"}]",
"gen_ai.response.finish_reasons": [
"stop"
],
"gen_ai.usage.input_tokens": 12262,
"gen_ai.usage.output_tokens": 1315,
"gen_ai.usage.total_tokens": 13577
},
"status": "ok",
"is_segment": false
},
{
"span_id": "add4113adeefd62c",
"trace_id": "8e6092461c8b4215ad72f83bce2d4038",
"parent_span_id": "aa7485e1b16a99b7",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953355.013,
"timestamp": 1779953383.696,
"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.\"},\"type\":\"tool_call\",\"id\":\"call_AisLI005WYKC5XW9F9qzMxSO\"}]",
"gen_ai.response.text": "[\"\"]",
"gen_ai.usage.input_tokens": 5477,
"gen_ai.usage.output_tokens": 1292,
"gen_ai.usage.total_tokens": 6769,
"gen_ai.response.id": "chatcmpl-DkPT15otrKYfmpQdwulVlSV1QwbOL",
"gen_ai.response.stop_reason": "tool_calls"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "95b6c73e91af7662",
"trace_id": "8e6092461c8b4215ad72f83bce2d4038",
"parent_span_id": "aa7485e1b16a99b7",
"op": "gen_ai.execute_tool",
"description": "execute_tool get_word_count",
"start_timestamp": 1779953383.718,
"timestamp": 1779953383.725,
"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_AisLI005WYKC5XW9F9qzMxSO",
"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": "2400"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "94f25e6c6b6ffd87",
"trace_id": "8e6092461c8b4215ad72f83bce2d4038",
"parent_span_id": "aa7485e1b16a99b7",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953383.737,
"timestamp": 1779953384.998,
"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 repeated message emphasizing a test input that will be echoed numerous times to create an extensive length.\"]",
"gen_ai.usage.input_tokens": 6785,
"gen_ai.usage.output_tokens": 23,
"gen_ai.usage.total_tokens": 6808,
"gen_ai.response.id": "chatcmpl-DkPTTEkWqMfXdK9MgYFQUdG2zI4Hu",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langgraph :: Long Input Agent Test (anthropic) 1 114828ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
b6adb76bgen_ai.usage.input_tokensSpan b6adb76b: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b6adb76bgen_ai.usage.output_tokensSpan b6adb76b: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
b6adb76bgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-agent-test",
"op": "test",
"parent_span_id": "8a554623e2da6ee4",
"span_id": "a83c373c17c1a830",
"start_timestamp": 1779953354.35,
"timestamp": 1779953354.83,
"trace_id": "b0482bb8aece4073afc3c2af22b854eb",
"origin": "manual"
},
{
"span_id": "8a554623e2da6ee4",
"trace_id": "b0482bb8aece4073afc3c2af22b854eb",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953354.303,
"timestamp": 1779953354.832,
"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:47622/",
"url.port": "47622",
"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:47622",
"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": "8e9b4c1586c4be97",
"trace_id": "b0482bb8aece4073afc3c2af22b854eb",
"parent_span_id": "a83c373c17c1a830",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent summarizer_assistant",
"start_timestamp": 1779953354.36,
"timestamp": 1779953354.824,
"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": "b6adb76ba0afba4b",
"trace_id": "b0482bb8aece4073afc3c2af22b854eb",
"parent_span_id": "8e9b4c1586c4be97",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953354.537,
"timestamp": 1779953354.767,
"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 121021ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
a15960b9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a15960b9gen_ai.output.messagesMissing output messages attribute
90b2a0ecgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
90b2a0ecgen_ai.output.messagesMissing output messages attribute
8f24ad36gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f24ad36gen_ai.output.messagesMissing output messages attribute
9a25c44bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9a25c44bgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
a15960b9gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
90b2a0ecgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8f24ad36gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9a25c44bgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(8 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(4 spans)Captured Spans (10)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-agent-test",
"op": "test",
"parent_span_id": "b0717085dacf6916",
"span_id": "b9e7f153ca70a7dc",
"start_timestamp": 1779953355.804,
"timestamp": 1779953360.989,
"trace_id": "2321fe17f35d4493ab205693eaad031e",
"origin": "manual"
},
{
"span_id": "b0717085dacf6916",
"trace_id": "2321fe17f35d4493ab205693eaad031e",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953355.797,
"timestamp": 1779953360.991,
"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:47623/",
"url.port": "47623",
"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:47623",
"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": "b47e8c293277db9b",
"trace_id": "2321fe17f35d4493ab205693eaad031e",
"parent_span_id": "b9e7f153ca70a7dc",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953355.805,
"timestamp": 1779953356.493,
"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.response.finish_reasons": [
"stop"
],
"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": "a15960b941d317b3",
"trace_id": "2321fe17f35d4493ab205693eaad031e",
"parent_span_id": "b47e8c293277db9b",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953355.869,
"timestamp": 1779953356.489,
"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-DkPT2dGRRJwI8tIebZrfu9PNSDzjX",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ac927275a5b1aaf8",
"trace_id": "2321fe17f35d4493ab205693eaad031e",
"parent_span_id": "b9e7f153ca70a7dc",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953356.495,
"timestamp": 1779953357.93,
"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.response.finish_reasons": [
"stop"
],
"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": "90b2a0ec9370a2c3",
"trace_id": "2321fe17f35d4493ab205693eaad031e",
"parent_span_id": "ac927275a5b1aaf8",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953356.501,
"timestamp": 1779953357.927,
"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-DkPT329u8Xv8pDEDVJd43ywzn5h3n",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "af0eca2c0a7eb0bd",
"trace_id": "2321fe17f35d4493ab205693eaad031e",
"parent_span_id": "b9e7f153ca70a7dc",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953357.93,
"timestamp": 1779953359.442,
"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\":\"Could you please provide more context or specify what you're interested in regarding Germany? For example, are you looking for information about its history, culture, economy, politics, travel destinations, or something else?\"}]",
"gen_ai.response.finish_reasons": [
"stop"
],
"gen_ai.usage.input_tokens": 11,
"gen_ai.usage.output_tokens": 40,
"gen_ai.usage.total_tokens": 51
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8f24ad367b833025",
"trace_id": "2321fe17f35d4493ab205693eaad031e",
"parent_span_id": "af0eca2c0a7eb0bd",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953357.937,
"timestamp": 1779953359.44,
"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 provide more context or specify what you're interested in regarding Germany? For example, are you looking for information about its history, culture, economy, politics, travel destinations, or something else?\"]",
"gen_ai.usage.input_tokens": 11,
"gen_ai.usage.output_tokens": 40,
"gen_ai.usage.total_tokens": 51,
"gen_ai.response.id": "chatcmpl-DkPT4YFrSH1gLPmLdhZYbwBhyjc1B",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b3aa38d24d5be45e",
"trace_id": "2321fe17f35d4493ab205693eaad031e",
"parent_span_id": "b9e7f153ca70a7dc",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953359.443,
"timestamp": 1779953360.989,
"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.response.finish_reasons": [
"stop"
],
"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": "9a25c44b5e2e1a21",
"trace_id": "2321fe17f35d4493ab205693eaad031e",
"parent_span_id": "b3aa38d24d5be45e",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953359.449,
"timestamp": 1779953360.967,
"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-DkPT6UT1pK7aKnXf3nysGfqS1NNyn",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langgraph :: Conversation ID Agent Test (anthropic) 1 1 116536ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
9a3fd87agen_ai.usage.input_tokensSpan 9a3fd87a: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9a3fd87agen_ai.usage.output_tokensSpan 9a3fd87a: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b19c2601gen_ai.usage.input_tokensSpan b19c2601: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b19c2601gen_ai.usage.output_tokensSpan b19c2601: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b2f50f57gen_ai.usage.input_tokensSpan b2f50f57: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b2f50f57gen_ai.usage.output_tokensSpan b2f50f57: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
a46119bdgen_ai.usage.input_tokensSpan a46119bd: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a46119bdgen_ai.usage.output_tokensSpan a46119bd: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
bcf59192gen_ai.usage.input_tokensinput_tokens must exist
bcf59192gen_ai.usage.output_tokensoutput_tokens must exist
bcf59192gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
9a3fd87agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b19c2601gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b2f50f57gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a46119bdgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (10)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-agent-test",
"op": "test",
"parent_span_id": "9f59a7942ae9797a",
"span_id": "87a4fded94ea9131",
"start_timestamp": 1779953356.077,
"timestamp": 1779953356.609,
"trace_id": "c7ac4a7d256540bfb486f6f83e5b046f",
"origin": "manual"
},
{
"span_id": "9f59a7942ae9797a",
"trace_id": "c7ac4a7d256540bfb486f6f83e5b046f",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953356.072,
"timestamp": 1779953356.61,
"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:47624/",
"url.port": "47624",
"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:47624",
"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": "bcf591922727271a",
"trace_id": "c7ac4a7d256540bfb486f6f83e5b046f",
"parent_span_id": "87a4fded94ea9131",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953356.077,
"timestamp": 1779953356.264,
"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": "9a3fd87a5fa70d04",
"trace_id": "c7ac4a7d256540bfb486f6f83e5b046f",
"parent_span_id": "bcf591922727271a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953356.098,
"timestamp": 1779953356.242,
"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": "8f2f7dbe964e66f6",
"trace_id": "c7ac4a7d256540bfb486f6f83e5b046f",
"parent_span_id": "87a4fded94ea9131",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953356.267,
"timestamp": 1779953356.385,
"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": "b19c26018fd0929d",
"trace_id": "c7ac4a7d256540bfb486f6f83e5b046f",
"parent_span_id": "8f2f7dbe964e66f6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953356.283,
"timestamp": 1779953356.382,
"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": "8aa57aa9c2debdf4",
"trace_id": "c7ac4a7d256540bfb486f6f83e5b046f",
"parent_span_id": "87a4fded94ea9131",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953356.385,
"timestamp": 1779953356.495,
"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": "b2f50f57a4892bf5",
"trace_id": "c7ac4a7d256540bfb486f6f83e5b046f",
"parent_span_id": "8aa57aa9c2debdf4",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953356.389,
"timestamp": 1779953356.494,
"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": "b22ac7ae13877b2b",
"trace_id": "c7ac4a7d256540bfb486f6f83e5b046f",
"parent_span_id": "87a4fded94ea9131",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953356.496,
"timestamp": 1779953356.609,
"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": "a46119bdace2b371",
"trace_id": "c7ac4a7d256540bfb486f6f83e5b046f",
"parent_span_id": "b22ac7ae13877b2b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953356.502,
"timestamp": 1779953356.607,
"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 18065ms
Critical
checkAgentSpanAttributes(Not supported by this framework)
checkChatSpanAttributes(Not supported by this framework)
checkAgentHierarchy(Not supported by this framework)
Checks
checkValidTokenUsage(No AI spans captured)
checkInputMessagesSchema
Should have at least one chat or agent span
Warnings
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 17823ms
Critical
checkAgentSpanAttributes(Not supported by this framework)
checkChatSpanAttributes(Not supported by this framework)
checkToolSpanAttributes(Not supported by this framework)
checkAgentHierarchy(Not supported by this framework)
Checks
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
Warnings
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 27816ms
Critical
checkAgentSpanAttributes(Not supported by this framework)
checkChatSpanAttributes(Not supported by this framework)
checkToolSpanAttributes(Not supported by this framework)
checkAgentHierarchy(Not supported by this framework)
Checks
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
Warnings
checkResponseModel(No chat or embedding spans captured)
No spans captured
nextjs/mastra :: Vision Agent Test 17892ms
Critical
checkAgentSpanAttributes(Not supported by this framework)
checkChatSpanAttributes(Not supported by this framework)
checkAgentHierarchy(Not supported by this framework)
Checks
checkValidTokenUsage(No AI spans captured)
checkInputMessagesSchema
Should have at least one chat or agent span
checkBinaryRedaction(Not supported by this framework)
Warnings
checkResponseModel(No chat or embedding spans captured)
No spans captured
nextjs/mastra :: Conversation ID Agent Test 4 17851ms
Critical
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
Checks
checkValidTokenUsage(No AI spans captured)
checkInputMessagesSchema
Should have at least one chat or agent span
Warnings
checkResponseModel(No chat or embedding spans captured)
No spans captured
node/langgraph :: Basic Agent Test (openai) 1 12496ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
9645c3fdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9645c3fdgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
9645c3fdgen_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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (4)
[
{
"span_id": "96b528f42a634796",
"trace_id": "677f38b975c1447b175e820b89573bd7",
"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": "44d56f136b665ea0",
"start_timestamp": 1779953449.39,
"timestamp": 1779953450.089219,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "14fc82a02f0c7d67",
"trace_id": "677f38b975c1447b175e820b89573bd7",
"op": "test",
"description": "basic-agent-test",
"start_timestamp": 1779953449.354,
"timestamp": 1779953450.1079283,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "44d56f136b665ea0",
"trace_id": "677f38b975c1447b175e820b89573bd7",
"parent_span_id": "14fc82a02f0c7d67",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953449.356,
"timestamp": 1779953450.1074996,
"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.response.finish_reasons": [
"stop"
],
"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": "9645c3fd6a9ce7fe",
"trace_id": "677f38b975c1447b175e820b89573bd7",
"parent_span_id": "44d56f136b665ea0",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953449.375,
"timestamp": 1779953450.0927925,
"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-DkPUXlTonv6Oz7PQwQyoGCKUEvkNf",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langgraph :: Basic Agent Test (anthropic) 1 1 11742ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
0f327260gen_ai.usage.input_tokensSpan 0f327260: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
0f327260gen_ai.usage.output_tokensSpan 0f327260: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
Checks
checkValidTokenUsage
2f847cdcgen_ai.usage.input_tokensinput_tokens must exist
2f847cdcgen_ai.usage.output_tokensoutput_tokens must exist
2f847cdcgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
0f327260gen_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.nameCaptured Spans (4)
[
{
"span_id": "2cc74d5b7adef081",
"trace_id": "92ef0a4f8b450c8cb98e0940f3087583",
"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": "2f847cdcf8a00dcc",
"start_timestamp": 1779953449.385,
"timestamp": 1779953449.5348709,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "eaa2df7a5fdfeaf4",
"trace_id": "92ef0a4f8b450c8cb98e0940f3087583",
"op": "test",
"description": "basic-agent-test",
"start_timestamp": 1779953449.35,
"timestamp": 1779953449.5503037,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "2f847cdcf8a00dcc",
"trace_id": "92ef0a4f8b450c8cb98e0940f3087583",
"parent_span_id": "eaa2df7a5fdfeaf4",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953449.351,
"timestamp": 1779953449.5489848,
"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": "0f327260d6ff263c",
"trace_id": "92ef0a4f8b450c8cb98e0940f3087583",
"parent_span_id": "2f847cdcf8a00dcc",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953449.371,
"timestamp": 1779953449.5382125,
"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 13990ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
709d5608gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
709d5608gen_ai.output.messagesMissing output messages attribute
927f17e5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
927f17e5gen_ai.output.messagesMissing output messages attribute
d0048b87gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d0048b87gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
Checks
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
checkInputMessagesSchema
Warnings
checkResponseModel
709d5608gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
927f17e5gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
d0048b87gen_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.definitionsgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.response.stop_reason(3 spans)gen_ai.tool.call.id(2 spans)Captured Spans (10)
[
{
"span_id": "425f6f8a2e42254a",
"trace_id": "91dc5f99ea5dd29fb01b9f97c0dadd35",
"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": "50b38fa32b3216b8",
"start_timestamp": 1779953450.575,
"timestamp": 1779953451.5832293,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "84765e5c68057f72",
"trace_id": "91dc5f99ea5dd29fb01b9f97c0dadd35",
"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": "50b38fa32b3216b8",
"start_timestamp": 1779953451.598,
"timestamp": 1779953452.1585283,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "a50fa0d3066227bf",
"trace_id": "91dc5f99ea5dd29fb01b9f97c0dadd35",
"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": "50b38fa32b3216b8",
"start_timestamp": 1779953452.168,
"timestamp": 1779953452.9107368,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "697b44dd34557fa7",
"trace_id": "91dc5f99ea5dd29fb01b9f97c0dadd35",
"op": "test",
"description": "tool-call-agent-test",
"start_timestamp": 1779953450.533,
"timestamp": 1779953452.9178848,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "50b38fa32b3216b8",
"trace_id": "91dc5f99ea5dd29fb01b9f97c0dadd35",
"parent_span_id": "697b44dd34557fa7",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent math_assistant",
"start_timestamp": 1779953450.534,
"timestamp": 1779953452.9164937,
"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_40l6XUvT3zgE3UkWcFtkLhPI\"},{\"name\":\"multiply\",\"args\":{\"a\":8,\"b\":4},\"type\":\"tool_call\",\"id\":\"call_ipcW3xGDSLUsR5hWYUflfd48\"}]",
"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.response.finish_reasons": [
"stop"
],
"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": "709d56082d2e7004",
"trace_id": "91dc5f99ea5dd29fb01b9f97c0dadd35",
"parent_span_id": "50b38fa32b3216b8",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953450.558,
"timestamp": 1779953451.5872684,
"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_40l6XUvT3zgE3UkWcFtkLhPI\"}]",
"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-DkPUYcpkavYKkQNNOuRl0Zkv1Snll",
"gen_ai.response.stop_reason": "tool_calls"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "2e324c3ad36fe886",
"trace_id": "91dc5f99ea5dd29fb01b9f97c0dadd35",
"parent_span_id": "50b38fa32b3216b8",
"op": "gen_ai.execute_tool",
"description": "execute_tool add",
"start_timestamp": 1779953451.592,
"timestamp": 1779953451.593743,
"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_40l6XUvT3zgE3UkWcFtkLhPI",
"gen_ai.tool.input": "{\"a\":3,\"b\":5}",
"gen_ai.tool.output": "8"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "927f17e503043845",
"trace_id": "91dc5f99ea5dd29fb01b9f97c0dadd35",
"parent_span_id": "50b38fa32b3216b8",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953451.597,
"timestamp": 1779953452.160088,
"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_ipcW3xGDSLUsR5hWYUflfd48\"}]",
"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-DkPUZaEMHJM7RtIiL6Sq3scItkURF",
"gen_ai.response.stop_reason": "tool_calls"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "319800f657a8b96c",
"trace_id": "91dc5f99ea5dd29fb01b9f97c0dadd35",
"parent_span_id": "50b38fa32b3216b8",
"op": "gen_ai.execute_tool",
"description": "execute_tool multiply",
"start_timestamp": 1779953452.163,
"timestamp": 1779953452.1635106,
"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_ipcW3xGDSLUsR5hWYUflfd48",
"gen_ai.tool.input": "{\"a\":8,\"b\":4}",
"gen_ai.tool.output": "32"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "d0048b87a450c460",
"trace_id": "91dc5f99ea5dd29fb01b9f97c0dadd35",
"parent_span_id": "50b38fa32b3216b8",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953452.167,
"timestamp": 1779953452.9117064,
"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-DkPUaqgATdmzAMrIeUfXnb78hTaBC",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langgraph :: Tool Call Agent Test (anthropic) 2 3 11850ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
defe37begen_ai.usage.input_tokensSpan defe37be: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
defe37begen_ai.usage.output_tokensSpan defe37be: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkToolSpanAttributes
Should have at least one tool span
checkAgentHierarchy
Checks
checkValidTokenUsage
b20f683agen_ai.usage.input_tokensinput_tokens must exist
b20f683agen_ai.usage.output_tokensoutput_tokens must exist
b20f683agen_ai.usage.total_tokenstotal_tokens must exist
checkAvailableTools
checkResponseToolCalls(add, multiply)
defe37begen_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
Warnings
checkResponseModel
defe37begen_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.definitionsgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"span_id": "cf592dc19b8f6791",
"trace_id": "76175b055d5224115d9290eda8df2150",
"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": "b20f683ac5f3a287",
"start_timestamp": 1779953450.885,
"timestamp": 1779953451.040757,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "d768e21023b58a8e",
"trace_id": "76175b055d5224115d9290eda8df2150",
"op": "test",
"description": "tool-call-agent-test",
"start_timestamp": 1779953450.829,
"timestamp": 1779953451.0573215,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "b20f683ac5f3a287",
"trace_id": "76175b055d5224115d9290eda8df2150",
"parent_span_id": "d768e21023b58a8e",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent math_assistant",
"start_timestamp": 1779953450.831,
"timestamp": 1779953451.0560093,
"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": "defe37be623152f1",
"trace_id": "76175b055d5224115d9290eda8df2150",
"parent_span_id": "b20f683ac5f3a287",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953450.864,
"timestamp": 1779953451.0452251,
"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 14165ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
fbc0d151gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
fbc0d151gen_ai.output.messagesMissing output messages attribute
e5ff8784gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e5ff8784gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
Checks
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
Warnings
checkResponseModel
fbc0d151gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
e5ff8784gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(3 spans)→ gen_ai.tool.definitionsgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.response.stop_reason(2 spans)gen_ai.tool.call.id(1 span)Captured Spans (7)
[
{
"span_id": "8b92da9ae82782a2",
"trace_id": "4bb6432fa2209efe6b70bd054e696d0e",
"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": "f977ae168aeb513d",
"start_timestamp": 1779953451.34,
"timestamp": 1779953452.4428258,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "0882db227dc163c4",
"trace_id": "4bb6432fa2209efe6b70bd054e696d0e",
"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": "f977ae168aeb513d",
"start_timestamp": 1779953452.469,
"timestamp": 1779953453.7205374,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "4aa6d51d96ef08cf",
"trace_id": "4bb6432fa2209efe6b70bd054e696d0e",
"op": "test",
"description": "tool-error-agent-test",
"start_timestamp": 1779953451.289,
"timestamp": 1779953453.7270327,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "f977ae168aeb513d",
"trace_id": "4bb6432fa2209efe6b70bd054e696d0e",
"parent_span_id": "4aa6d51d96ef08cf",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent file_assistant",
"start_timestamp": 1779953451.291,
"timestamp": 1779953453.7262592,
"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_vM7axTJVNdJX6C86Kr3JoL9D\"}]",
"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 path and try again with a valid file.\"}]",
"gen_ai.response.finish_reasons": [
"stop"
],
"gen_ai.usage.input_tokens": 205,
"gen_ai.usage.output_tokens": 46,
"gen_ai.usage.total_tokens": 251
},
"status": "ok",
"is_segment": false
},
{
"span_id": "fbc0d15101907c47",
"trace_id": "4bb6432fa2209efe6b70bd054e696d0e",
"parent_span_id": "f977ae168aeb513d",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953451.32,
"timestamp": 1779953452.4472616,
"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_vM7axTJVNdJX6C86Kr3JoL9D\"}]",
"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-DkPUZ66C9EAJEGg64pAmkMdrfmwNr",
"gen_ai.response.stop_reason": "tool_calls"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a7435816b5affb8e",
"trace_id": "4bb6432fa2209efe6b70bd054e696d0e",
"parent_span_id": "f977ae168aeb513d",
"op": "gen_ai.execute_tool",
"description": "execute_tool read_file",
"start_timestamp": 1779953452.453,
"timestamp": 1779953452.4624364,
"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_vM7axTJVNdJX6C86Kr3JoL9D",
"gen_ai.tool.input": "{\"path\":\"/nonexistent/file.txt\"}"
},
"status": "error",
"is_segment": false
},
{
"span_id": "e5ff878457636041",
"trace_id": "4bb6432fa2209efe6b70bd054e696d0e",
"parent_span_id": "f977ae168aeb513d",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953452.467,
"timestamp": 1779953453.7215412,
"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 path and try again with a valid file.\"]",
"gen_ai.usage.input_tokens": 129,
"gen_ai.usage.output_tokens": 28,
"gen_ai.usage.total_tokens": 157,
"gen_ai.response.id": "chatcmpl-DkPUaacn2ZksWSIIp73bvtQJtIY9o",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langgraph :: Tool Error Agent Test (anthropic) 2 2 11650ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
13c54a5agen_ai.usage.input_tokensSpan 13c54a5a: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
13c54a5agen_ai.usage.output_tokensSpan 13c54a5a: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkToolSpanAttributes
Should have at least one tool span
checkAgentHierarchy
Checks
checkAvailableTools
checkResponseToolCalls(read_file)
13c54a5agen_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
Warnings
checkResponseModel
13c54a5agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"span_id": "aa08f2ee4f36b556",
"trace_id": "c5516a9f2bd77d5a5e80e560f298c10f",
"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": "35ce5422950fe588",
"start_timestamp": 1779953451.613,
"timestamp": 1779953451.7626417,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "c915320e43b1cfc9",
"trace_id": "c5516a9f2bd77d5a5e80e560f298c10f",
"op": "test",
"description": "tool-error-agent-test",
"start_timestamp": 1779953451.569,
"timestamp": 1779953451.7735286,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "35ce5422950fe588",
"trace_id": "c5516a9f2bd77d5a5e80e560f298c10f",
"parent_span_id": "c915320e43b1cfc9",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent file_assistant",
"start_timestamp": 1779953451.571,
"timestamp": 1779953451.7732453,
"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": "13c54a5a73171d96",
"trace_id": "c5516a9f2bd77d5a5e80e560f298c10f",
"parent_span_id": "35ce5422950fe588",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953451.597,
"timestamp": 1779953451.7651875,
"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 12106ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
341e4931gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
341e4931gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
341e4931gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (4)
[
{
"span_id": "800e3c4dfa23b4c7",
"trace_id": "9c5927aac46e8361cbc28b27e305b1d9",
"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": "301c9978fe27248d",
"start_timestamp": 1779953452.581,
"timestamp": 1779953453.1706092,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "a1ddf67ae88c9ac5",
"trace_id": "9c5927aac46e8361cbc28b27e305b1d9",
"op": "test",
"description": "vision-agent-test",
"start_timestamp": 1779953452.531,
"timestamp": 1779953453.1810794,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "301c9978fe27248d",
"trace_id": "9c5927aac46e8361cbc28b27e305b1d9",
"parent_span_id": "a1ddf67ae88c9ac5",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent vision_assistant",
"start_timestamp": 1779953452.533,
"timestamp": 1779953453.1808457,
"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.response.finish_reasons": [
"stop"
],
"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": "341e493152dabe68",
"trace_id": "9c5927aac46e8361cbc28b27e305b1d9",
"parent_span_id": "301c9978fe27248d",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953452.562,
"timestamp": 1779953453.174144,
"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-DkPUahjHkIweCtzmCLGqL1xjP1qfa",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langgraph :: Vision Agent Test (anthropic) 1 1 11554ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
f449e9d1gen_ai.usage.input_tokensSpan f449e9d1: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
f449e9d1gen_ai.usage.output_tokensSpan f449e9d1: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
Checks
checkValidTokenUsage
f2c3bf4agen_ai.usage.input_tokensinput_tokens must exist
f2c3bf4agen_ai.usage.output_tokensoutput_tokens must exist
f2c3bf4agen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
f449e9d1gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"span_id": "d04032079179b743",
"trace_id": "df20ab46c8a5fe375c768c97fd1074d3",
"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": "f2c3bf4a842d8b55",
"start_timestamp": 1779953453.172,
"timestamp": 1779953453.3207142,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "705a64300c6684c4",
"trace_id": "df20ab46c8a5fe375c768c97fd1074d3",
"op": "test",
"description": "vision-agent-test",
"start_timestamp": 1779953453.133,
"timestamp": 1779953453.3309715,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "f2c3bf4a842d8b55",
"trace_id": "df20ab46c8a5fe375c768c97fd1074d3",
"parent_span_id": "705a64300c6684c4",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent vision_assistant",
"start_timestamp": 1779953453.135,
"timestamp": 1779953453.3308187,
"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": "f449e9d16d324203",
"trace_id": "df20ab46c8a5fe375c768c97fd1074d3",
"parent_span_id": "f2c3bf4a842d8b55",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953453.153,
"timestamp": 1779953453.3230605,
"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 126891ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
d7a395c0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d7a395c0gen_ai.output.messagesMissing output messages attribute
11510872gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
11510872gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
d7a395c0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
11510872gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(3 spans)→ gen_ai.tool.definitionsgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.response.stop_reason(2 spans)gen_ai.tool.call.id(1 span)Captured Spans (7)
[
{
"span_id": "83fcf848ff64b85e",
"trace_id": "f2e44d8db26e0279ba3025f5697de0c2",
"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": "19686ebf707da0a3",
"start_timestamp": 1779953454.633,
"timestamp": 1779953478.7240558,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "e2f01b6db04e7923",
"trace_id": "f2e44d8db26e0279ba3025f5697de0c2",
"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": "19686ebf707da0a3",
"start_timestamp": 1779953478.764,
"timestamp": 1779953479.781884,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "484cb2537c0d265c",
"trace_id": "f2e44d8db26e0279ba3025f5697de0c2",
"op": "test",
"description": "long-input-agent-test",
"start_timestamp": 1779953454.571,
"timestamp": 1779953479.7903748,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "19686ebf707da0a3",
"trace_id": "f2e44d8db26e0279ba3025f5697de0c2",
"parent_span_id": "484cb2537c0d265c",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent summarizer_assistant",
"start_timestamp": 1779953454.574,
"timestamp": 1779953479.7896955,
"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.\"},\"type\":\"tool_call\",\"id\":\"call_cV6pzPWep2d6yDHS0owMi5fn\"}]",
"gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"\"},{\"role\":\"tool\",\"content\":\"2400\"},{\"role\":\"assistant\",\"content\":\"The text consists of multiple repetitions of a single test message, emphasizing the creation of a long input.\"}]",
"gen_ai.response.finish_reasons": [
"stop"
],
"gen_ai.usage.input_tokens": 12046,
"gen_ai.usage.output_tokens": 1097,
"gen_ai.usage.total_tokens": 13143
},
"status": "ok",
"is_segment": false
},
{
"span_id": "d7a395c019ee1713",
"trace_id": "f2e44d8db26e0279ba3025f5697de0c2",
"parent_span_id": "19686ebf707da0a3",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953454.612,
"timestamp": 1779953478.7363338,
"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.\"},\"type\":\"tool_call\",\"id\":\"call_cV6pzPWep2d6yDHS0owMi5fn\"}]",
"gen_ai.response.text": "[\"\"]",
"gen_ai.usage.input_tokens": 5477,
"gen_ai.usage.output_tokens": 1076,
"gen_ai.usage.total_tokens": 6553,
"gen_ai.response.id": "chatcmpl-DkPUcr2Pjd2nq0d0BRk1cRex4561T",
"gen_ai.response.stop_reason": "tool_calls"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "1952314f1d79be33",
"trace_id": "f2e44d8db26e0279ba3025f5697de0c2",
"parent_span_id": "19686ebf707da0a3",
"op": "gen_ai.execute_tool",
"description": "execute_tool get_word_count",
"start_timestamp": 1779953478.746,
"timestamp": 1779953478.7543516,
"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_cV6pzPWep2d6yDHS0owMi5fn",
"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.\"}",
"gen_ai.tool.output": "2400"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "11510872c9c6dfdb",
"trace_id": "f2e44d8db26e0279ba3025f5697de0c2",
"parent_span_id": "19686ebf707da0a3",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953478.761,
"timestamp": 1779953479.7835069,
"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 multiple repetitions of a single test message, emphasizing the creation of a long input.\"]",
"gen_ai.usage.input_tokens": 6569,
"gen_ai.usage.output_tokens": 21,
"gen_ai.usage.total_tokens": 6590,
"gen_ai.response.id": "chatcmpl-DkPV0ryCQmvYATXGsvWUxsc5ihMs8",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langgraph :: Long Input Agent Test (anthropic) 1 11949ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
6f9e5eafgen_ai.usage.input_tokensSpan 6f9e5eaf: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
6f9e5eafgen_ai.usage.output_tokensSpan 6f9e5eaf: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
6f9e5eafgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"span_id": "8e0613a90b5fb486",
"trace_id": "8d52a99f76d494184e9a0f6ab17ded12",
"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": "d9d66352f548d5d6",
"start_timestamp": 1779953454.916,
"timestamp": 1779953455.09375,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "b551c3d0f7cc75f3",
"trace_id": "8d52a99f76d494184e9a0f6ab17ded12",
"op": "test",
"description": "long-input-agent-test",
"start_timestamp": 1779953454.856,
"timestamp": 1779953455.1112826,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "d9d66352f548d5d6",
"trace_id": "8d52a99f76d494184e9a0f6ab17ded12",
"parent_span_id": "b551c3d0f7cc75f3",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent summarizer_assistant",
"start_timestamp": 1779953454.858,
"timestamp": 1779953455.110557,
"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": "6f9e5eaf8e8e7058",
"trace_id": "8d52a99f76d494184e9a0f6ab17ded12",
"parent_span_id": "d9d66352f548d5d6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953454.894,
"timestamp": 1779953455.0990994,
"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 16727ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
b103eb3agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b103eb3agen_ai.output.messagesMissing output messages attribute
f1cb3848gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
f1cb3848gen_ai.output.messagesMissing output messages attribute
00217ba3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
00217ba3gen_ai.output.messagesMissing output messages attribute
6f914631gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
6f914631gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
b103eb3agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
f1cb3848gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
00217ba3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
6f914631gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(8 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(4 spans)Captured Spans (13)
[
{
"span_id": "b6b961c30395f2ea",
"trace_id": "68842f1101020a5cbe94fbae4e9575e2",
"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": "a90ee86fa8008637",
"start_timestamp": 1779953455.358,
"timestamp": 1779953456.3193245,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "d142852da86d20e5",
"trace_id": "68842f1101020a5cbe94fbae4e9575e2",
"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": "f809ae0102c5a5ec",
"start_timestamp": 1779953456.334,
"timestamp": 1779953457.787911,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "94d1a486b1de24bb",
"trace_id": "68842f1101020a5cbe94fbae4e9575e2",
"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": "7ce4311adf2ec737",
"start_timestamp": 1779953457.801,
"timestamp": 1779953459.3326097,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "8d4516a2e0f07a14",
"trace_id": "68842f1101020a5cbe94fbae4e9575e2",
"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": "144d0c08707f7374",
"start_timestamp": 1779953459.339,
"timestamp": 1779953460.0595284,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "a7a7252d47d9d9c2",
"trace_id": "68842f1101020a5cbe94fbae4e9575e2",
"op": "test",
"description": "conversation-id-agent-test",
"start_timestamp": 1779953455.312,
"timestamp": 1779953460.0640488,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "a90ee86fa8008637",
"trace_id": "68842f1101020a5cbe94fbae4e9575e2",
"parent_span_id": "a7a7252d47d9d9c2",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953455.313,
"timestamp": 1779953456.327744,
"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.response.finish_reasons": [
"stop"
],
"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": "b103eb3a2e2a1636",
"trace_id": "68842f1101020a5cbe94fbae4e9575e2",
"parent_span_id": "a90ee86fa8008637",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953455.337,
"timestamp": 1779953456.3224769,
"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-DkPUdgiDt18FYwpHETnnmjaTSi07T",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "f809ae0102c5a5ec",
"trace_id": "68842f1101020a5cbe94fbae4e9575e2",
"parent_span_id": "a7a7252d47d9d9c2",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953456.329,
"timestamp": 1779953457.7926762,
"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.response.finish_reasons": [
"stop"
],
"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": "f1cb3848b099e92c",
"trace_id": "68842f1101020a5cbe94fbae4e9575e2",
"parent_span_id": "f809ae0102c5a5ec",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953456.333,
"timestamp": 1779953457.7894773,
"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-DkPUessay80mu5b3JluVflKCOqnvI",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "7ce4311adf2ec737",
"trace_id": "68842f1101020a5cbe94fbae4e9575e2",
"parent_span_id": "a7a7252d47d9d9c2",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953457.793,
"timestamp": 1779953459.3350096,
"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 provide more context or specify what aspects of Germany you are interested in? There are many topics to consider, including its history, culture, economy, geography, politics, or current events. Let me know how I can assist you!\"}]",
"gen_ai.response.finish_reasons": [
"stop"
],
"gen_ai.usage.input_tokens": 11,
"gen_ai.usage.output_tokens": 49,
"gen_ai.usage.total_tokens": 60
},
"status": "ok",
"is_segment": false
},
{
"span_id": "00217ba32aa7ec48",
"trace_id": "68842f1101020a5cbe94fbae4e9575e2",
"parent_span_id": "7ce4311adf2ec737",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953457.799,
"timestamp": 1779953459.333004,
"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 provide more context or specify what aspects of Germany you are interested in? There are many topics to consider, including its history, culture, economy, geography, politics, or current events. Let me know how I can assist you!\"]",
"gen_ai.usage.input_tokens": 11,
"gen_ai.usage.output_tokens": 49,
"gen_ai.usage.total_tokens": 60,
"gen_ai.response.id": "chatcmpl-DkPUfN0zrN22wRb4tJBwhEdTt36KK",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "144d0c08707f7374",
"trace_id": "68842f1101020a5cbe94fbae4e9575e2",
"parent_span_id": "a7a7252d47d9d9c2",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953459.335,
"timestamp": 1779953460.0629525,
"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.response.finish_reasons": [
"stop"
],
"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": "6f914631bb670da7",
"trace_id": "68842f1101020a5cbe94fbae4e9575e2",
"parent_span_id": "144d0c08707f7374",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953459.339,
"timestamp": 1779953460.0611763,
"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-DkPUhHnBUDVej7pFivdbVecbHquH0",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langgraph :: Conversation ID Agent Test (anthropic) 1 1 12249ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
e916f50agen_ai.usage.input_tokensSpan e916f50a: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
e916f50agen_ai.usage.output_tokensSpan e916f50a: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
600b9b80gen_ai.usage.input_tokensSpan 600b9b80: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
600b9b80gen_ai.usage.output_tokensSpan 600b9b80: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
935aab55gen_ai.usage.input_tokensSpan 935aab55: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
935aab55gen_ai.usage.output_tokensSpan 935aab55: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9abb3470gen_ai.usage.input_tokensSpan 9abb3470: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9abb3470gen_ai.usage.output_tokensSpan 9abb3470: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
ed3264d9gen_ai.usage.input_tokensinput_tokens must exist
ed3264d9gen_ai.usage.output_tokensoutput_tokens must exist
ed3264d9gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
e916f50agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
600b9b80gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
935aab55gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9abb3470gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"span_id": "7a89d2f1978dcd87",
"trace_id": "dc52d5d2d146253a57f216b5fa63c0f9",
"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": "ed3264d935ebab18",
"start_timestamp": 1779953455.485,
"timestamp": 1779953455.6362638,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "e5160024de8ae438",
"trace_id": "dc52d5d2d146253a57f216b5fa63c0f9",
"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": "9787282bb1c35d24",
"start_timestamp": 1779953455.653,
"timestamp": 1779953455.7561276,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "fc298783d4a5de57",
"trace_id": "dc52d5d2d146253a57f216b5fa63c0f9",
"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": "d8472e70a0be14a4",
"start_timestamp": 1779953455.765,
"timestamp": 1779953455.8695843,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "eedc96590363a4a9",
"trace_id": "dc52d5d2d146253a57f216b5fa63c0f9",
"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": "b242332d0ee6dffe",
"start_timestamp": 1779953455.877,
"timestamp": 1779953455.9769328,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "a555286d901674f2",
"trace_id": "dc52d5d2d146253a57f216b5fa63c0f9",
"op": "test",
"description": "conversation-id-agent-test",
"start_timestamp": 1779953455.441,
"timestamp": 1779953455.979679,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "ed3264d935ebab18",
"trace_id": "dc52d5d2d146253a57f216b5fa63c0f9",
"parent_span_id": "a555286d901674f2",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953455.444,
"timestamp": 1779953455.6473439,
"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": "e916f50adbe626d6",
"trace_id": "dc52d5d2d146253a57f216b5fa63c0f9",
"parent_span_id": "ed3264d935ebab18",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953455.471,
"timestamp": 1779953455.6399364,
"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": "9787282bb1c35d24",
"trace_id": "dc52d5d2d146253a57f216b5fa63c0f9",
"parent_span_id": "a555286d901674f2",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953455.648,
"timestamp": 1779953455.7598386,
"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": "600b9b8088b5b9f2",
"trace_id": "dc52d5d2d146253a57f216b5fa63c0f9",
"parent_span_id": "9787282bb1c35d24",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953455.652,
"timestamp": 1779953455.7573125,
"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": "d8472e70a0be14a4",
"trace_id": "dc52d5d2d146253a57f216b5fa63c0f9",
"parent_span_id": "a555286d901674f2",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953455.76,
"timestamp": 1779953455.872404,
"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": "935aab5551231eb6",
"trace_id": "dc52d5d2d146253a57f216b5fa63c0f9",
"parent_span_id": "d8472e70a0be14a4",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953455.764,
"timestamp": 1779953455.8701115,
"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": "b242332d0ee6dffe",
"trace_id": "dc52d5d2d146253a57f216b5fa63c0f9",
"parent_span_id": "a555286d901674f2",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953455.873,
"timestamp": 1779953455.980005,
"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": "9abb3470dabc11d8",
"trace_id": "dc52d5d2d146253a57f216b5fa63c0f9",
"parent_span_id": "b242332d0ee6dffe",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953455.876,
"timestamp": 1779953455.9774146,
"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 18391ms
Critical
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
Checks
checkValidTokenUsage(No AI spans captured)
checkInputMessagesSchema
Should have at least one chat or agent span
Warnings
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 48216ms
Critical
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
Checks
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
Warnings
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 48172ms
Critical
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
Checks
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
Warnings
checkResponseModel(No chat or embedding spans captured)
No spans captured
node/mastra :: Vision Agent Test 3 28058ms
Critical
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
Checks
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
Warnings
checkResponseModel(No chat or embedding spans captured)
No spans captured
node/mastra :: Long Input Agent Test 3 17735ms
Critical
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
Checks
checkInputMessagesSchema
Should have at least one chat or agent span
Warnings
checkResponseModel(No chat or embedding spans captured)
No spans captured
node/mastra :: Conversation ID Agent Test 4 17796ms
Critical
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
Checks
checkValidTokenUsage(No AI spans captured)
checkInputMessagesSchema
Should have at least one chat or agent span
Warnings
checkResponseModel(No chat or embedding spans captured)
No spans captured
python/langgraph :: Basic Agent Test (sync, openai) 25234ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
8b9a75a9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8b9a75a9gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
8b9a75a9gen_ai.agent.nameChild span (gen_ai.chat, id: 8b9a75a9) should have gen_ai.agent.name attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "d83ab4dd8d734910a64d0112a9a5fc6e",
"span_id": "a71df9a08239228f",
"parent_span_id": "8b9a75a912354469",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:33.843960Z",
"timestamp": "2026-05-28T07:31:33.846436Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12005
},
"data": {
"thread.id": "140651732630400",
"thread.name": "MainThread"
}
},
{
"trace_id": "d83ab4dd8d734910a64d0112a9a5fc6e",
"span_id": "93405b3b437e2d20",
"parent_span_id": "8b9a75a912354469",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:33.846518Z",
"timestamp": "2026-05-28T07:31:33.846667Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12005
},
"data": {
"thread.id": "140651732630400",
"thread.name": "MainThread"
}
},
{
"trace_id": "d83ab4dd8d734910a64d0112a9a5fc6e",
"span_id": "9c4d50c55e2eee0c",
"parent_span_id": "93405b3b437e2d20",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:33.846604Z",
"timestamp": "2026-05-28T07:31:33.846658Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12005
},
"data": {
"thread.id": "140651732630400",
"thread.name": "MainThread"
}
},
{
"trace_id": "d83ab4dd8d734910a64d0112a9a5fc6e",
"span_id": "85824250899e39b8",
"parent_span_id": "8b9a75a912354469",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:33.846703Z",
"timestamp": "2026-05-28T07:31:33.846717Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12005
},
"data": {
"thread.id": "140651732630400",
"thread.name": "MainThread"
}
},
{
"trace_id": "d83ab4dd8d734910a64d0112a9a5fc6e",
"span_id": "a26a94d2d93df69a",
"parent_span_id": "8b9a75a912354469",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:33.847965Z",
"timestamp": "2026-05-28T07:31:34.396999Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140651732630400",
"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": "86b1c129e53c8699",
"trace_id": "d83ab4dd8d734910a64d0112a9a5fc6e",
"parent_span_id": null,
"op": "test",
"description": "Basic Agent Test",
"start_timestamp": "2026-05-28T07:31:33.831886Z",
"timestamp": "2026-05-28T07:31:34.404092Z",
"data": {
"thread.id": "140651732630400",
"thread.name": "MainThread"
}
},
{
"span_id": "9fa8585bb4dfb6f1",
"trace_id": "d83ab4dd8d734910a64d0112a9a5fc6e",
"parent_span_id": "86b1c129e53c8699",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953493.832856,
"timestamp": 1779953494.404054,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140651732630400",
"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": "86b1c129e53c8699",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8b9a75a912354469",
"trace_id": "d83ab4dd8d734910a64d0112a9a5fc6e",
"parent_span_id": "9fa8585bb4dfb6f1",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953493.838789,
"timestamp": 1779953494.40348,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140651732630400",
"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": "86b1c129e53c8699",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langgraph :: Basic Agent Test (sync, anthropic) 2 15801ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
b133745egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b133745egen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
b133745egen_ai.agent.nameChild span (gen_ai.chat, id: b133745e) should have gen_ai.agent.name attribute
Checks
checkValidTokenUsage
9f38b7e1gen_ai.usage.input_tokensinput_tokens must exist
9f38b7e1gen_ai.usage.output_tokensoutput_tokens must exist
9f38b7e1gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "86212d7eac114335a99f5e364f5e907d",
"span_id": "94b7e0c8d4859331",
"parent_span_id": "b133745effccb1cd",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:34.230279Z",
"timestamp": "2026-05-28T07:31:34.231276Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12010
},
"data": {
"thread.id": "139654954523520",
"thread.name": "MainThread"
}
},
{
"trace_id": "86212d7eac114335a99f5e364f5e907d",
"span_id": "bd4918729456a6f4",
"parent_span_id": "b133745effccb1cd",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:34.231338Z",
"timestamp": "2026-05-28T07:31:34.231869Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12010
},
"data": {
"thread.id": "139654954523520",
"thread.name": "MainThread"
}
},
{
"trace_id": "86212d7eac114335a99f5e364f5e907d",
"span_id": "835833e5a917d4e3",
"parent_span_id": "bd4918729456a6f4",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:34.231822Z",
"timestamp": "2026-05-28T07:31:34.231862Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12010
},
"data": {
"thread.id": "139654954523520",
"thread.name": "MainThread"
}
},
{
"trace_id": "86212d7eac114335a99f5e364f5e907d",
"span_id": "a63cc9e1e2788ee9",
"parent_span_id": "b133745effccb1cd",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:34.231890Z",
"timestamp": "2026-05-28T07:31:34.231898Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12010
},
"data": {
"thread.id": "139654954523520",
"thread.name": "MainThread"
}
},
{
"trace_id": "86212d7eac114335a99f5e364f5e907d",
"span_id": "b9fd65091bf227f8",
"parent_span_id": "b133745effccb1cd",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:34.232747Z",
"timestamp": "2026-05-28T07:31:34.863392Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139654954523520",
"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": "9782f055b89b6d3b",
"trace_id": "86212d7eac114335a99f5e364f5e907d",
"parent_span_id": null,
"op": "test",
"description": "Basic Agent Test",
"start_timestamp": "2026-05-28T07:31:34.208036Z",
"timestamp": "2026-05-28T07:31:34.912147Z",
"data": {
"thread.id": "139654954523520",
"thread.name": "MainThread"
}
},
{
"span_id": "9f38b7e107ef9109",
"trace_id": "86212d7eac114335a99f5e364f5e907d",
"parent_span_id": "9782f055b89b6d3b",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953494.208552,
"timestamp": 1779953494.91207,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139654954523520",
"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": "9782f055b89b6d3b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b133745effccb1cd",
"trace_id": "86212d7eac114335a99f5e364f5e907d",
"parent_span_id": "9f38b7e107ef9109",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953494.210932,
"timestamp": 1779953494.911041,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139654954523520",
"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": "9782f055b89b6d3b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langgraph :: Basic Agent Test (async, openai) 25384ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
89b32a58gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
89b32a58gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
89b32a58gen_ai.agent.nameChild span (gen_ai.chat, id: 89b32a58) should have gen_ai.agent.name attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "8f7e05b2e98f4ce8a905ba69e8c185b9",
"span_id": "8b3b3ab69f319317",
"parent_span_id": "89b32a5803d3c87b",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:34.164412Z",
"timestamp": "2026-05-28T07:31:34.165433Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12008
},
"data": {
"thread.id": "140320195335872",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8f7e05b2e98f4ce8a905ba69e8c185b9",
"span_id": "bd25f5d53c5d7e75",
"parent_span_id": "89b32a5803d3c87b",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:34.165513Z",
"timestamp": "2026-05-28T07:31:34.166134Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12008
},
"data": {
"thread.id": "140320195335872",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8f7e05b2e98f4ce8a905ba69e8c185b9",
"span_id": "b7d6e8680c8f860b",
"parent_span_id": "bd25f5d53c5d7e75",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:34.166078Z",
"timestamp": "2026-05-28T07:31:34.166121Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12008
},
"data": {
"thread.id": "140320195335872",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8f7e05b2e98f4ce8a905ba69e8c185b9",
"span_id": "bba5119896a6232c",
"parent_span_id": "89b32a5803d3c87b",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:34.166161Z",
"timestamp": "2026-05-28T07:31:34.166172Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12008
},
"data": {
"thread.id": "140320195335872",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8f7e05b2e98f4ce8a905ba69e8c185b9",
"span_id": "8d89ddf7fc5de206",
"parent_span_id": "89b32a5803d3c87b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:34.167197Z",
"timestamp": "2026-05-28T07:31:34.617879Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140320311532416",
"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": "89e165d93cc535b1",
"trace_id": "8f7e05b2e98f4ce8a905ba69e8c185b9",
"parent_span_id": null,
"op": "test",
"description": "Basic Agent Test",
"start_timestamp": "2026-05-28T07:31:34.156924Z",
"timestamp": "2026-05-28T07:31:34.632167Z",
"data": {
"thread.id": "140320311532416",
"thread.name": "MainThread"
}
},
{
"span_id": "9c0f8e4795013403",
"trace_id": "8f7e05b2e98f4ce8a905ba69e8c185b9",
"parent_span_id": "89e165d93cc535b1",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953494.157687,
"timestamp": 1779953494.631194,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140320311532416",
"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": "89e165d93cc535b1",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "89b32a5803d3c87b",
"trace_id": "8f7e05b2e98f4ce8a905ba69e8c185b9",
"parent_span_id": "9c0f8e4795013403",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953494.16129,
"timestamp": 1779953494.629545,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140320195335872",
"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": "89e165d93cc535b1",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langgraph :: Basic Agent Test (async, anthropic) 2 14369ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
aeb7c21bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aeb7c21bgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
aeb7c21bgen_ai.agent.nameChild span (gen_ai.chat, id: aeb7c21b) should have gen_ai.agent.name attribute
Checks
checkValidTokenUsage
a77b769cgen_ai.usage.input_tokensinput_tokens must exist
a77b769cgen_ai.usage.output_tokensoutput_tokens must exist
a77b769cgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "472eede3f79c4eb1a51a4e8c9f75b4c0",
"span_id": "b0ad142e0c97285e",
"parent_span_id": "aeb7c21bf8566767",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:37.186831Z",
"timestamp": "2026-05-28T07:31:37.188713Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12027
},
"data": {
"thread.id": "140221823841984",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "472eede3f79c4eb1a51a4e8c9f75b4c0",
"span_id": "8bb410216770a45f",
"parent_span_id": "aeb7c21bf8566767",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:37.188809Z",
"timestamp": "2026-05-28T07:31:37.189170Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12027
},
"data": {
"thread.id": "140221823841984",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "472eede3f79c4eb1a51a4e8c9f75b4c0",
"span_id": "bb3a613a538dc9c9",
"parent_span_id": "8bb410216770a45f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:37.188987Z",
"timestamp": "2026-05-28T07:31:37.189158Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12027
},
"data": {
"thread.id": "140221823841984",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "472eede3f79c4eb1a51a4e8c9f75b4c0",
"span_id": "91560fde9f399ed2",
"parent_span_id": "aeb7c21bf8566767",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:37.189210Z",
"timestamp": "2026-05-28T07:31:37.189226Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12027
},
"data": {
"thread.id": "140221823841984",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "472eede3f79c4eb1a51a4e8c9f75b4c0",
"span_id": "a3c333f3f4543f59",
"parent_span_id": "aeb7c21bf8566767",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:37.191143Z",
"timestamp": "2026-05-28T07:31:37.760894Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140222017444736",
"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": "b42bae6392898c3b",
"trace_id": "472eede3f79c4eb1a51a4e8c9f75b4c0",
"parent_span_id": null,
"op": "test",
"description": "Basic Agent Test",
"start_timestamp": "2026-05-28T07:31:37.139152Z",
"timestamp": "2026-05-28T07:31:37.849191Z",
"data": {
"thread.id": "140222017444736",
"thread.name": "MainThread"
}
},
{
"span_id": "a77b769cbbf8985c",
"trace_id": "472eede3f79c4eb1a51a4e8c9f75b4c0",
"parent_span_id": "b42bae6392898c3b",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953497.140164,
"timestamp": 1779953497.847413,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140222017444736",
"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": "b42bae6392898c3b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "aeb7c21bf8566767",
"trace_id": "472eede3f79c4eb1a51a4e8c9f75b4c0",
"parent_span_id": "a77b769cbbf8985c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953497.145481,
"timestamp": 1779953497.845765,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140221823841984",
"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": "b42bae6392898c3b",
"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 15683ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
ac24323egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac24323egen_ai.output.messagesMissing output messages attribute
a3d097acgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a3d097acgen_ai.output.messagesMissing output messages attribute
b075be6egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b075be6egen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
ac24323egen_ai.agent.nameChild span (gen_ai.chat, id: ac24323e) should have gen_ai.agent.name attribute
8453cdebgen_ai.agent.nameChild span (gen_ai.execute_tool, id: 8453cdeb) should have gen_ai.agent.name attribute
a3d097acgen_ai.agent.nameChild span (gen_ai.chat, id: a3d097ac) should have gen_ai.agent.name attribute
bd9976d5gen_ai.agent.nameChild span (gen_ai.execute_tool, id: bd9976d5) should have gen_ai.agent.name attribute
b075be6egen_ai.agent.nameChild span (gen_ai.chat, id: b075be6e) should have gen_ai.agent.name attribute
Checks
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
8453cdebgen_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_x8fcWvyweRSYvTBhYPIv2tDe","artifact":"None","status":"success"}
bd9976d5gen_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_bZ9NTkjpMjKreMScI5k5VvKO","artifact":"None","status":"success"}
checkInputMessagesSchema
Warnings
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.definitionsgen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultCaptured Spans (14)
[
{
"trace_id": "90690e277e9249659fbcc5131a7b9db9",
"span_id": "a58f963671f7eac4",
"parent_span_id": "ac24323ec86b1067",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:37.941984Z",
"timestamp": "2026-05-28T07:31:37.943297Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12035
},
"data": {
"thread.id": "140196073917312",
"thread.name": "MainThread"
}
},
{
"trace_id": "90690e277e9249659fbcc5131a7b9db9",
"span_id": "83fc65016805b91e",
"parent_span_id": "ac24323ec86b1067",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:37.943382Z",
"timestamp": "2026-05-28T07:31:37.946090Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12035
},
"data": {
"thread.id": "140196073917312",
"thread.name": "MainThread"
}
},
{
"trace_id": "90690e277e9249659fbcc5131a7b9db9",
"span_id": "8c9f6da80e69b5af",
"parent_span_id": "83fc65016805b91e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:37.946037Z",
"timestamp": "2026-05-28T07:31:37.946079Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12035
},
"data": {
"thread.id": "140196073917312",
"thread.name": "MainThread"
}
},
{
"trace_id": "90690e277e9249659fbcc5131a7b9db9",
"span_id": "81b9a14478c40a14",
"parent_span_id": "ac24323ec86b1067",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:37.946125Z",
"timestamp": "2026-05-28T07:31:37.946140Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12035
},
"data": {
"thread.id": "140196073917312",
"thread.name": "MainThread"
}
},
{
"trace_id": "90690e277e9249659fbcc5131a7b9db9",
"span_id": "af11bd0bfeea2e22",
"parent_span_id": "ac24323ec86b1067",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:37.947476Z",
"timestamp": "2026-05-28T07:31:38.753171Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140196073917312",
"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": "90690e277e9249659fbcc5131a7b9db9",
"span_id": "b2eb0770d6fcd2ee",
"parent_span_id": "a3d097ac7de5c65b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:38.793241Z",
"timestamp": "2026-05-28T07:31:39.396041Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140196073917312",
"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": "90690e277e9249659fbcc5131a7b9db9",
"span_id": "962348c1b577de88",
"parent_span_id": "b075be6eb4cc248d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:39.405600Z",
"timestamp": "2026-05-28T07:31:40.014952Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140196073917312",
"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": "944dc9ab46461525",
"trace_id": "90690e277e9249659fbcc5131a7b9db9",
"parent_span_id": null,
"op": "test",
"description": "Tool Call Agent Test",
"start_timestamp": "2026-05-28T07:31:37.919589Z",
"timestamp": "2026-05-28T07:31:40.016928Z",
"data": {
"thread.id": "140196073917312",
"thread.name": "MainThread"
}
},
{
"span_id": "87c3548f4b31fd94",
"trace_id": "90690e277e9249659fbcc5131a7b9db9",
"parent_span_id": "944dc9ab46461525",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent math_assistant",
"start_timestamp": 1779953497.922902,
"timestamp": 1779953500.01686,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140196073917312",
"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_x8fcWvyweRSYvTBhYPIv2tDe\", \"type\": \"tool_call\"}, {\"name\": \"multiply\", \"args\": {\"a\": 8, \"b\": 4}, \"id\": \"call_bZ9NTkjpMjKreMScI5k5VvKO\", \"type\": \"tool_call\"}]",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "944dc9ab46461525",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ac24323ec86b1067",
"trace_id": "90690e277e9249659fbcc5131a7b9db9",
"parent_span_id": "87c3548f4b31fd94",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953497.931,
"timestamp": 1779953498.778259,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140196073917312",
"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_x8fcWvyweRSYvTBhYPIv2tDe\", \"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": "944dc9ab46461525",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8453cdeba454736f",
"trace_id": "90690e277e9249659fbcc5131a7b9db9",
"parent_span_id": "87c3548f4b31fd94",
"op": "gen_ai.execute_tool",
"description": "execute_tool add",
"start_timestamp": 1779953498.784181,
"timestamp": 1779953498.784837,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140195959002816",
"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_x8fcWvyweRSYvTBhYPIv2tDe\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "944dc9ab46461525",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a3d097ac7de5c65b",
"trace_id": "90690e277e9249659fbcc5131a7b9db9",
"parent_span_id": "87c3548f4b31fd94",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953498.787103,
"timestamp": 1779953499.397478,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140196073917312",
"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_bZ9NTkjpMjKreMScI5k5VvKO\", \"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": "944dc9ab46461525",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bd9976d5a39bd1a8",
"trace_id": "90690e277e9249659fbcc5131a7b9db9",
"parent_span_id": "87c3548f4b31fd94",
"op": "gen_ai.execute_tool",
"description": "execute_tool multiply",
"start_timestamp": 1779953499.399302,
"timestamp": 1779953499.399921,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140195959002816",
"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_bZ9NTkjpMjKreMScI5k5VvKO\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "944dc9ab46461525",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b075be6eb4cc248d",
"trace_id": "90690e277e9249659fbcc5131a7b9db9",
"parent_span_id": "87c3548f4b31fd94",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953499.401739,
"timestamp": 1779953500.01599,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140196073917312",
"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": "944dc9ab46461525",
"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 28861ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
9ff14e2agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9ff14e2agen_ai.output.messagesMissing output messages attribute
bfe7a3edgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bfe7a3edgen_ai.output.messagesMissing output messages attribute
90bf6a14gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
90bf6a14gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
9ff14e2agen_ai.agent.nameChild span (gen_ai.chat, id: 9ff14e2a) should have gen_ai.agent.name attribute
b3a7a232gen_ai.agent.nameChild span (gen_ai.execute_tool, id: b3a7a232) should have gen_ai.agent.name attribute
bfe7a3edgen_ai.agent.nameChild span (gen_ai.chat, id: bfe7a3ed) should have gen_ai.agent.name attribute
8155d66agen_ai.agent.nameChild span (gen_ai.execute_tool, id: 8155d66a) should have gen_ai.agent.name attribute
90bf6a14gen_ai.agent.nameChild span (gen_ai.chat, id: 90bf6a14) should have gen_ai.agent.name attribute
Checks
checkValidTokenUsage
95f84939gen_ai.usage.input_tokensinput_tokens must exist
95f84939gen_ai.usage.output_tokensoutput_tokens must exist
95f84939gen_ai.usage.total_tokenstotal_tokens must exist
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
b3a7a232gen_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_019CdwqwDbEmdJnHLx4GwGba","artifact":"None","status":"success"}
8155d66agen_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_01AFB893fY4TfooxTp8EFJdX","artifact":"None","status":"success"}
checkInputMessagesSchema
Warnings
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.definitionsgen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultCaptured Spans (14)
[
{
"trace_id": "14946d88a81c41b2a83530f345f8400b",
"span_id": "8b5a61830e8f3323",
"parent_span_id": "9ff14e2a1176fd13",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:38.788705Z",
"timestamp": "2026-05-28T07:31:38.790870Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12040
},
"data": {
"thread.id": "140010916223872",
"thread.name": "MainThread"
}
},
{
"trace_id": "14946d88a81c41b2a83530f345f8400b",
"span_id": "b2018e27c62aa4db",
"parent_span_id": "9ff14e2a1176fd13",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:38.790964Z",
"timestamp": "2026-05-28T07:31:38.791096Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12040
},
"data": {
"thread.id": "140010916223872",
"thread.name": "MainThread"
}
},
{
"trace_id": "14946d88a81c41b2a83530f345f8400b",
"span_id": "81bbea640cd66042",
"parent_span_id": "b2018e27c62aa4db",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:38.791053Z",
"timestamp": "2026-05-28T07:31:38.791089Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12040
},
"data": {
"thread.id": "140010916223872",
"thread.name": "MainThread"
}
},
{
"trace_id": "14946d88a81c41b2a83530f345f8400b",
"span_id": "9aa38a70158adad3",
"parent_span_id": "9ff14e2a1176fd13",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:38.791128Z",
"timestamp": "2026-05-28T07:31:38.791142Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12040
},
"data": {
"thread.id": "140010916223872",
"thread.name": "MainThread"
}
},
{
"trace_id": "14946d88a81c41b2a83530f345f8400b",
"span_id": "86be3cd509b8b348",
"parent_span_id": "9ff14e2a1176fd13",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:38.792565Z",
"timestamp": "2026-05-28T07:31:40.071101Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140010916223872",
"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": "14946d88a81c41b2a83530f345f8400b",
"span_id": "988af5c038fcb0aa",
"parent_span_id": "bfe7a3ed7a045b95",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:40.128695Z",
"timestamp": "2026-05-28T07:31:40.996748Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140010916223872",
"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": "14946d88a81c41b2a83530f345f8400b",
"span_id": "877f3604e3d34f65",
"parent_span_id": "90bf6a14a16bec81",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:41.012443Z",
"timestamp": "2026-05-28T07:31:43.265848Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140010916223872",
"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": "a604e9f1854537c4",
"trace_id": "14946d88a81c41b2a83530f345f8400b",
"parent_span_id": null,
"op": "test",
"description": "Tool Call Agent Test",
"start_timestamp": "2026-05-28T07:31:38.738672Z",
"timestamp": "2026-05-28T07:31:43.271003Z",
"data": {
"thread.id": "140010916223872",
"thread.name": "MainThread"
}
},
{
"span_id": "95f8493921588bb2",
"trace_id": "14946d88a81c41b2a83530f345f8400b",
"parent_span_id": "a604e9f1854537c4",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent math_assistant",
"start_timestamp": 1779953498.739295,
"timestamp": 1779953503.270934,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140010916223872",
"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 break it down:\n- First: 3 + 5 = 8\n- Then: 8 * 4 = 32",
"gen_ai.response.tool_calls": "[{\"name\": \"add\", \"args\": {\"a\": 3, \"b\": 5}, \"id\": \"toolu_019CdwqwDbEmdJnHLx4GwGba\", \"type\": \"tool_call\"}, {\"name\": \"multiply\", \"args\": {\"a\": 8, \"b\": 4}, \"id\": \"toolu_01AFB893fY4TfooxTp8EFJdX\", \"type\": \"tool_call\"}]",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "a604e9f1854537c4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9ff14e2a1176fd13",
"trace_id": "14946d88a81c41b2a83530f345f8400b",
"parent_span_id": "95f8493921588bb2",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953498.742949,
"timestamp": 1779953500.114012,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140010916223872",
"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_019CdwqwDbEmdJnHLx4GwGba\", \"type\": \"tool_call\"}]",
"gen_ai.response.text": "I'll help you calculate (3 + 5) * 4. Let me start by adding 3 and 5.",
"gen_ai.usage.input_tokens": 649,
"gen_ai.usage.output_tokens": 97,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "a604e9f1854537c4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b3a7a232bdbdab0c",
"trace_id": "14946d88a81c41b2a83530f345f8400b",
"parent_span_id": "95f8493921588bb2",
"op": "gen_ai.execute_tool",
"description": "execute_tool add",
"start_timestamp": 1779953500.116018,
"timestamp": 1779953500.116669,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140010800015040",
"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_019CdwqwDbEmdJnHLx4GwGba\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "a604e9f1854537c4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bfe7a3ed7a045b95",
"trace_id": "14946d88a81c41b2a83530f345f8400b",
"parent_span_id": "95f8493921588bb2",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953500.118248,
"timestamp": 1779953500.997994,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140010916223872",
"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. Let me start by adding 3 and 5.\", \"type\": \"text\"}, {\"id\": \"toolu_019CdwqwDbEmdJnHLx4GwGba\", \"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_01AFB893fY4TfooxTp8EFJdX\", \"type\": \"tool_call\"}]",
"gen_ai.response.text": "Great! 3 + 5 = 8. Now let me multiply that result by 4.",
"gen_ai.usage.input_tokens": 759,
"gen_ai.usage.output_tokens": 92,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "a604e9f1854537c4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8155d66af2265225",
"trace_id": "14946d88a81c41b2a83530f345f8400b",
"parent_span_id": "95f8493921588bb2",
"op": "gen_ai.execute_tool",
"description": "execute_tool multiply",
"start_timestamp": 1779953500.999833,
"timestamp": 1779953501.000417,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140010800015040",
"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_01AFB893fY4TfooxTp8EFJdX\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "a604e9f1854537c4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "90bf6a14a16bec81",
"trace_id": "14946d88a81c41b2a83530f345f8400b",
"parent_span_id": "95f8493921588bb2",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953501.002125,
"timestamp": 1779953503.266928,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140010916223872",
"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. Let me start by adding 3 and 5.\", \"type\": \"text\"}, {\"id\": \"toolu_019CdwqwDbEmdJnHLx4GwGba\", \"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_01AFB893fY4TfooxTp8EFJdX\", \"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 break it down:\n- First: 3 + 5 = 8\n- Then: 8 * 4 = 32",
"gen_ai.usage.input_tokens": 864,
"gen_ai.usage.output_tokens": 58,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "a604e9f1854537c4",
"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 16325ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
9858aacagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9858aacagen_ai.output.messagesMissing output messages attribute
8528549dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8528549dgen_ai.output.messagesMissing output messages attribute
ad1affb2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad1affb2gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
9858aacagen_ai.agent.nameChild span (gen_ai.chat, id: 9858aaca) should have gen_ai.agent.name attribute
81e6b0e8gen_ai.agent.nameChild span (gen_ai.execute_tool, id: 81e6b0e8) should have gen_ai.agent.name attribute
8528549dgen_ai.agent.nameChild span (gen_ai.chat, id: 8528549d) should have gen_ai.agent.name attribute
bd82dbabgen_ai.agent.nameChild span (gen_ai.execute_tool, id: bd82dbab) should have gen_ai.agent.name attribute
ad1affb2gen_ai.agent.nameChild span (gen_ai.chat, id: ad1affb2) should have gen_ai.agent.name attribute
Checks
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
81e6b0e8gen_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_ysUM8GfR4o5LQwJ42ERNgAyv","artifact":"None","status":"success"}
bd82dbabgen_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_GAuCamod5nneMn8Hkwz92zv3","artifact":"None","status":"success"}
checkInputMessagesSchema
Warnings
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.definitionsgen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultCaptured Spans (14)
[
{
"trace_id": "e01dd81c50d14704af427f2adaea71b8",
"span_id": "9f42d3f9ee51ed04",
"parent_span_id": "9858aaca5bdcbcf4",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:39.064518Z",
"timestamp": "2026-05-28T07:31:39.065917Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12044
},
"data": {
"thread.id": "140588775110336",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e01dd81c50d14704af427f2adaea71b8",
"span_id": "b18c1791dfabab21",
"parent_span_id": "9858aaca5bdcbcf4",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:39.066002Z",
"timestamp": "2026-05-28T07:31:39.066840Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12044
},
"data": {
"thread.id": "140588775110336",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e01dd81c50d14704af427f2adaea71b8",
"span_id": "ab73a9054322428a",
"parent_span_id": "b18c1791dfabab21",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:39.066783Z",
"timestamp": "2026-05-28T07:31:39.066826Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12044
},
"data": {
"thread.id": "140588775110336",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e01dd81c50d14704af427f2adaea71b8",
"span_id": "bc38b3a730a57db1",
"parent_span_id": "9858aaca5bdcbcf4",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:39.066881Z",
"timestamp": "2026-05-28T07:31:39.066897Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12044
},
"data": {
"thread.id": "140588775110336",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e01dd81c50d14704af427f2adaea71b8",
"span_id": "9e257f5f77344cf0",
"parent_span_id": "9858aaca5bdcbcf4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:39.068479Z",
"timestamp": "2026-05-28T07:31:39.823387Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140588966886272",
"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": "e01dd81c50d14704af427f2adaea71b8",
"span_id": "8fe8048c3d8dc08c",
"parent_span_id": "8528549d12b79d6f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:39.836897Z",
"timestamp": "2026-05-28T07:31:40.499006Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140588966886272",
"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": "e01dd81c50d14704af427f2adaea71b8",
"span_id": "b866ab9f3e7cd193",
"parent_span_id": "ad1affb279a5b261",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:40.510670Z",
"timestamp": "2026-05-28T07:31:41.163572Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140588966886272",
"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": "89c2492ff399fc02",
"trace_id": "e01dd81c50d14704af427f2adaea71b8",
"parent_span_id": null,
"op": "test",
"description": "Tool Call Agent Test",
"start_timestamp": "2026-05-28T07:31:39.052669Z",
"timestamp": "2026-05-28T07:31:41.168120Z",
"data": {
"thread.id": "140588966886272",
"thread.name": "MainThread"
}
},
{
"span_id": "920ff96a9aa6015f",
"trace_id": "e01dd81c50d14704af427f2adaea71b8",
"parent_span_id": "89c2492ff399fc02",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent math_assistant",
"start_timestamp": 1779953499.053693,
"timestamp": 1779953501.167215,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140588966886272",
"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": 58,
"gen_ai.usage.total_tokens": 457,
"gen_ai.response.model": "gpt-4o-mini-2024-07-18",
"gen_ai.response.text": "The result of the calculation \\((3 + 5) \\times 4\\) is \\(32\\).",
"gen_ai.response.tool_calls": "[{\"name\": \"add\", \"args\": {\"a\": 3, \"b\": 5}, \"id\": \"call_ysUM8GfR4o5LQwJ42ERNgAyv\", \"type\": \"tool_call\"}, {\"name\": \"multiply\", \"args\": {\"a\": 8, \"b\": 4}, \"id\": \"call_GAuCamod5nneMn8Hkwz92zv3\", \"type\": \"tool_call\"}]",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "89c2492ff399fc02",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9858aaca5bdcbcf4",
"trace_id": "e01dd81c50d14704af427f2adaea71b8",
"parent_span_id": "920ff96a9aa6015f",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953499.059151,
"timestamp": 1779953499.830563,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140588775110336",
"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_ysUM8GfR4o5LQwJ42ERNgAyv\", \"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": "89c2492ff399fc02",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "81e6b0e84101c886",
"trace_id": "e01dd81c50d14704af427f2adaea71b8",
"parent_span_id": "920ff96a9aa6015f",
"op": "gen_ai.execute_tool",
"description": "execute_tool add",
"start_timestamp": 1779953499.832445,
"timestamp": 1779953499.833079,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140588775110336",
"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_ysUM8GfR4o5LQwJ42ERNgAyv\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "89c2492ff399fc02",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8528549d12b79d6f",
"trace_id": "e01dd81c50d14704af427f2adaea71b8",
"parent_span_id": "920ff96a9aa6015f",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953499.834558,
"timestamp": 1779953500.500911,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140588775110336",
"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_GAuCamod5nneMn8Hkwz92zv3\", \"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": "89c2492ff399fc02",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bd82dbab9639073f",
"trace_id": "e01dd81c50d14704af427f2adaea71b8",
"parent_span_id": "920ff96a9aa6015f",
"op": "gen_ai.execute_tool",
"description": "execute_tool multiply",
"start_timestamp": 1779953500.503395,
"timestamp": 1779953500.504053,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140588775110336",
"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_GAuCamod5nneMn8Hkwz92zv3\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "89c2492ff399fc02",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ad1affb279a5b261",
"trace_id": "e01dd81c50d14704af427f2adaea71b8",
"parent_span_id": "920ff96a9aa6015f",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953500.506484,
"timestamp": 1779953501.165124,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140588775110336",
"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) \\times 4\\) is \\(32\\).",
"gen_ai.usage.input_tokens": 162,
"gen_ai.usage.output_tokens": 24,
"gen_ai.usage.total_tokens": 186,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "89c2492ff399fc02",
"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 26522ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
94545eacgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94545eacgen_ai.output.messagesMissing output messages attribute
8b17fea4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8b17fea4gen_ai.output.messagesMissing output messages attribute
ad60e0c2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad60e0c2gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
94545eacgen_ai.agent.nameChild span (gen_ai.chat, id: 94545eac) should have gen_ai.agent.name attribute
9f15df59gen_ai.agent.nameChild span (gen_ai.execute_tool, id: 9f15df59) should have gen_ai.agent.name attribute
8b17fea4gen_ai.agent.nameChild span (gen_ai.chat, id: 8b17fea4) should have gen_ai.agent.name attribute
a9958606gen_ai.agent.nameChild span (gen_ai.execute_tool, id: a9958606) should have gen_ai.agent.name attribute
ad60e0c2gen_ai.agent.nameChild span (gen_ai.chat, id: ad60e0c2) should have gen_ai.agent.name attribute
Checks
checkValidTokenUsage
a7642b9fgen_ai.usage.input_tokensinput_tokens must exist
a7642b9fgen_ai.usage.output_tokensoutput_tokens must exist
a7642b9fgen_ai.usage.total_tokenstotal_tokens must exist
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
9f15df59gen_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_01948K8dCwnALQ9Vfi15fnyh","artifact":"None","status":"success"}
a9958606gen_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_01VYbYer4NGVVpeWxytMbzjt","artifact":"None","status":"success"}
checkInputMessagesSchema
Warnings
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.definitionsgen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultCaptured Spans (14)
[
{
"trace_id": "33371aac265e4b23af3bbe818019b697",
"span_id": "9a7f148df1e69c86",
"parent_span_id": "94545eac191836e2",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:39.735383Z",
"timestamp": "2026-05-28T07:31:39.736239Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12048
},
"data": {
"thread.id": "140413992167104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "33371aac265e4b23af3bbe818019b697",
"span_id": "a2fc4c14163cf4bb",
"parent_span_id": "94545eac191836e2",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:39.736316Z",
"timestamp": "2026-05-28T07:31:39.736888Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12048
},
"data": {
"thread.id": "140413992167104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "33371aac265e4b23af3bbe818019b697",
"span_id": "926ae1b8856807da",
"parent_span_id": "a2fc4c14163cf4bb",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:39.736844Z",
"timestamp": "2026-05-28T07:31:39.736878Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12048
},
"data": {
"thread.id": "140413992167104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "33371aac265e4b23af3bbe818019b697",
"span_id": "a7aec07de1069cba",
"parent_span_id": "94545eac191836e2",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:39.736911Z",
"timestamp": "2026-05-28T07:31:39.736920Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12048
},
"data": {
"thread.id": "140413992167104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "33371aac265e4b23af3bbe818019b697",
"span_id": "bc32f868630cecd7",
"parent_span_id": "94545eac191836e2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:39.737919Z",
"timestamp": "2026-05-28T07:31:40.766193Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140414108396416",
"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": "33371aac265e4b23af3bbe818019b697",
"span_id": "bedf7fd81af55e6e",
"parent_span_id": "8b17fea462b8899c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:40.817865Z",
"timestamp": "2026-05-28T07:31:42.110020Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140414108396416",
"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": "33371aac265e4b23af3bbe818019b697",
"span_id": "b3839989f95fe618",
"parent_span_id": "ad60e0c21b2ef49d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:42.145473Z",
"timestamp": "2026-05-28T07:31:42.859763Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140414108396416",
"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": "afa310e7433788b4",
"trace_id": "33371aac265e4b23af3bbe818019b697",
"parent_span_id": null,
"op": "test",
"description": "Tool Call Agent Test",
"start_timestamp": "2026-05-28T07:31:39.707524Z",
"timestamp": "2026-05-28T07:31:42.872187Z",
"data": {
"thread.id": "140414108396416",
"thread.name": "MainThread"
}
},
{
"span_id": "a7642b9f8d312f97",
"trace_id": "33371aac265e4b23af3bbe818019b697",
"parent_span_id": "afa310e7433788b4",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent math_assistant",
"start_timestamp": 1779953499.708236,
"timestamp": 1779953502.867709,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140414108396416",
"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": "The answer is **32**.\n\nTo summarize:\n- 3 + 5 = 8\n- 8 × 4 = 32",
"gen_ai.response.tool_calls": "[{\"name\": \"add\", \"args\": {\"a\": 3, \"b\": 5}, \"id\": \"toolu_01948K8dCwnALQ9Vfi15fnyh\", \"type\": \"tool_call\"}, {\"name\": \"multiply\", \"args\": {\"a\": 8, \"b\": 4}, \"id\": \"toolu_01VYbYer4NGVVpeWxytMbzjt\", \"type\": \"tool_call\"}]",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "afa310e7433788b4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "94545eac191836e2",
"trace_id": "33371aac265e4b23af3bbe818019b697",
"parent_span_id": "a7642b9f8d312f97",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953499.711662,
"timestamp": 1779953500.801948,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140413992167104",
"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_01948K8dCwnALQ9Vfi15fnyh\", \"type\": \"tool_call\"}]",
"gen_ai.response.text": "I'll help you calculate (3 + 5) * 4 by first adding 3 and 5, then multiplying the result by 4.",
"gen_ai.usage.input_tokens": 649,
"gen_ai.usage.output_tokens": 104,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "afa310e7433788b4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9f15df59dc234927",
"trace_id": "33371aac265e4b23af3bbe818019b697",
"parent_span_id": "a7642b9f8d312f97",
"op": "gen_ai.execute_tool",
"description": "execute_tool add",
"start_timestamp": 1779953500.804661,
"timestamp": 1779953500.805285,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140413992167104",
"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_01948K8dCwnALQ9Vfi15fnyh\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "afa310e7433788b4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8b17fea462b8899c",
"trace_id": "33371aac265e4b23af3bbe818019b697",
"parent_span_id": "a7642b9f8d312f97",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953500.807428,
"timestamp": 1779953502.114493,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140413992167104",
"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 by first adding 3 and 5, then multiplying the result by 4.\", \"type\": \"text\"}, {\"id\": \"toolu_01948K8dCwnALQ9Vfi15fnyh\", \"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_01VYbYer4NGVVpeWxytMbzjt\", \"type\": \"tool_call\"}]",
"gen_ai.response.text": "Now I'll multiply the result (8) by 4:",
"gen_ai.usage.input_tokens": 766,
"gen_ai.usage.output_tokens": 82,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "afa310e7433788b4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a9958606abd6d69d",
"trace_id": "33371aac265e4b23af3bbe818019b697",
"parent_span_id": "a7642b9f8d312f97",
"op": "gen_ai.execute_tool",
"description": "execute_tool multiply",
"start_timestamp": 1779953502.119488,
"timestamp": 1779953502.121157,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140413992167104",
"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_01VYbYer4NGVVpeWxytMbzjt\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "afa310e7433788b4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ad60e0c21b2ef49d",
"trace_id": "33371aac265e4b23af3bbe818019b697",
"parent_span_id": "a7642b9f8d312f97",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953502.126423,
"timestamp": 1779953502.864002,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140413992167104",
"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 by first adding 3 and 5, then multiplying the result by 4.\", \"type\": \"text\"}, {\"id\": \"toolu_01948K8dCwnALQ9Vfi15fnyh\", \"caller\": {\"type\": \"direct\"}, \"input\": {\"a\": 3, \"b\": 5}, \"name\": \"add\", \"type\": \"tool_use\"}]}, {\"role\": \"tool\", \"content\": \"8\"}, {\"role\": \"assistant\", \"content\": [{\"text\": \"Now I'll multiply the result (8) by 4:\", \"type\": \"text\"}, {\"id\": \"toolu_01VYbYer4NGVVpeWxytMbzjt\", \"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": "The answer is **32**.\n\nTo summarize:\n- 3 + 5 = 8\n- 8 × 4 = 32",
"gen_ai.usage.input_tokens": 861,
"gen_ai.usage.output_tokens": 38,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "afa310e7433788b4",
"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 14986ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
92eb9d25gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92eb9d25gen_ai.output.messagesMissing output messages attribute
b42292cegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b42292cegen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
92eb9d25gen_ai.agent.nameChild span (gen_ai.chat, id: 92eb9d25) should have gen_ai.agent.name attribute
85a88baegen_ai.agent.nameChild span (gen_ai.execute_tool, id: 85a88bae) should have gen_ai.agent.name attribute
b42292cegen_ai.agent.nameChild span (gen_ai.chat, id: b42292ce) should have gen_ai.agent.name attribute
Checks
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
85a88baestatusTool span status is "ok", expected a non-ok error status
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultCaptured Spans (11)
[
{
"trace_id": "30ce33b968254f448a7c1e6a74bddd4d",
"span_id": "9fb1a8312aaf0f2a",
"parent_span_id": "92eb9d250a204430",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:40.788425Z",
"timestamp": "2026-05-28T07:31:40.790394Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12055
},
"data": {
"thread.id": "139864005184384",
"thread.name": "MainThread"
}
},
{
"trace_id": "30ce33b968254f448a7c1e6a74bddd4d",
"span_id": "9d28f877504b7efe",
"parent_span_id": "92eb9d250a204430",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:40.790473Z",
"timestamp": "2026-05-28T07:31:40.790966Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12055
},
"data": {
"thread.id": "139864005184384",
"thread.name": "MainThread"
}
},
{
"trace_id": "30ce33b968254f448a7c1e6a74bddd4d",
"span_id": "8c2478d4dde53ba8",
"parent_span_id": "9d28f877504b7efe",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:40.790778Z",
"timestamp": "2026-05-28T07:31:40.790955Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12055
},
"data": {
"thread.id": "139864005184384",
"thread.name": "MainThread"
}
},
{
"trace_id": "30ce33b968254f448a7c1e6a74bddd4d",
"span_id": "bdb96a024e0ceec7",
"parent_span_id": "92eb9d250a204430",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:40.791006Z",
"timestamp": "2026-05-28T07:31:40.791023Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12055
},
"data": {
"thread.id": "139864005184384",
"thread.name": "MainThread"
}
},
{
"trace_id": "30ce33b968254f448a7c1e6a74bddd4d",
"span_id": "97e965119e10d51f",
"parent_span_id": "92eb9d250a204430",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:40.792324Z",
"timestamp": "2026-05-28T07:31:41.525595Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139864005184384",
"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": "30ce33b968254f448a7c1e6a74bddd4d",
"span_id": "83df5c7c13f07372",
"parent_span_id": "b42292ceed087316",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:41.581204Z",
"timestamp": "2026-05-28T07:31:42.405779Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139864005184384",
"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": "aded7dbccefa9a12",
"trace_id": "30ce33b968254f448a7c1e6a74bddd4d",
"parent_span_id": null,
"op": "test",
"description": "Tool Error Agent Test",
"start_timestamp": "2026-05-28T07:31:40.778735Z",
"timestamp": "2026-05-28T07:31:42.413736Z",
"data": {
"thread.id": "139864005184384",
"thread.name": "MainThread"
}
},
{
"span_id": "a1440d6f328c0d8a",
"trace_id": "30ce33b968254f448a7c1e6a74bddd4d",
"parent_span_id": "aded7dbccefa9a12",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent file_assistant",
"start_timestamp": 1779953500.779494,
"timestamp": 1779953502.413667,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139864005184384",
"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": 47,
"gen_ai.usage.total_tokens": 211,
"gen_ai.response.model": "gpt-4o-mini-2024-07-18",
"gen_ai.response.text": "It seems that the file at `/nonexistent/file.txt` does not exist or cannot be accessed, so there is no content to read.",
"gen_ai.response.tool_calls": "[{\"name\": \"read_file\", \"args\": {\"path\": \"/nonexistent/file.txt\"}, \"id\": \"call_xZeeUVJ7odp3JIdGQ2wSWWm5\", \"type\": \"tool_call\"}]",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Error Agent Test",
"sentry.segment.id": "aded7dbccefa9a12",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "92eb9d250a204430",
"trace_id": "30ce33b968254f448a7c1e6a74bddd4d",
"parent_span_id": "a1440d6f328c0d8a",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953500.78328,
"timestamp": 1779953501.561065,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139864005184384",
"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_xZeeUVJ7odp3JIdGQ2wSWWm5\", \"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": "aded7dbccefa9a12",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "85a88bae76513ba9",
"trace_id": "30ce33b968254f448a7c1e6a74bddd4d",
"parent_span_id": "a1440d6f328c0d8a",
"op": "gen_ai.execute_tool",
"description": "execute_tool read_file",
"start_timestamp": 1779953501.563167,
"timestamp": 1779953501.563824,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139863890323136",
"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_xZeeUVJ7odp3JIdGQ2wSWWm5\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Error Agent Test",
"sentry.segment.id": "aded7dbccefa9a12",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b42292ceed087316",
"trace_id": "30ce33b968254f448a7c1e6a74bddd4d",
"parent_span_id": "a1440d6f328c0d8a",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953501.57306,
"timestamp": 1779953502.406812,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139864005184384",
"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 `/nonexistent/file.txt` does not exist or cannot be accessed, so there is no content to read.",
"gen_ai.usage.input_tokens": 97,
"gen_ai.usage.output_tokens": 29,
"gen_ai.usage.total_tokens": 126,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Error Agent Test",
"sentry.segment.id": "aded7dbccefa9a12",
"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 17726ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
9fd7838agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9fd7838agen_ai.output.messagesMissing output messages attribute
be0df38bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
be0df38bgen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
9fd7838agen_ai.agent.nameChild span (gen_ai.chat, id: 9fd7838a) should have gen_ai.agent.name attribute
931a9008gen_ai.agent.nameChild span (gen_ai.execute_tool, id: 931a9008) should have gen_ai.agent.name attribute
be0df38bgen_ai.agent.nameChild span (gen_ai.chat, id: be0df38b) should have gen_ai.agent.name attribute
Checks
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
931a9008statusTool span status is "ok", expected a non-ok error status
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultCaptured Spans (11)
[
{
"trace_id": "1a3dea0ee8c54baca900ecfde87a724b",
"span_id": "909d3f09935b10d3",
"parent_span_id": "9fd7838a2667e87f",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:42.899819Z",
"timestamp": "2026-05-28T07:31:42.903873Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12075
},
"data": {
"thread.id": "139813685238656",
"thread.name": "MainThread"
}
},
{
"trace_id": "1a3dea0ee8c54baca900ecfde87a724b",
"span_id": "88c019cd8850f979",
"parent_span_id": "9fd7838a2667e87f",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:42.903977Z",
"timestamp": "2026-05-28T07:31:42.904113Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12075
},
"data": {
"thread.id": "139813685238656",
"thread.name": "MainThread"
}
},
{
"trace_id": "1a3dea0ee8c54baca900ecfde87a724b",
"span_id": "8c150632c7926198",
"parent_span_id": "88c019cd8850f979",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:42.904071Z",
"timestamp": "2026-05-28T07:31:42.904104Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12075
},
"data": {
"thread.id": "139813685238656",
"thread.name": "MainThread"
}
},
{
"trace_id": "1a3dea0ee8c54baca900ecfde87a724b",
"span_id": "852de5236ab99130",
"parent_span_id": "9fd7838a2667e87f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:42.904148Z",
"timestamp": "2026-05-28T07:31:42.904161Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12075
},
"data": {
"thread.id": "139813685238656",
"thread.name": "MainThread"
}
},
{
"trace_id": "1a3dea0ee8c54baca900ecfde87a724b",
"span_id": "ba9e86c8d565260d",
"parent_span_id": "9fd7838a2667e87f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:42.908320Z",
"timestamp": "2026-05-28T07:31:43.656533Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139813685238656",
"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": "1a3dea0ee8c54baca900ecfde87a724b",
"span_id": "9373ebfbc5bf7819",
"parent_span_id": "be0df38b21970c80",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:43.773954Z",
"timestamp": "2026-05-28T07:31:45.989831Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139813685238656",
"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": "bece9ecbdf6fac63",
"trace_id": "1a3dea0ee8c54baca900ecfde87a724b",
"parent_span_id": null,
"op": "test",
"description": "Tool Error Agent Test",
"start_timestamp": "2026-05-28T07:31:42.796745Z",
"timestamp": "2026-05-28T07:31:45.994740Z",
"data": {
"thread.id": "139813685238656",
"thread.name": "MainThread"
}
},
{
"span_id": "94f1f5f2b705866f",
"trace_id": "1a3dea0ee8c54baca900ecfde87a724b",
"parent_span_id": "bece9ecbdf6fac63",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent file_assistant",
"start_timestamp": 1779953502.799887,
"timestamp": 1779953505.994672,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139813685238656",
"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": "I attempted to read the file at `/nonexistent/file.txt`, but the operation returned null. This indicates that the file does not exist at that path. The file either:\n\n1. Does not exist on the system\n2. Is located at a different path\n3. Cannot be accessed due to permission restrictions\n\nCould you please verify the file path or provide a different file location you'd like me to read?",
"gen_ai.response.tool_calls": "[{\"name\": \"read_file\", \"args\": {\"path\": \"/nonexistent/file.txt\"}, \"id\": \"toolu_011s6BeMwnqPA7wZkksVU3WQ\", \"type\": \"tool_call\"}]",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Error Agent Test",
"sentry.segment.id": "bece9ecbdf6fac63",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9fd7838a2667e87f",
"trace_id": "1a3dea0ee8c54baca900ecfde87a724b",
"parent_span_id": "94f1f5f2b705866f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953502.806909,
"timestamp": 1779953503.746198,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139813685238656",
"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_011s6BeMwnqPA7wZkksVU3WQ\", \"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": "bece9ecbdf6fac63",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "931a90081e3596c8",
"trace_id": "1a3dea0ee8c54baca900ecfde87a724b",
"parent_span_id": "94f1f5f2b705866f",
"op": "gen_ai.execute_tool",
"description": "execute_tool read_file",
"start_timestamp": 1779953503.751405,
"timestamp": 1779953503.752069,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139813568112320",
"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_011s6BeMwnqPA7wZkksVU3WQ\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Error Agent Test",
"sentry.segment.id": "bece9ecbdf6fac63",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "be0df38b21970c80",
"trace_id": "1a3dea0ee8c54baca900ecfde87a724b",
"parent_span_id": "94f1f5f2b705866f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953503.756214,
"timestamp": 1779953505.99083,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139813685238656",
"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_011s6BeMwnqPA7wZkksVU3WQ\", \"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": "I attempted to read the file at `/nonexistent/file.txt`, but the operation returned null. This indicates that the file does not exist at that path. The file either:\n\n1. Does not exist on the system\n2. Is located at a different path\n3. Cannot be accessed due to permission restrictions\n\nCould you please verify the file path or provide a different file location you'd like me to read?",
"gen_ai.usage.input_tokens": 653,
"gen_ai.usage.output_tokens": 90,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Error Agent Test",
"sentry.segment.id": "bece9ecbdf6fac63",
"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 17146ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
9ff2110fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9ff2110fgen_ai.output.messagesMissing output messages attribute
88cfac9agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88cfac9agen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
9ff2110fgen_ai.agent.nameChild span (gen_ai.chat, id: 9ff2110f) should have gen_ai.agent.name attribute
9d098550gen_ai.agent.nameChild span (gen_ai.execute_tool, id: 9d098550) should have gen_ai.agent.name attribute
88cfac9agen_ai.agent.nameChild span (gen_ai.chat, id: 88cfac9a) should have gen_ai.agent.name attribute
Checks
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
9d098550statusTool span status is "ok", expected a non-ok error status
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultCaptured Spans (11)
[
{
"trace_id": "45bd2abe09d14647a229a4e17e2f7de9",
"span_id": "8e3c769b208c7f3c",
"parent_span_id": "9ff2110fd61cb65f",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:44.161476Z",
"timestamp": "2026-05-28T07:31:44.163661Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12086
},
"data": {
"thread.id": "140274750723776",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "45bd2abe09d14647a229a4e17e2f7de9",
"span_id": "ae728598576d8127",
"parent_span_id": "9ff2110fd61cb65f",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:44.163743Z",
"timestamp": "2026-05-28T07:31:44.163877Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12086
},
"data": {
"thread.id": "140274750723776",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "45bd2abe09d14647a229a4e17e2f7de9",
"span_id": "a88fd6eefa910bc0",
"parent_span_id": "ae728598576d8127",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:44.163834Z",
"timestamp": "2026-05-28T07:31:44.163869Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12086
},
"data": {
"thread.id": "140274750723776",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "45bd2abe09d14647a229a4e17e2f7de9",
"span_id": "bc92c7a075e2a3f6",
"parent_span_id": "9ff2110fd61cb65f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:44.163913Z",
"timestamp": "2026-05-28T07:31:44.163936Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12086
},
"data": {
"thread.id": "140274750723776",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "45bd2abe09d14647a229a4e17e2f7de9",
"span_id": "b5d080a043472a6a",
"parent_span_id": "9ff2110fd61cb65f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:44.168505Z",
"timestamp": "2026-05-28T07:31:45.284095Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140274865646464",
"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": "45bd2abe09d14647a229a4e17e2f7de9",
"span_id": "a2ec7afee1863e67",
"parent_span_id": "88cfac9a58b132c7",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:45.337292Z",
"timestamp": "2026-05-28T07:31:46.613333Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140274865646464",
"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": "98d6fdef0973aefb",
"trace_id": "45bd2abe09d14647a229a4e17e2f7de9",
"parent_span_id": null,
"op": "test",
"description": "Tool Error Agent Test",
"start_timestamp": "2026-05-28T07:31:44.149426Z",
"timestamp": "2026-05-28T07:31:46.621135Z",
"data": {
"thread.id": "140274865646464",
"thread.name": "MainThread"
}
},
{
"span_id": "8b43397a8975227f",
"trace_id": "45bd2abe09d14647a229a4e17e2f7de9",
"parent_span_id": "98d6fdef0973aefb",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent file_assistant",
"start_timestamp": 1779953504.150466,
"timestamp": 1779953506.620341,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140274865646464",
"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": "It seems that the file at the specified path 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_kDpmJU8bEvpZaKv5l9akM4ef\", \"type\": \"tool_call\"}]",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Error Agent Test",
"sentry.segment.id": "98d6fdef0973aefb",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9ff2110fd61cb65f",
"trace_id": "45bd2abe09d14647a229a4e17e2f7de9",
"parent_span_id": "8b43397a8975227f",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953504.156076,
"timestamp": 1779953505.313191,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140274750723776",
"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_kDpmJU8bEvpZaKv5l9akM4ef\", \"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": "98d6fdef0973aefb",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9d098550ac87d759",
"trace_id": "45bd2abe09d14647a229a4e17e2f7de9",
"parent_span_id": "8b43397a8975227f",
"op": "gen_ai.execute_tool",
"description": "execute_tool read_file",
"start_timestamp": 1779953505.319067,
"timestamp": 1779953505.319686,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140274750723776",
"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_kDpmJU8bEvpZaKv5l9akM4ef\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Error Agent Test",
"sentry.segment.id": "98d6fdef0973aefb",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "88cfac9a58b132c7",
"trace_id": "45bd2abe09d14647a229a4e17e2f7de9",
"parent_span_id": "8b43397a8975227f",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953505.327591,
"timestamp": 1779953506.618767,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140274750723776",
"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": "It seems that the file at the specified path 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": "98d6fdef0973aefb",
"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 17386ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
abcc9bc6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
abcc9bc6gen_ai.output.messagesMissing output messages attribute
92223dd6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92223dd6gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
abcc9bc6gen_ai.agent.nameChild span (gen_ai.chat, id: abcc9bc6) should have gen_ai.agent.name attribute
bc67072dgen_ai.agent.nameChild span (gen_ai.execute_tool, id: bc67072d) should have gen_ai.agent.name attribute
92223dd6gen_ai.agent.nameChild span (gen_ai.chat, id: 92223dd6) should have gen_ai.agent.name attribute
Checks
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
bc67072dstatusTool span status is "ok", expected a non-ok error status
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultCaptured Spans (11)
[
{
"trace_id": "ca754491d74149478902623465a99b0a",
"span_id": "91bd1bd63bb51f71",
"parent_span_id": "abcc9bc644a2f0b6",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:45.021856Z",
"timestamp": "2026-05-28T07:31:45.026659Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12094
},
"data": {
"thread.id": "139950971414208",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ca754491d74149478902623465a99b0a",
"span_id": "854815ec545f746f",
"parent_span_id": "abcc9bc644a2f0b6",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:45.026769Z",
"timestamp": "2026-05-28T07:31:45.026930Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12094
},
"data": {
"thread.id": "139950971414208",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ca754491d74149478902623465a99b0a",
"span_id": "a448d89f433ad83b",
"parent_span_id": "854815ec545f746f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:45.026881Z",
"timestamp": "2026-05-28T07:31:45.026922Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12094
},
"data": {
"thread.id": "139950971414208",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ca754491d74149478902623465a99b0a",
"span_id": "b2cedb6968eaf7d6",
"parent_span_id": "abcc9bc644a2f0b6",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:45.026969Z",
"timestamp": "2026-05-28T07:31:45.026986Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12094
},
"data": {
"thread.id": "139950971414208",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ca754491d74149478902623465a99b0a",
"span_id": "be074caf008c076b",
"parent_span_id": "abcc9bc644a2f0b6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:45.031540Z",
"timestamp": "2026-05-28T07:31:45.852813Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139951087188864",
"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": "ca754491d74149478902623465a99b0a",
"span_id": "b498b3fa240d21ed",
"parent_span_id": "92223dd699e7354a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:45.966341Z",
"timestamp": "2026-05-28T07:31:47.012700Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139951087188864",
"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": "81b0728d313c479c",
"trace_id": "ca754491d74149478902623465a99b0a",
"parent_span_id": null,
"op": "test",
"description": "Tool Error Agent Test",
"start_timestamp": "2026-05-28T07:31:44.904493Z",
"timestamp": "2026-05-28T07:31:47.029104Z",
"data": {
"thread.id": "139951087188864",
"thread.name": "MainThread"
}
},
{
"span_id": "840f50e2236e0636",
"trace_id": "ca754491d74149478902623465a99b0a",
"parent_span_id": "81b0728d313c479c",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent file_assistant",
"start_timestamp": 1779953504.905508,
"timestamp": 1779953507.026668,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139951087188864",
"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. The read_file tool returned `null`, indicating that the file could not be found at that path. This is expected since the path contains \"nonexistent\" in it.\n\nIf you have a different file path you'd like me to read, please provide it and I'll be happy to help!",
"gen_ai.response.tool_calls": "[{\"name\": \"read_file\", \"args\": {\"path\": \"/nonexistent/file.txt\"}, \"id\": \"toolu_019Xru6yMasqGVC9cgAcAcQN\", \"type\": \"tool_call\"}]",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Error Agent Test",
"sentry.segment.id": "81b0728d313c479c",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "abcc9bc644a2f0b6",
"trace_id": "ca754491d74149478902623465a99b0a",
"parent_span_id": "840f50e2236e0636",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953504.916009,
"timestamp": 1779953505.940794,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139950971414208",
"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_019Xru6yMasqGVC9cgAcAcQN\", \"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": "81b0728d313c479c",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bc67072df548ecf2",
"trace_id": "ca754491d74149478902623465a99b0a",
"parent_span_id": "840f50e2236e0636",
"op": "gen_ai.execute_tool",
"description": "execute_tool read_file",
"start_timestamp": 1779953505.946055,
"timestamp": 1779953505.946699,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139950971414208",
"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_019Xru6yMasqGVC9cgAcAcQN\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Error Agent Test",
"sentry.segment.id": "81b0728d313c479c",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "92223dd699e7354a",
"trace_id": "ca754491d74149478902623465a99b0a",
"parent_span_id": "840f50e2236e0636",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953505.951492,
"timestamp": 1779953507.020052,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139950971414208",
"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_019Xru6yMasqGVC9cgAcAcQN\", \"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. The read_file tool returned `null`, indicating that the file could not be found at that path. This is expected since the path contains \"nonexistent\" in it.\n\nIf you have a different file path you'd like me to read, please provide it and I'll be happy to help!",
"gen_ai.usage.input_tokens": 653,
"gen_ai.usage.output_tokens": 81,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Error Agent Test",
"sentry.segment.id": "81b0728d313c479c",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langgraph :: Vision Agent Test (sync, openai) 2 17498ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
a90b2b88gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a90b2b88gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
a90b2b88gen_ai.agent.nameChild span (gen_ai.chat, id: a90b2b88) should have gen_ai.agent.name attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a90b2b88gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a90b2b88gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
901bc810gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
901bc810gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "f9b54f40034847c6954d4e531197ef83",
"span_id": "99c3f9eb5fff5fc8",
"parent_span_id": "a90b2b885c0b6207",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:46.617598Z",
"timestamp": "2026-05-28T07:31:46.625669Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12101
},
"data": {
"thread.id": "139949608512384",
"thread.name": "MainThread"
}
},
{
"trace_id": "f9b54f40034847c6954d4e531197ef83",
"span_id": "a5128332906fe9e6",
"parent_span_id": "a90b2b885c0b6207",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:46.625758Z",
"timestamp": "2026-05-28T07:31:46.625886Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12101
},
"data": {
"thread.id": "139949608512384",
"thread.name": "MainThread"
}
},
{
"trace_id": "f9b54f40034847c6954d4e531197ef83",
"span_id": "a03fbc279e7ce9e5",
"parent_span_id": "a5128332906fe9e6",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:46.625844Z",
"timestamp": "2026-05-28T07:31:46.625877Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12101
},
"data": {
"thread.id": "139949608512384",
"thread.name": "MainThread"
}
},
{
"trace_id": "f9b54f40034847c6954d4e531197ef83",
"span_id": "b052004fc5d74f7e",
"parent_span_id": "a90b2b885c0b6207",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:46.625921Z",
"timestamp": "2026-05-28T07:31:46.625935Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12101
},
"data": {
"thread.id": "139949608512384",
"thread.name": "MainThread"
}
},
{
"trace_id": "f9b54f40034847c6954d4e531197ef83",
"span_id": "818a1e2f00195fef",
"parent_span_id": "a90b2b885c0b6207",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:46.627285Z",
"timestamp": "2026-05-28T07:31:47.251470Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139949608512384",
"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": "831feba99a0ac3fe",
"trace_id": "f9b54f40034847c6954d4e531197ef83",
"parent_span_id": null,
"op": "test",
"description": "Vision Agent Test",
"start_timestamp": "2026-05-28T07:31:46.591283Z",
"timestamp": "2026-05-28T07:31:47.281938Z",
"data": {
"thread.id": "139949608512384",
"thread.name": "MainThread"
}
},
{
"span_id": "901bc810828de3f6",
"trace_id": "f9b54f40034847c6954d4e531197ef83",
"parent_span_id": "831feba99a0ac3fe",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent vision_assistant",
"start_timestamp": 1779953506.597057,
"timestamp": 1779953507.281883,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139949608512384",
"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": "831feba99a0ac3fe",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a90b2b885c0b6207",
"trace_id": "f9b54f40034847c6954d4e531197ef83",
"parent_span_id": "901bc810828de3f6",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953506.604161,
"timestamp": 1779953507.281072,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139949608512384",
"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": "831feba99a0ac3fe",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langgraph :: Vision Agent Test (sync, anthropic) 2 26894ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
93cc76c7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
93cc76c7gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
93cc76c7gen_ai.agent.nameChild span (gen_ai.chat, id: 93cc76c7) should have gen_ai.agent.name attribute
Checks
checkValidTokenUsage
8e1e89bfgen_ai.usage.input_tokensinput_tokens must exist
8e1e89bfgen_ai.usage.output_tokensoutput_tokens must exist
8e1e89bfgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
93cc76c7gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
93cc76c7gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
8e1e89bfgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
8e1e89bfgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "f267a6bdfd2a4720ade382f4eba02f02",
"span_id": "863dc8783b238fee",
"parent_span_id": "93cc76c718033e28",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:46.714896Z",
"timestamp": "2026-05-28T07:31:46.717180Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12104
},
"data": {
"thread.id": "139894691793792",
"thread.name": "MainThread"
}
},
{
"trace_id": "f267a6bdfd2a4720ade382f4eba02f02",
"span_id": "8aad961ff338f48a",
"parent_span_id": "93cc76c718033e28",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:46.717282Z",
"timestamp": "2026-05-28T07:31:46.717418Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12104
},
"data": {
"thread.id": "139894691793792",
"thread.name": "MainThread"
}
},
{
"trace_id": "f267a6bdfd2a4720ade382f4eba02f02",
"span_id": "a59fc2dc06caf1e4",
"parent_span_id": "8aad961ff338f48a",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:46.717376Z",
"timestamp": "2026-05-28T07:31:46.717410Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12104
},
"data": {
"thread.id": "139894691793792",
"thread.name": "MainThread"
}
},
{
"trace_id": "f267a6bdfd2a4720ade382f4eba02f02",
"span_id": "a293197b63aea345",
"parent_span_id": "93cc76c718033e28",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:46.717454Z",
"timestamp": "2026-05-28T07:31:46.717469Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12104
},
"data": {
"thread.id": "139894691793792",
"thread.name": "MainThread"
}
},
{
"trace_id": "f267a6bdfd2a4720ade382f4eba02f02",
"span_id": "ad8fe0177115d24d",
"parent_span_id": "93cc76c718033e28",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:46.718868Z",
"timestamp": "2026-05-28T07:31:47.355534Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139894691793792",
"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": "8f94b3904de24ace",
"trace_id": "f267a6bdfd2a4720ade382f4eba02f02",
"parent_span_id": null,
"op": "test",
"description": "Vision Agent Test",
"start_timestamp": "2026-05-28T07:31:46.664870Z",
"timestamp": "2026-05-28T07:31:47.446275Z",
"data": {
"thread.id": "139894691793792",
"thread.name": "MainThread"
}
},
{
"span_id": "8e1e89bfee178ca3",
"trace_id": "f267a6bdfd2a4720ade382f4eba02f02",
"parent_span_id": "8f94b3904de24ace",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent vision_assistant",
"start_timestamp": 1779953506.665527,
"timestamp": 1779953507.446222,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139894691793792",
"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": "8f94b3904de24ace",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "93cc76c718033e28",
"trace_id": "f267a6bdfd2a4720ade382f4eba02f02",
"parent_span_id": "8e1e89bfee178ca3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953506.669263,
"timestamp": 1779953507.445445,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139894691793792",
"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": "8f94b3904de24ace",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langgraph :: Vision Agent Test (async, openai) 2 18064ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
9dfdb554gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9dfdb554gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
9dfdb554gen_ai.agent.nameChild span (gen_ai.chat, id: 9dfdb554) should have gen_ai.agent.name attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
9dfdb554gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
9dfdb554gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
9c8e4e4cgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
9c8e4e4cgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "1add2e14ed7f4b438728dae2f36abe38",
"span_id": "882d112e2414e787",
"parent_span_id": "9dfdb5549f89ed90",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:49.492824Z",
"timestamp": "2026-05-28T07:31:49.496756Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12126
},
"data": {
"thread.id": "140395074148032",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1add2e14ed7f4b438728dae2f36abe38",
"span_id": "97245ca422b59336",
"parent_span_id": "9dfdb5549f89ed90",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:49.496841Z",
"timestamp": "2026-05-28T07:31:49.496969Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12126
},
"data": {
"thread.id": "140395074148032",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1add2e14ed7f4b438728dae2f36abe38",
"span_id": "b4440c3c8970439b",
"parent_span_id": "97245ca422b59336",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:49.496927Z",
"timestamp": "2026-05-28T07:31:49.496961Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12126
},
"data": {
"thread.id": "140395074148032",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1add2e14ed7f4b438728dae2f36abe38",
"span_id": "871133dbe64a0386",
"parent_span_id": "9dfdb5549f89ed90",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:49.497000Z",
"timestamp": "2026-05-28T07:31:49.497014Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12126
},
"data": {
"thread.id": "140395074148032",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1add2e14ed7f4b438728dae2f36abe38",
"span_id": "816fdb1ee4adc0a6",
"parent_span_id": "9dfdb5549f89ed90",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:49.501592Z",
"timestamp": "2026-05-28T07:31:50.080096Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140395190184832",
"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": "9c3557f98de6ab69",
"trace_id": "1add2e14ed7f4b438728dae2f36abe38",
"parent_span_id": null,
"op": "test",
"description": "Vision Agent Test",
"start_timestamp": "2026-05-28T07:31:49.442548Z",
"timestamp": "2026-05-28T07:31:50.124741Z",
"data": {
"thread.id": "140395190184832",
"thread.name": "MainThread"
}
},
{
"span_id": "9c8e4e4c49621a4a",
"trace_id": "1add2e14ed7f4b438728dae2f36abe38",
"parent_span_id": "9c3557f98de6ab69",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent vision_assistant",
"start_timestamp": 1779953509.44941,
"timestamp": 1779953510.12388,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140395190184832",
"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": "9c3557f98de6ab69",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9dfdb5549f89ed90",
"trace_id": "1add2e14ed7f4b438728dae2f36abe38",
"parent_span_id": "9c8e4e4c49621a4a",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953509.468804,
"timestamp": 1779953510.11621,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140395074148032",
"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": "9c3557f98de6ab69",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langgraph :: Vision Agent Test (async, anthropic) 2 29300ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
977c2d6agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
977c2d6agen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
977c2d6agen_ai.agent.nameChild span (gen_ai.chat, id: 977c2d6a) should have gen_ai.agent.name attribute
Checks
checkValidTokenUsage
af009de4gen_ai.usage.input_tokensinput_tokens must exist
af009de4gen_ai.usage.output_tokensoutput_tokens must exist
af009de4gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
977c2d6agen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
977c2d6agen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
af009de4gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
af009de4gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "bc8978f9fd9546e58f824a5cf18aad06",
"span_id": "81f669b7c5d62308",
"parent_span_id": "977c2d6a8ae44ab7",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:50.959830Z",
"timestamp": "2026-05-28T07:31:50.963859Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12140
},
"data": {
"thread.id": "140245700961984",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "bc8978f9fd9546e58f824a5cf18aad06",
"span_id": "96862a910ff38193",
"parent_span_id": "977c2d6a8ae44ab7",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:50.963961Z",
"timestamp": "2026-05-28T07:31:50.964103Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12140
},
"data": {
"thread.id": "140245700961984",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "bc8978f9fd9546e58f824a5cf18aad06",
"span_id": "88487c981f0ffb43",
"parent_span_id": "96862a910ff38193",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:50.964059Z",
"timestamp": "2026-05-28T07:31:50.964094Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12140
},
"data": {
"thread.id": "140245700961984",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "bc8978f9fd9546e58f824a5cf18aad06",
"span_id": "91440afc16e853d6",
"parent_span_id": "977c2d6a8ae44ab7",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:50.964137Z",
"timestamp": "2026-05-28T07:31:50.964152Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12140
},
"data": {
"thread.id": "140245700961984",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "bc8978f9fd9546e58f824a5cf18aad06",
"span_id": "b7ae56f7cd0e4b26",
"parent_span_id": "977c2d6a8ae44ab7",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:50.966021Z",
"timestamp": "2026-05-28T07:31:51.615192Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140245816097664",
"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": "9975b4cf47f35221",
"trace_id": "bc8978f9fd9546e58f824a5cf18aad06",
"parent_span_id": null,
"op": "test",
"description": "Vision Agent Test",
"start_timestamp": "2026-05-28T07:31:50.821464Z",
"timestamp": "2026-05-28T07:31:51.700817Z",
"data": {
"thread.id": "140245816097664",
"thread.name": "MainThread"
}
},
{
"span_id": "af009de45a62568c",
"trace_id": "bc8978f9fd9546e58f824a5cf18aad06",
"parent_span_id": "9975b4cf47f35221",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent vision_assistant",
"start_timestamp": 1779953510.830374,
"timestamp": 1779953511.699947,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140245816097664",
"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": "9975b4cf47f35221",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "977c2d6a8ae44ab7",
"trace_id": "bc8978f9fd9546e58f824a5cf18aad06",
"parent_span_id": "af009de45a62568c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953510.853752,
"timestamp": 1779953511.69492,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140245700961984",
"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": "9975b4cf47f35221",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langgraph :: Long Input Agent Test (sync, openai) 255666ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
a8db11a0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8db11a0gen_ai.output.messagesMissing output messages attribute
879154a1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
879154a1gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
a8db11a0gen_ai.agent.nameChild span (gen_ai.chat, id: a8db11a0) should have gen_ai.agent.name attribute
bf136a48gen_ai.agent.nameChild span (gen_ai.execute_tool, id: bf136a48) should have gen_ai.agent.name attribute
879154a1gen_ai.agent.nameChild span (gen_ai.chat, id: 879154a1) should have gen_ai.agent.name attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultCaptured Spans (11)
[
{
"trace_id": "53ce982d8c6d4510b9c1d78d7ce5a34a",
"span_id": "8e63f278f1cc82df",
"parent_span_id": "a8db11a014dbb516",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:51.384489Z",
"timestamp": "2026-05-28T07:31:51.387704Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12145
},
"data": {
"thread.id": "140303275989888",
"thread.name": "MainThread"
}
},
{
"trace_id": "53ce982d8c6d4510b9c1d78d7ce5a34a",
"span_id": "96481099c5da2376",
"parent_span_id": "a8db11a014dbb516",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:51.387791Z",
"timestamp": "2026-05-28T07:31:51.387918Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12145
},
"data": {
"thread.id": "140303275989888",
"thread.name": "MainThread"
}
},
{
"trace_id": "53ce982d8c6d4510b9c1d78d7ce5a34a",
"span_id": "9a33cf86541f8d10",
"parent_span_id": "96481099c5da2376",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:51.387879Z",
"timestamp": "2026-05-28T07:31:51.387909Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12145
},
"data": {
"thread.id": "140303275989888",
"thread.name": "MainThread"
}
},
{
"trace_id": "53ce982d8c6d4510b9c1d78d7ce5a34a",
"span_id": "967df99ca6f1081b",
"parent_span_id": "a8db11a014dbb516",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:51.387953Z",
"timestamp": "2026-05-28T07:31:51.387968Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12145
},
"data": {
"thread.id": "140303275989888",
"thread.name": "MainThread"
}
},
{
"trace_id": "53ce982d8c6d4510b9c1d78d7ce5a34a",
"span_id": "b79629f43eebe21d",
"parent_span_id": "a8db11a014dbb516",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:51.392582Z",
"timestamp": "2026-05-28T07:32:36.696546Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140303275989888",
"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": "53ce982d8c6d4510b9c1d78d7ce5a34a",
"span_id": "b98ca36148a72bab",
"parent_span_id": "879154a195fd3f3c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:36.719750Z",
"timestamp": "2026-05-28T07:32:39.296495Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140303275989888",
"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": "a0c843d9b67071a3",
"trace_id": "53ce982d8c6d4510b9c1d78d7ce5a34a",
"parent_span_id": null,
"op": "test",
"description": "Long Input Agent Test",
"start_timestamp": "2026-05-28T07:31:51.358886Z",
"timestamp": "2026-05-28T07:32:39.298564Z",
"data": {
"thread.id": "140303275989888",
"thread.name": "MainThread"
}
},
{
"span_id": "98236adcc59f1bd0",
"trace_id": "53ce982d8c6d4510b9c1d78d7ce5a34a",
"parent_span_id": "a0c843d9b67071a3",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent summarizer_assistant",
"start_timestamp": 1779953511.3639,
"timestamp": 1779953559.298501,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140303275989888",
"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": 12174,
"gen_ai.usage.output_tokens": 1242,
"gen_ai.usage.total_tokens": 13416,
"gen_ai.response.model": "gpt-4o-mini-2024-07-18",
"gen_ai.response.text": "The text consists of a repeated message stating that it is a test message designed to create 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 repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many 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_IR9CczJEgzEPppBtVPP5hgy5\", \"type\": \"tool_call\"}]",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "a0c843d9b67071a3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a8db11a014dbb516",
"trace_id": "53ce982d8c6d4510b9c1d78d7ce5a34a",
"parent_span_id": "98236adcc59f1bd0",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953511.3701,
"timestamp": 1779953556.712543,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140303275989888",
"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.\"}, \"id\": \"call_IR9CczJEgzEPppBtVPP5hgy5\", \"type\": \"tool_call\"}]",
"gen_ai.response.text": "",
"gen_ai.usage.input_tokens": 5469,
"gen_ai.usage.output_tokens": 1220,
"gen_ai.usage.total_tokens": 6689,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "a0c843d9b67071a3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bf136a48202aa8be",
"trace_id": "53ce982d8c6d4510b9c1d78d7ce5a34a",
"parent_span_id": "98236adcc59f1bd0",
"op": "gen_ai.execute_tool",
"description": "execute_tool get_word_count",
"start_timestamp": 1779953556.714557,
"timestamp": 1779953556.715191,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140303160841920",
"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.\"}",
"gen_ai.tool.output": "{\"content\": \"2400\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"get_word_count\", \"id\": \"None\", \"tool_call_id\": \"call_IR9CczJEgzEPppBtVPP5hgy5\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "a0c843d9b67071a3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "879154a195fd3f3c",
"trace_id": "53ce982d8c6d4510b9c1d78d7ce5a34a",
"parent_span_id": "98236adcc59f1bd0",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953556.716794,
"timestamp": 1779953559.297633,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140303275989888",
"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 stating that it is a test message designed to create a long input.",
"gen_ai.usage.input_tokens": 6705,
"gen_ai.usage.output_tokens": 22,
"gen_ai.usage.total_tokens": 6727,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "a0c843d9b67071a3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langgraph :: Long Input Agent Test (sync, anthropic) 233707ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
bca82847gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bca82847gen_ai.output.messagesMissing output messages attribute
a2d891eagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a2d891eagen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
bca82847gen_ai.agent.nameChild span (gen_ai.chat, id: bca82847) should have gen_ai.agent.name attribute
b1c2879cgen_ai.agent.nameChild span (gen_ai.execute_tool, id: b1c2879c) should have gen_ai.agent.name attribute
a2d891eagen_ai.agent.nameChild span (gen_ai.chat, id: a2d891ea) should have gen_ai.agent.name attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultCaptured Spans (11)
[
{
"trace_id": "99a98e095fd8495db9886d342ec813d5",
"span_id": "93c31d9c6801f111",
"parent_span_id": "bca82847992c2856",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:50.179567Z",
"timestamp": "2026-05-28T07:31:50.184067Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12134
},
"data": {
"thread.id": "140249678965632",
"thread.name": "MainThread"
}
},
{
"trace_id": "99a98e095fd8495db9886d342ec813d5",
"span_id": "838c620d0d0df71d",
"parent_span_id": "bca82847992c2856",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:50.184178Z",
"timestamp": "2026-05-28T07:31:50.185109Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12134
},
"data": {
"thread.id": "140249678965632",
"thread.name": "MainThread"
}
},
{
"trace_id": "99a98e095fd8495db9886d342ec813d5",
"span_id": "84bf538982e41180",
"parent_span_id": "838c620d0d0df71d",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:50.185052Z",
"timestamp": "2026-05-28T07:31:50.185097Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12134
},
"data": {
"thread.id": "140249678965632",
"thread.name": "MainThread"
}
},
{
"trace_id": "99a98e095fd8495db9886d342ec813d5",
"span_id": "8255b531e50113a2",
"parent_span_id": "bca82847992c2856",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:50.185144Z",
"timestamp": "2026-05-28T07:31:50.185157Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12134
},
"data": {
"thread.id": "140249678965632",
"thread.name": "MainThread"
}
},
{
"trace_id": "99a98e095fd8495db9886d342ec813d5",
"span_id": "9c61be14d5b128ea",
"parent_span_id": "bca82847992c2856",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:50.191972Z",
"timestamp": "2026-05-28T07:32:13.808991Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140249678965632",
"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": "99a98e095fd8495db9886d342ec813d5",
"span_id": "80fc1afdd5cc8f85",
"parent_span_id": "a2d891ea528f04ac",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:32:13.921667Z",
"timestamp": "2026-05-28T07:32:16.682133Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140249678965632",
"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": "805c908d7585845a",
"trace_id": "99a98e095fd8495db9886d342ec813d5",
"parent_span_id": null,
"op": "test",
"description": "Long Input Agent Test",
"start_timestamp": "2026-05-28T07:31:50.085989Z",
"timestamp": "2026-05-28T07:32:16.687333Z",
"data": {
"thread.id": "140249678965632",
"thread.name": "MainThread"
}
},
{
"span_id": "b6bc54434af71157",
"trace_id": "99a98e095fd8495db9886d342ec813d5",
"parent_span_id": "805c908d7585845a",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent summarizer_assistant",
"start_timestamp": 1779953510.08787,
"timestamp": 1779953536.687262,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140249678965632",
"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 is a single 2,400-word test message consisting of the phrase \"This is a test message that will be repeated many times to create a very long input\" repeated 150 times for demonstration purposes.",
"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.\"}, \"id\": \"toolu_01FM6TnuwqXtQaRHtBs5ond9\", \"type\": \"tool_call\"}]",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "805c908d7585845a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bca82847992c2856",
"trace_id": "99a98e095fd8495db9886d342ec813d5",
"parent_span_id": "b6bc54434af71157",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953510.094904,
"timestamp": 1779953533.896027,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140249678965632",
"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. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many 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_01FM6TnuwqXtQaRHtBs5ond9\", \"type\": \"tool_call\"}]",
"gen_ai.response.text": "",
"gen_ai.usage.input_tokens": 5981,
"gen_ai.usage.output_tokens": 6858,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "805c908d7585845a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b1c2879c71c170e2",
"trace_id": "99a98e095fd8495db9886d342ec813d5",
"parent_span_id": "b6bc54434af71157",
"op": "gen_ai.execute_tool",
"description": "execute_tool get_word_count",
"start_timestamp": 1779953533.899592,
"timestamp": 1779953533.90048,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140249561818816",
"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. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many 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_01FM6TnuwqXtQaRHtBs5ond9\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "805c908d7585845a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a2d891ea528f04ac",
"trace_id": "99a98e095fd8495db9886d342ec813d5",
"parent_span_id": "b6bc54434af71157",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953533.9035,
"timestamp": 1779953536.683194,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140249678965632",
"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\": [{\"id\": \"toolu_01FM6TnuwqXtQaRHtBs5ond9\", \"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.\"}, \"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 is a single 2,400-word test message consisting of the phrase \"This is a test message that will be repeated many times to create a very long input\" repeated 150 times for demonstration purposes.",
"gen_ai.usage.input_tokens": 12853,
"gen_ai.usage.output_tokens": 51,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "805c908d7585845a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langgraph :: Long Input Agent Test (async, openai) 252236ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
9e7563a8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9e7563a8gen_ai.output.messagesMissing output messages attribute
bcec13a6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bcec13a6gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
9e7563a8gen_ai.agent.nameChild span (gen_ai.chat, id: 9e7563a8) should have gen_ai.agent.name attribute
90c42a49gen_ai.agent.nameChild span (gen_ai.execute_tool, id: 90c42a49) should have gen_ai.agent.name attribute
bcec13a6gen_ai.agent.nameChild span (gen_ai.chat, id: bcec13a6) should have gen_ai.agent.name attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultCaptured Spans (11)
[
{
"trace_id": "be4ddfd2e4b849cca90d53eaf5e71bf6",
"span_id": "83c10a07c82ccf2b",
"parent_span_id": "9e7563a81c7c997a",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:52.893653Z",
"timestamp": "2026-05-28T07:31:52.898345Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12164
},
"data": {
"thread.id": "139783165712064",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "be4ddfd2e4b849cca90d53eaf5e71bf6",
"span_id": "84855ab3d3450db5",
"parent_span_id": "9e7563a81c7c997a",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:52.898439Z",
"timestamp": "2026-05-28T07:31:52.898572Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12164
},
"data": {
"thread.id": "139783165712064",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "be4ddfd2e4b849cca90d53eaf5e71bf6",
"span_id": "8aa06699963380e3",
"parent_span_id": "84855ab3d3450db5",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:52.898533Z",
"timestamp": "2026-05-28T07:31:52.898565Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12164
},
"data": {
"thread.id": "139783165712064",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "be4ddfd2e4b849cca90d53eaf5e71bf6",
"span_id": "88c5574d01de07b0",
"parent_span_id": "9e7563a81c7c997a",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:52.898606Z",
"timestamp": "2026-05-28T07:31:52.898639Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12164
},
"data": {
"thread.id": "139783165712064",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "be4ddfd2e4b849cca90d53eaf5e71bf6",
"span_id": "b832234b8ee6a810",
"parent_span_id": "9e7563a81c7c997a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:52.900463Z",
"timestamp": "2026-05-28T07:32:34.960178Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139783280679808",
"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": "be4ddfd2e4b849cca90d53eaf5e71bf6",
"span_id": "a6f66615e47091bc",
"parent_span_id": "bcec13a63d952a9c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:35.004715Z",
"timestamp": "2026-05-28T07:32:37.646126Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139783280679808",
"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": "847e3f67e51c219f",
"trace_id": "be4ddfd2e4b849cca90d53eaf5e71bf6",
"parent_span_id": null,
"op": "test",
"description": "Long Input Agent Test",
"start_timestamp": "2026-05-28T07:31:52.863180Z",
"timestamp": "2026-05-28T07:32:37.651041Z",
"data": {
"thread.id": "139783280679808",
"thread.name": "MainThread"
}
},
{
"span_id": "b7c2414fe44becb9",
"trace_id": "be4ddfd2e4b849cca90d53eaf5e71bf6",
"parent_span_id": "847e3f67e51c219f",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent summarizer_assistant",
"start_timestamp": 1779953512.867501,
"timestamp": 1779953557.650002,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139783280679808",
"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": 12048,
"gen_ai.usage.output_tokens": 1122,
"gen_ai.usage.total_tokens": 13170,
"gen_ai.response.model": "gpt-4o-mini-2024-07-18",
"gen_ai.response.text": "The repeated test message is intended to demonstrate the effect of input length by presenting a lengthy text that reiterates the same phrase multiple times.",
"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.\"}, \"id\": \"call_n13PlvWU6E6e9OSVZWJeLNAb\", \"type\": \"tool_call\"}]",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "847e3f67e51c219f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9e7563a81c7c997a",
"trace_id": "be4ddfd2e4b849cca90d53eaf5e71bf6",
"parent_span_id": "b7c2414fe44becb9",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953512.881784,
"timestamp": 1779953554.987285,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139783165712064",
"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 repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many 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_n13PlvWU6E6e9OSVZWJeLNAb\", \"type\": \"tool_call\"}]",
"gen_ai.response.text": "",
"gen_ai.usage.input_tokens": 5469,
"gen_ai.usage.output_tokens": 1094,
"gen_ai.usage.total_tokens": 6563,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "847e3f67e51c219f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "90c42a492866d1fe",
"trace_id": "be4ddfd2e4b849cca90d53eaf5e71bf6",
"parent_span_id": "b7c2414fe44becb9",
"op": "gen_ai.execute_tool",
"description": "execute_tool get_word_count",
"start_timestamp": 1779953554.992857,
"timestamp": 1779953554.993461,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139783165712064",
"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.\"}",
"gen_ai.tool.output": "{\"content\": \"2400\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"get_word_count\", \"id\": \"None\", \"tool_call_id\": \"call_n13PlvWU6E6e9OSVZWJeLNAb\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "847e3f67e51c219f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bcec13a63d952a9c",
"trace_id": "be4ddfd2e4b849cca90d53eaf5e71bf6",
"parent_span_id": "b7c2414fe44becb9",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953554.998526,
"timestamp": 1779953557.647916,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139783165712064",
"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 repeated test message is intended to demonstrate the effect of input length by presenting a lengthy text that reiterates the same phrase multiple times.",
"gen_ai.usage.input_tokens": 6579,
"gen_ai.usage.output_tokens": 28,
"gen_ai.usage.total_tokens": 6607,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "847e3f67e51c219f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langgraph :: Long Input Agent Test (async, anthropic) 232693ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
ab74ea35gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ab74ea35gen_ai.output.messagesMissing output messages attribute
a17cf2e7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a17cf2e7gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
ab74ea35gen_ai.agent.nameChild span (gen_ai.chat, id: ab74ea35) should have gen_ai.agent.name attribute
9f8e07d3gen_ai.agent.nameChild span (gen_ai.execute_tool, id: 9f8e07d3) should have gen_ai.agent.name attribute
a17cf2e7gen_ai.agent.nameChild span (gen_ai.chat, id: a17cf2e7) should have gen_ai.agent.name attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultCaptured Spans (11)
[
{
"trace_id": "bbb9eb6fa3854d23819fd2cadde1b081",
"span_id": "9e7113726d4d106a",
"parent_span_id": "ab74ea35221a79fe",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:53.843721Z",
"timestamp": "2026-05-28T07:31:53.845079Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12183
},
"data": {
"thread.id": "139687165421248",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "bbb9eb6fa3854d23819fd2cadde1b081",
"span_id": "bc80d320b7ad99b2",
"parent_span_id": "ab74ea35221a79fe",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:53.845164Z",
"timestamp": "2026-05-28T07:31:53.846118Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12183
},
"data": {
"thread.id": "139687165421248",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "bbb9eb6fa3854d23819fd2cadde1b081",
"span_id": "b7bebda0e66107cb",
"parent_span_id": "bc80d320b7ad99b2",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:53.845928Z",
"timestamp": "2026-05-28T07:31:53.846106Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12183
},
"data": {
"thread.id": "139687165421248",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "bbb9eb6fa3854d23819fd2cadde1b081",
"span_id": "866e4a00764c2184",
"parent_span_id": "ab74ea35221a79fe",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:53.846163Z",
"timestamp": "2026-05-28T07:31:53.846182Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12183
},
"data": {
"thread.id": "139687165421248",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "bbb9eb6fa3854d23819fd2cadde1b081",
"span_id": "a5a2912fd182c196",
"parent_span_id": "ab74ea35221a79fe",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:53.847960Z",
"timestamp": "2026-05-28T07:32:17.559061Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139687282248576",
"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": "bbb9eb6fa3854d23819fd2cadde1b081",
"span_id": "a76dd28851464023",
"parent_span_id": "a17cf2e70b590d6e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:32:17.686989Z",
"timestamp": "2026-05-28T07:32:18.959812Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139687282248576",
"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": "90ee42a718021a60",
"trace_id": "bbb9eb6fa3854d23819fd2cadde1b081",
"parent_span_id": null,
"op": "test",
"description": "Long Input Agent Test",
"start_timestamp": "2026-05-28T07:31:53.794055Z",
"timestamp": "2026-05-28T07:32:18.976185Z",
"data": {
"thread.id": "139687282248576",
"thread.name": "MainThread"
}
},
{
"span_id": "bd1c2abaa46376ec",
"trace_id": "bbb9eb6fa3854d23819fd2cadde1b081",
"parent_span_id": "90ee42a718021a60",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent summarizer_assistant",
"start_timestamp": 1779953513.79501,
"timestamp": 1779953538.971765,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139687282248576",
"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": "Great! The text contains 2,400 words. Now here's my one-sentence summary:\n\n**This is an extremely lengthy, repetitive text that consists of the same test message repeated 200 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.\"}, \"id\": \"toolu_01CZ9AVE5KhapCNjCjnWjih9\", \"type\": \"tool_call\"}]",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "90ee42a718021a60",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ab74ea35221a79fe",
"trace_id": "bbb9eb6fa3854d23819fd2cadde1b081",
"parent_span_id": "bd1c2abaa46376ec",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953513.800329,
"timestamp": 1779953537.657228,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139687165421248",
"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.\"}, \"id\": \"toolu_01CZ9AVE5KhapCNjCjnWjih9\", \"type\": \"tool_call\"}]",
"gen_ai.response.text": "",
"gen_ai.usage.input_tokens": 5981,
"gen_ai.usage.output_tokens": 6516,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "90ee42a718021a60",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9f8e07d3a0002ae7",
"trace_id": "bbb9eb6fa3854d23819fd2cadde1b081",
"parent_span_id": "bd1c2abaa46376ec",
"op": "gen_ai.execute_tool",
"description": "execute_tool get_word_count",
"start_timestamp": 1779953537.663237,
"timestamp": 1779953537.664038,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139687165421248",
"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.\"}",
"gen_ai.tool.output": "{\"content\": \"2400\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"get_word_count\", \"id\": \"None\", \"tool_call_id\": \"toolu_01CZ9AVE5KhapCNjCjnWjih9\", \"artifact\": \"None\", \"status\": \"success\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "90ee42a718021a60",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a17cf2e70b590d6e",
"trace_id": "bbb9eb6fa3854d23819fd2cadde1b081",
"parent_span_id": "bd1c2abaa46376ec",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953537.671752,
"timestamp": 1779953538.967791,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139687165421248",
"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_01CZ9AVE5KhapCNjCjnWjih9\", \"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.\"}, \"name\": \"get_word_count\", \"type\": \"tool_use\"}]}, {\"role\": \"tool\", \"content\": \"2400\"}]",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.response.text": "Great! The text contains 2,400 words. Now here's my one-sentence summary:\n\n**This is an extremely lengthy, repetitive text that consists of the same test message repeated 200 times to create a very long input.**",
"gen_ai.usage.input_tokens": 12511,
"gen_ai.usage.output_tokens": 54,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "90ee42a718021a60",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langgraph :: Conversation ID Agent Test (sync, openai) 212879ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
97b83039gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
97b83039gen_ai.output.messagesMissing output messages attribute
b7ca515cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7ca515cgen_ai.output.messagesMissing output messages attribute
9df0e423gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9df0e423gen_ai.output.messagesMissing output messages attribute
8ed2d613gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8ed2d613gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
97b83039gen_ai.agent.nameChild span (gen_ai.chat, id: 97b83039) should have gen_ai.agent.name attribute
b7ca515cgen_ai.agent.nameChild span (gen_ai.chat, id: b7ca515c) should have gen_ai.agent.name attribute
9df0e423gen_ai.agent.nameChild span (gen_ai.chat, id: 9df0e423) should have gen_ai.agent.name attribute
8ed2d613gen_ai.agent.nameChild span (gen_ai.chat, id: 8ed2d613) should have gen_ai.agent.name attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans)→ gen_ai.input.messagesgen_ai.response.text(8 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (17)
[
{
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"span_id": "931cb0c88c8192da",
"parent_span_id": "97b830392e3c0cfb",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:54.707650Z",
"timestamp": "2026-05-28T07:31:54.708936Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12206
},
"data": {
"thread.id": "140149368900480",
"thread.name": "MainThread"
}
},
{
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"span_id": "823fc86af3e10d1d",
"parent_span_id": "97b830392e3c0cfb",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:54.709019Z",
"timestamp": "2026-05-28T07:31:54.709685Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12206
},
"data": {
"thread.id": "140149368900480",
"thread.name": "MainThread"
}
},
{
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"span_id": "ae3b9b2399757c9b",
"parent_span_id": "823fc86af3e10d1d",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:54.709635Z",
"timestamp": "2026-05-28T07:31:54.709673Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12206
},
"data": {
"thread.id": "140149368900480",
"thread.name": "MainThread"
}
},
{
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"span_id": "848a9b8a5877679b",
"parent_span_id": "97b830392e3c0cfb",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:54.709719Z",
"timestamp": "2026-05-28T07:31:54.709733Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12206
},
"data": {
"thread.id": "140149368900480",
"thread.name": "MainThread"
}
},
{
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"span_id": "81007265f70fc726",
"parent_span_id": "97b830392e3c0cfb",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:54.711053Z",
"timestamp": "2026-05-28T07:31:55.385429Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140149368900480",
"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": "71a7a37a8ea04c958a77656d21e497df",
"span_id": "a062b583e277afa1",
"parent_span_id": "b7ca515cffff2da0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:55.394106Z",
"timestamp": "2026-05-28T07:31:56.306237Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140149368900480",
"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": "71a7a37a8ea04c958a77656d21e497df",
"span_id": "b58a527718ef3954",
"parent_span_id": "9df0e423bbaea78c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:56.311515Z",
"timestamp": "2026-05-28T07:31:57.940824Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140149368900480",
"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": "71a7a37a8ea04c958a77656d21e497df",
"span_id": "abdcfc8640dc367a",
"parent_span_id": "8ed2d613ea4675aa",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:57.944075Z",
"timestamp": "2026-05-28T07:31:59.998171Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140149368900480",
"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": "a54021a50ccc3979",
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID Agent Test",
"start_timestamp": "2026-05-28T07:31:54.698629Z",
"timestamp": "2026-05-28T07:31:59.999830Z",
"data": {
"thread.id": "140149368900480",
"thread.name": "MainThread"
}
},
{
"span_id": "ac2581d5cf794ab6",
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"parent_span_id": "a54021a50ccc3979",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953514.69931,
"timestamp": 1779953515.391799,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140149368900480",
"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": "a54021a50ccc3979",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "97b830392e3c0cfb",
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"parent_span_id": "ac2581d5cf794ab6",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953514.703162,
"timestamp": 1779953515.391292,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140149368900480",
"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": "a54021a50ccc3979",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bd75df5da07c3852",
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"parent_span_id": "a54021a50ccc3979",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953515.391877,
"timestamp": 1779953516.307962,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140149368900480",
"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": "a54021a50ccc3979",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b7ca515cffff2da0",
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"parent_span_id": "bd75df5da07c3852",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953515.392989,
"timestamp": 1779953516.30735,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140149368900480",
"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": "a54021a50ccc3979",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b85ef31526e23643",
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"parent_span_id": "a54021a50ccc3979",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953516.308068,
"timestamp": 1779953517.941892,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140149368900480",
"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": 40,
"gen_ai.usage.total_tokens": 51,
"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? For example, are you inquiring about its history, culture, economy, politics, geography, or something else?",
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID Agent Test",
"sentry.segment.id": "a54021a50ccc3979",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9df0e423bbaea78c",
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"parent_span_id": "b85ef31526e23643",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953516.309732,
"timestamp": 1779953517.941477,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140149368900480",
"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 provide more context or specify what aspect of Germany you are interested in? For example, are you inquiring about its history, culture, economy, politics, geography, or something else?",
"gen_ai.usage.input_tokens": 11,
"gen_ai.usage.output_tokens": 40,
"gen_ai.usage.total_tokens": 51,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID Agent Test",
"sentry.segment.id": "a54021a50ccc3979",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "88333cc3ea3615ef",
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"parent_span_id": "a54021a50ccc3979",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953517.941969,
"timestamp": 1779953519.999779,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "140149368900480",
"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": "a54021a50ccc3979",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8ed2d613ea4675aa",
"trace_id": "71a7a37a8ea04c958a77656d21e497df",
"parent_span_id": "88333cc3ea3615ef",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953517.943024,
"timestamp": 1779953519.999208,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140149368900480",
"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": "a54021a50ccc3979",
"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 110521ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
861774fcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
861774fcgen_ai.output.messagesMissing output messages attribute
9294a1e1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9294a1e1gen_ai.output.messagesMissing output messages attribute
9a91f84egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9a91f84egen_ai.output.messagesMissing output messages attribute
b7e72290gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7e72290gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
861774fcgen_ai.agent.nameChild span (gen_ai.chat, id: 861774fc) should have gen_ai.agent.name attribute
9294a1e1gen_ai.agent.nameChild span (gen_ai.chat, id: 9294a1e1) should have gen_ai.agent.name attribute
9a91f84egen_ai.agent.nameChild span (gen_ai.chat, id: 9a91f84e) should have gen_ai.agent.name attribute
b7e72290gen_ai.agent.nameChild span (gen_ai.chat, id: b7e72290) should have gen_ai.agent.name attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
a2d2fb86gen_ai.usage.input_tokensinput_tokens must exist
a2d2fb86gen_ai.usage.output_tokensoutput_tokens must exist
a2d2fb86gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans)→ gen_ai.input.messagesgen_ai.response.text(8 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (17)
[
{
"trace_id": "72bff3a2efd64239b453953353fd454f",
"span_id": "b9234844606c2c89",
"parent_span_id": "861774fc01689faf",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:54.896167Z",
"timestamp": "2026-05-28T07:31:54.896960Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12210
},
"data": {
"thread.id": "139930780593024",
"thread.name": "MainThread"
}
},
{
"trace_id": "72bff3a2efd64239b453953353fd454f",
"span_id": "bf6e60921530df4d",
"parent_span_id": "861774fc01689faf",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:54.897044Z",
"timestamp": "2026-05-28T07:31:54.897521Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12210
},
"data": {
"thread.id": "139930780593024",
"thread.name": "MainThread"
}
},
{
"trace_id": "72bff3a2efd64239b453953353fd454f",
"span_id": "9163c4812b7738eb",
"parent_span_id": "bf6e60921530df4d",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:54.897476Z",
"timestamp": "2026-05-28T07:31:54.897511Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12210
},
"data": {
"thread.id": "139930780593024",
"thread.name": "MainThread"
}
},
{
"trace_id": "72bff3a2efd64239b453953353fd454f",
"span_id": "b2700346826dc37f",
"parent_span_id": "861774fc01689faf",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:54.897545Z",
"timestamp": "2026-05-28T07:31:54.897554Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12210
},
"data": {
"thread.id": "139930780593024",
"thread.name": "MainThread"
}
},
{
"trace_id": "72bff3a2efd64239b453953353fd454f",
"span_id": "bde5c36822585e8f",
"parent_span_id": "861774fc01689faf",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:54.898380Z",
"timestamp": "2026-05-28T07:31:55.419224Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139930780593024",
"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": "72bff3a2efd64239b453953353fd454f",
"span_id": "b19b816f61e60d00",
"parent_span_id": "9294a1e1d93b9abe",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:55.445561Z",
"timestamp": "2026-05-28T07:31:56.101268Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139930780593024",
"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": "72bff3a2efd64239b453953353fd454f",
"span_id": "8c8a7e2d1dbf9f2d",
"parent_span_id": "9a91f84e1a85d0c7",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:56.106076Z",
"timestamp": "2026-05-28T07:31:57.969916Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139930780593024",
"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": "72bff3a2efd64239b453953353fd454f",
"span_id": "a3706baf22cd0f4c",
"parent_span_id": "b7e722908dc50723",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:57.972910Z",
"timestamp": "2026-05-28T07:31:58.493103Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139930780593024",
"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": "9aa334e3d0d6949f",
"trace_id": "72bff3a2efd64239b453953353fd454f",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID Agent Test",
"start_timestamp": "2026-05-28T07:31:54.874032Z",
"timestamp": "2026-05-28T07:31:58.494679Z",
"data": {
"thread.id": "139930780593024",
"thread.name": "MainThread"
}
},
{
"span_id": "a2d2fb8642bab2e4",
"trace_id": "72bff3a2efd64239b453953353fd454f",
"parent_span_id": "9aa334e3d0d6949f",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953514.874527,
"timestamp": 1779953515.443457,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139930780593024",
"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": "9aa334e3d0d6949f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "861774fc01689faf",
"trace_id": "72bff3a2efd64239b453953353fd454f",
"parent_span_id": "a2d2fb8642bab2e4",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953514.876805,
"timestamp": 1779953515.442964,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139930780593024",
"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": "9aa334e3d0d6949f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a9fdab360565903e",
"trace_id": "72bff3a2efd64239b453953353fd454f",
"parent_span_id": "9aa334e3d0d6949f",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953515.443532,
"timestamp": 1779953516.102939,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139930780593024",
"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": "9aa334e3d0d6949f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9294a1e1d93b9abe",
"trace_id": "72bff3a2efd64239b453953353fd454f",
"parent_span_id": "a9fdab360565903e",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953515.444631,
"timestamp": 1779953516.102325,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139930780593024",
"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": "9aa334e3d0d6949f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "aa1f2d8803306f8e",
"trace_id": "72bff3a2efd64239b453953353fd454f",
"parent_span_id": "9aa334e3d0d6949f",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953516.103043,
"timestamp": 1779953517.97095,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139930780593024",
"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 enough context to answer your question about Germany. Could you provide more details about what you'd like to know? For example:\n\n- Economics, politics, or history?\n- A specific time period?\n- Comparison with another country?\n- Current events?\n- Culture, geography, or something else?\n\nFeel free to ask and I'll be happy to help!",
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID Agent Test",
"sentry.segment.id": "9aa334e3d0d6949f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9a91f84e1a85d0c7",
"trace_id": "72bff3a2efd64239b453953353fd454f",
"parent_span_id": "aa1f2d8803306f8e",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953516.104693,
"timestamp": 1779953517.970538,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139930780593024",
"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 enough context to answer your question about Germany. Could you provide more details about what you'd like to know? For example:\n\n- Economics, politics, or history?\n- A specific time period?\n- Comparison with another country?\n- Current events?\n- Culture, geography, or something else?\n\nFeel free to ask and I'll be happy to help!",
"gen_ai.usage.input_tokens": 11,
"gen_ai.usage.output_tokens": 84,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID Agent Test",
"sentry.segment.id": "9aa334e3d0d6949f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ae315a5a5d0ad54c",
"trace_id": "72bff3a2efd64239b453953353fd454f",
"parent_span_id": "9aa334e3d0d6949f",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953517.971024,
"timestamp": 1779953518.494609,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139930780593024",
"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": "9aa334e3d0d6949f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b7e722908dc50723",
"trace_id": "72bff3a2efd64239b453953353fd454f",
"parent_span_id": "ae315a5a5d0ad54c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953517.972059,
"timestamp": 1779953518.494065,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139930780593024",
"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": 14,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID Agent Test",
"sentry.segment.id": "9aa334e3d0d6949f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langgraph :: Conversation ID Agent Test (async, openai) 211920ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
95b62ce7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
95b62ce7gen_ai.output.messagesMissing output messages attribute
9f7fc5a0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f7fc5a0gen_ai.output.messagesMissing output messages attribute
8e296375gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8e296375gen_ai.output.messagesMissing output messages attribute
a454a076gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a454a076gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
95b62ce7gen_ai.agent.nameChild span (gen_ai.chat, id: 95b62ce7) should have gen_ai.agent.name attribute
9f7fc5a0gen_ai.agent.nameChild span (gen_ai.chat, id: 9f7fc5a0) should have gen_ai.agent.name attribute
8e296375gen_ai.agent.nameChild span (gen_ai.chat, id: 8e296375) should have gen_ai.agent.name attribute
a454a076gen_ai.agent.nameChild span (gen_ai.chat, id: a454a076) should have gen_ai.agent.name attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans)→ gen_ai.input.messagesgen_ai.response.text(8 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (17)
[
{
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"span_id": "b80f643d418b4b5c",
"parent_span_id": "95b62ce758530890",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:54.651717Z",
"timestamp": "2026-05-28T07:31:54.653902Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12202
},
"data": {
"thread.id": "139834054530752",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"span_id": "a664578edb8fcde9",
"parent_span_id": "95b62ce758530890",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:54.653998Z",
"timestamp": "2026-05-28T07:31:54.654125Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12202
},
"data": {
"thread.id": "139834054530752",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"span_id": "b6910b8aea8a49ca",
"parent_span_id": "a664578edb8fcde9",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:54.654082Z",
"timestamp": "2026-05-28T07:31:54.654115Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12202
},
"data": {
"thread.id": "139834054530752",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"span_id": "8f3e51924e7ebb65",
"parent_span_id": "95b62ce758530890",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:54.654158Z",
"timestamp": "2026-05-28T07:31:54.654172Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12202
},
"data": {
"thread.id": "139834054530752",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"span_id": "b7cdf469d7535fdc",
"parent_span_id": "95b62ce758530890",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:54.655778Z",
"timestamp": "2026-05-28T07:31:55.344971Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139834170960768",
"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": "e737bbd498864af48dd30bac83aadb94",
"span_id": "970c30dc180eace4",
"parent_span_id": "9f7fc5a06ba8d6b0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:55.355562Z",
"timestamp": "2026-05-28T07:31:55.930010Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139834170960768",
"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": "e737bbd498864af48dd30bac83aadb94",
"span_id": "adf8e1b4d30c7c45",
"parent_span_id": "8e29637558ff13b1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:55.937414Z",
"timestamp": "2026-05-28T07:31:57.677855Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139834170960768",
"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": "e737bbd498864af48dd30bac83aadb94",
"span_id": "831a19626f9088c2",
"parent_span_id": "a454a07625f03bfc",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:31:57.683035Z",
"timestamp": "2026-05-28T07:31:59.849999Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139834170960768",
"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": "932274b4c2825b07",
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID Agent Test",
"start_timestamp": "2026-05-28T07:31:54.640996Z",
"timestamp": "2026-05-28T07:31:59.854042Z",
"data": {
"thread.id": "139834170960768",
"thread.name": "MainThread"
}
},
{
"span_id": "847a82be79af1e1b",
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"parent_span_id": "932274b4c2825b07",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953514.641943,
"timestamp": 1779953515.352324,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139834170960768",
"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": "932274b4c2825b07",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "95b62ce758530890",
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"parent_span_id": "847a82be79af1e1b",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953514.646837,
"timestamp": 1779953515.351172,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139834054530752",
"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": "932274b4c2825b07",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bc29ce537b4366b8",
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"parent_span_id": "932274b4c2825b07",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953515.352402,
"timestamp": 1779953515.933193,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139834170960768",
"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": "932274b4c2825b07",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9f7fc5a06ba8d6b0",
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"parent_span_id": "bc29ce537b4366b8",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953515.354226,
"timestamp": 1779953515.931786,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139834054530752",
"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": "932274b4c2825b07",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b6c4c757c69f2608",
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"parent_span_id": "932274b4c2825b07",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953515.93329,
"timestamp": 1779953517.679963,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139834170960768",
"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": 53,
"gen_ai.usage.total_tokens": 64,
"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 would like to know about? There are many topics to cover, such as its culture, history, economy, geography, or current events. Your clarification would help me give you the most relevant information!",
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID Agent Test",
"sentry.segment.id": "932274b4c2825b07",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8e29637558ff13b1",
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"parent_span_id": "b6c4c757c69f2608",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953515.935679,
"timestamp": 1779953517.678978,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139834037749440",
"thread.name": "asyncio_1",
"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 would like to know about? There are many topics to cover, such as its culture, history, economy, geography, or current events. Your clarification would help me give you the most relevant information!",
"gen_ai.usage.input_tokens": 11,
"gen_ai.usage.output_tokens": 53,
"gen_ai.usage.total_tokens": 64,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID Agent Test",
"sentry.segment.id": "932274b4c2825b07",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ad3665b694cde867",
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"parent_span_id": "932274b4c2825b07",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953517.680038,
"timestamp": 1779953519.853107,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139834170960768",
"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": "932274b4c2825b07",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a454a07625f03bfc",
"trace_id": "e737bbd498864af48dd30bac83aadb94",
"parent_span_id": "ad3665b694cde867",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953517.68179,
"timestamp": 1779953519.851547,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139834037749440",
"thread.name": "asyncio_1",
"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": "932274b4c2825b07",
"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 110994ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
8462a97bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8462a97bgen_ai.output.messagesMissing output messages attribute
8a5b34b0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8a5b34b0gen_ai.output.messagesMissing output messages attribute
b0bdb59agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0bdb59agen_ai.output.messagesMissing output messages attribute
a25dfa51gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a25dfa51gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
8462a97bgen_ai.agent.nameChild span (gen_ai.chat, id: 8462a97b) should have gen_ai.agent.name attribute
8a5b34b0gen_ai.agent.nameChild span (gen_ai.chat, id: 8a5b34b0) should have gen_ai.agent.name attribute
b0bdb59agen_ai.agent.nameChild span (gen_ai.chat, id: b0bdb59a) should have gen_ai.agent.name attribute
a25dfa51gen_ai.agent.nameChild span (gen_ai.chat, id: a25dfa51) should have gen_ai.agent.name attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
9833af38gen_ai.usage.input_tokensinput_tokens must exist
9833af38gen_ai.usage.output_tokensoutput_tokens must exist
9833af38gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans)→ gen_ai.input.messagesgen_ai.response.text(8 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (17)
[
{
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"span_id": "91a66f27b5d7726d",
"parent_span_id": "8462a97b600b6d2e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:54.584741Z",
"timestamp": "2026-05-28T07:31:54.586821Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12198
},
"data": {
"thread.id": "139691354482368",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"span_id": "857c8ec882910d80",
"parent_span_id": "8462a97b600b6d2e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:54.586918Z",
"timestamp": "2026-05-28T07:31:54.587045Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12198
},
"data": {
"thread.id": "139691354482368",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"span_id": "b46da9aceb2a5a43",
"parent_span_id": "857c8ec882910d80",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:54.587006Z",
"timestamp": "2026-05-28T07:31:54.587035Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12198
},
"data": {
"thread.id": "139691354482368",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"span_id": "85d5ac1983c78d93",
"parent_span_id": "8462a97b600b6d2e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:54.587079Z",
"timestamp": "2026-05-28T07:31:54.587092Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12198
},
"data": {
"thread.id": "139691354482368",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"span_id": "903353762c5f8a11",
"parent_span_id": "8462a97b600b6d2e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:54.588823Z",
"timestamp": "2026-05-28T07:31:55.126272Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139691469368192",
"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": "049bc7b86e6246bbb76458aea75c540f",
"span_id": "a7b1fd3013949040",
"parent_span_id": "8a5b34b0be397a29",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:55.150474Z",
"timestamp": "2026-05-28T07:31:55.820071Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139691469368192",
"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": "049bc7b86e6246bbb76458aea75c540f",
"span_id": "a921e3492ed37949",
"parent_span_id": "b0bdb59a4f42e284",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:55.826218Z",
"timestamp": "2026-05-28T07:31:57.714119Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139691469368192",
"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": "049bc7b86e6246bbb76458aea75c540f",
"span_id": "bbde1dd9878dfd9c",
"parent_span_id": "a25dfa51e902ec11",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:31:57.718822Z",
"timestamp": "2026-05-28T07:31:59.242943Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139691469368192",
"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": "88d9bfaea1d898b1",
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID Agent Test",
"start_timestamp": "2026-05-28T07:31:54.538267Z",
"timestamp": "2026-05-28T07:31:59.245531Z",
"data": {
"thread.id": "139691469368192",
"thread.name": "MainThread"
}
},
{
"span_id": "9833af389b00b507",
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"parent_span_id": "88d9bfaea1d898b1",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953514.539192,
"timestamp": 1779953515.147607,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139691469368192",
"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": "88d9bfaea1d898b1",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8462a97b600b6d2e",
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"parent_span_id": "9833af389b00b507",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953514.544126,
"timestamp": 1779953515.146495,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139691354482368",
"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": "88d9bfaea1d898b1",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8b362ba1323fca77",
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"parent_span_id": "88d9bfaea1d898b1",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953515.14769,
"timestamp": 1779953515.822488,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139691469368192",
"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": "88d9bfaea1d898b1",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8a5b34b0be397a29",
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"parent_span_id": "8b362ba1323fca77",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953515.149386,
"timestamp": 1779953515.821193,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139691354482368",
"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": "88d9bfaea1d898b1",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bc83a4212671d5ff",
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"parent_span_id": "88d9bfaea1d898b1",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953515.82258,
"timestamp": 1779953517.716023,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139691469368192",
"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'd be happy to help with information about Germany! However, your question is quite open-ended. Could you be more specific about what you'd like to know? For example:\n\n- **History** (medieval period, WWII, reunification, etc.)\n- **Geography** (regions, major cities, climate)\n- **Culture** (traditions, food, customs)\n- **Government and politics**\n- **Economy**\n- **Language**\n- **Tourism and attractions**\n- **Current events**\n\nOr were you referring back to a previous conversation about Germany? If so, I don't have context from earlier messages. Feel free to let me know what aspect interests you most!",
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID Agent Test",
"sentry.segment.id": "88d9bfaea1d898b1",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b0bdb59a4f42e284",
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"parent_span_id": "bc83a4212671d5ff",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953515.824607,
"timestamp": 1779953517.714976,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139691354482368",
"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'd be happy to help with information about Germany! However, your question is quite open-ended. Could you be more specific about what you'd like to know? For example:\n\n- **History** (medieval period, WWII, reunification, etc.)\n- **Geography** (regions, major cities, climate)\n- **Culture** (traditions, food, customs)\n- **Government and politics**\n- **Economy**\n- **Language**\n- **Tourism and attractions**\n- **Current events**\n\nOr were you referring back to a previous conversation about Germany? If so, I don't have context from earlier messages. Feel free to let me know what aspect interests you most!",
"gen_ai.usage.input_tokens": 11,
"gen_ai.usage.output_tokens": 150,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID Agent Test",
"sentry.segment.id": "88d9bfaea1d898b1",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a6b1bbd325b36244",
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"parent_span_id": "88d9bfaea1d898b1",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953517.716097,
"timestamp": 1779953519.244807,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.langgraph",
"thread.id": "139691469368192",
"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": "88d9bfaea1d898b1",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a25dfa51e902ec11",
"trace_id": "049bc7b86e6246bbb76458aea75c540f",
"parent_span_id": "a6b1bbd325b36244",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953517.71774,
"timestamp": 1779953519.243769,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139691261163200",
"thread.name": "asyncio_1",
"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": "88d9bfaea1d898b1",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/openai-agents :: Basic Agent Test (async) 14483ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
80abe51egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
80abe51egen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(2 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "a8287dfd8e8d444eabc68705a6366850",
"span_id": "b14205ab96a4a914",
"parent_span_id": "8fb9ecd544701775",
"same_process_as_parent": true,
"op": null,
"description": "helpful_assistant workflow",
"start_timestamp": "2026-05-28T07:31:57.332064Z",
"timestamp": "2026-05-28T07:31:58.255820Z",
"origin": "auto.ai.openai_agents",
"data": {
"thread.id": "140403977141120",
"thread.name": "MainThread"
}
},
{
"trace_id": "a8287dfd8e8d444eabc68705a6366850",
"span_id": "aa7bc6a7ee6f73e7",
"parent_span_id": "80abe51eb3fff427",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:57.355869Z",
"timestamp": "2026-05-28T07:31:57.356782Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12239
},
"data": {
"thread.id": "140403861038784",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a8287dfd8e8d444eabc68705a6366850",
"span_id": "8befbbeaab91d2ec",
"parent_span_id": "80abe51eb3fff427",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:57.356861Z",
"timestamp": "2026-05-28T07:31:57.357389Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12239
},
"data": {
"thread.id": "140403861038784",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a8287dfd8e8d444eabc68705a6366850",
"span_id": "88b0184c5dfd19ab",
"parent_span_id": "8befbbeaab91d2ec",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:57.357343Z",
"timestamp": "2026-05-28T07:31:57.357378Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12239
},
"data": {
"thread.id": "140403861038784",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a8287dfd8e8d444eabc68705a6366850",
"span_id": "b2a6b387c1ca0ec0",
"parent_span_id": "80abe51eb3fff427",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:57.357413Z",
"timestamp": "2026-05-28T07:31:57.357422Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12239
},
"data": {
"thread.id": "140403861038784",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a8287dfd8e8d444eabc68705a6366850",
"span_id": "acae56b98f939273",
"parent_span_id": "80abe51eb3fff427",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:31:57.358489Z",
"timestamp": "2026-05-28T07:31:58.155169Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140403977141120",
"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": "8fb9ecd544701775",
"trace_id": "a8287dfd8e8d444eabc68705a6366850",
"parent_span_id": null,
"op": "test",
"description": "Basic Agent Test",
"start_timestamp": "2026-05-28T07:31:57.331311Z",
"timestamp": "2026-05-28T07:31:58.256650Z",
"data": {
"thread.id": "140403977141120",
"thread.name": "MainThread"
}
},
{
"span_id": "aaf70f5a7de3a752",
"trace_id": "a8287dfd8e8d444eabc68705a6366850",
"parent_span_id": "b14205ab96a4a914",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953517.332986,
"timestamp": 1779953518.25574,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140403977141120",
"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": "8fb9ecd544701775",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "80abe51eb3fff427",
"trace_id": "a8287dfd8e8d444eabc68705a6366850",
"parent_span_id": "aaf70f5a7de3a752",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953517.351093,
"timestamp": 1779953518.255354,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140403977141120",
"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": "8fb9ecd544701775",
"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) 17117ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
8ce7a30cgen_ai.output.messagesMissing output messages attribute
a5402b4egen_ai.output.messagesMissing output messages attribute
b9ef5d65gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b9ef5d65gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
Checks
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.available_tools(6 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(6 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultCaptured Spans (15)
[
{
"trace_id": "f66713aed6ec4092bef2a9a5c2b600ac",
"span_id": "ba0985244a0bc946",
"parent_span_id": "b3f91e35c44de99f",
"same_process_as_parent": true,
"op": null,
"description": "math_assistant workflow",
"start_timestamp": "2026-05-28T07:31:57.261401Z",
"timestamp": "2026-05-28T07:32:00.225068Z",
"origin": "auto.ai.openai_agents",
"data": {
"thread.id": "140204915563392",
"thread.name": "MainThread"
}
},
{
"trace_id": "f66713aed6ec4092bef2a9a5c2b600ac",
"span_id": "8654664d43a2f80e",
"parent_span_id": "8ce7a30ce0485001",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:57.289044Z",
"timestamp": "2026-05-28T07:31:57.290014Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12233
},
"data": {
"thread.id": "140204798322368",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "f66713aed6ec4092bef2a9a5c2b600ac",
"span_id": "acec86af370e0a3c",
"parent_span_id": "8ce7a30ce0485001",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:57.290093Z",
"timestamp": "2026-05-28T07:31:57.290648Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12233
},
"data": {
"thread.id": "140204798322368",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "f66713aed6ec4092bef2a9a5c2b600ac",
"span_id": "8aad686c857ac87d",
"parent_span_id": "acec86af370e0a3c",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:57.290573Z",
"timestamp": "2026-05-28T07:31:57.290627Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12233
},
"data": {
"thread.id": "140204798322368",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "f66713aed6ec4092bef2a9a5c2b600ac",
"span_id": "92a9f9826aa097e5",
"parent_span_id": "8ce7a30ce0485001",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:57.290672Z",
"timestamp": "2026-05-28T07:31:57.290682Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12233
},
"data": {
"thread.id": "140204798322368",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "f66713aed6ec4092bef2a9a5c2b600ac",
"span_id": "b22ab1d388f47f8d",
"parent_span_id": "8ce7a30ce0485001",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:31:57.291719Z",
"timestamp": "2026-05-28T07:31:58.242069Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140204915563392",
"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": "f66713aed6ec4092bef2a9a5c2b600ac",
"span_id": "a6dbeb50e9d1aaac",
"parent_span_id": "a5402b4eb93c5db6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:31:58.362854Z",
"timestamp": "2026-05-28T07:31:59.258933Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140204915563392",
"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": "f66713aed6ec4092bef2a9a5c2b600ac",
"span_id": "9dfcd994dce80945",
"parent_span_id": "b9ef5d658743873d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:31:59.270070Z",
"timestamp": "2026-05-28T07:32:00.220090Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140204915563392",
"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": "b3f91e35c44de99f",
"trace_id": "f66713aed6ec4092bef2a9a5c2b600ac",
"parent_span_id": null,
"op": "test",
"description": "Tool Call Agent Test",
"start_timestamp": "2026-05-28T07:31:57.260541Z",
"timestamp": "2026-05-28T07:32:00.227207Z",
"data": {
"thread.id": "140204915563392",
"thread.name": "MainThread"
}
},
{
"span_id": "bb99ba823a33e50c",
"trace_id": "f66713aed6ec4092bef2a9a5c2b600ac",
"parent_span_id": "ba0985244a0bc946",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent math_assistant",
"start_timestamp": 1779953517.262396,
"timestamp": 1779953520.224954,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140204915563392",
"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": 58,
"gen_ai.usage.output_tokens.reasoning": 0,
"gen_ai.usage.total_tokens": 520,
"gen_ai.response.text": "The result of \\((3 + 5) * 4\\) is \\(32\\).",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "b3f91e35c44de99f",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8ce7a30ce0485001",
"trace_id": "f66713aed6ec4092bef2a9a5c2b600ac",
"parent_span_id": "bb99ba823a33e50c",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953517.281723,
"timestamp": 1779953518.358434,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140204915563392",
"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_kFG9eu9QRNd6kdtdjXujVTPS\", \"name\": \"add\", \"type\": \"function_call\", \"id\": \"fc_0372e640d0aab8c3006a17ef6de2488196b6732f564869e62f\", \"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": "b3f91e35c44de99f",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b63b18d44e81b4d7",
"trace_id": "f66713aed6ec4092bef2a9a5c2b600ac",
"parent_span_id": "bb99ba823a33e50c",
"op": "gen_ai.execute_tool",
"description": "execute_tool add",
"start_timestamp": 1779953518.358815,
"timestamp": 1779953518.358941,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140204915563392",
"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": "b3f91e35c44de99f",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a5402b4eb93c5db6",
"trace_id": "f66713aed6ec4092bef2a9a5c2b600ac",
"parent_span_id": "bb99ba823a33e50c",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953518.359406,
"timestamp": 1779953519.260342,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140204915563392",
"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_kFG9eu9QRNd6kdtdjXujVTPS\", \"name\": \"add\", \"type\": \"function_call\", \"id\": \"fc_0372e640d0aab8c3006a17ef6de2488196b6732f564869e62f\", \"status\": \"completed\"}]}, {\"role\": \"tool\", \"content\": [{\"call_id\": \"call_kFG9eu9QRNd6kdtdjXujVTPS\", \"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_cJp9UCe4lUmb6uaKpJNgh4ft\", \"name\": \"multiply\", \"type\": \"function_call\", \"id\": \"fc_0372e640d0aab8c3006a17ef6eec388196a27630156d732da7\", \"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": "b3f91e35c44de99f",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ae4bf07728ba38ac",
"trace_id": "f66713aed6ec4092bef2a9a5c2b600ac",
"parent_span_id": "bb99ba823a33e50c",
"op": "gen_ai.execute_tool",
"description": "execute_tool multiply",
"start_timestamp": 1779953519.260844,
"timestamp": 1779953519.261015,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140204915563392",
"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": "b3f91e35c44de99f",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b9ef5d658743873d",
"trace_id": "f66713aed6ec4092bef2a9a5c2b600ac",
"parent_span_id": "bb99ba823a33e50c",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953519.261729,
"timestamp": 1779953520.221331,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140204915563392",
"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_kFG9eu9QRNd6kdtdjXujVTPS\", \"name\": \"add\", \"type\": \"function_call\", \"id\": \"fc_0372e640d0aab8c3006a17ef6de2488196b6732f564869e62f\", \"status\": \"completed\"}]}, {\"role\": \"tool\", \"content\": [{\"call_id\": \"call_kFG9eu9QRNd6kdtdjXujVTPS\", \"output\": \"8\", \"type\": \"function_call_output\"}]}, {\"role\": \"assistant\", \"content\": [{\"arguments\": \"{\\\"a\\\":\\\"8\\\",\\\"b\\\":\\\"4\\\"}\", \"call_id\": \"call_cJp9UCe4lUmb6uaKpJNgh4ft\", \"name\": \"multiply\", \"type\": \"function_call\", \"id\": \"fc_0372e640d0aab8c3006a17ef6eec388196a27630156d732da7\", \"status\": \"completed\"}]}, {\"role\": \"tool\", \"content\": [{\"call_id\": \"call_cJp9UCe4lUmb6uaKpJNgh4ft\", \"output\": \"32\", \"type\": \"function_call_output\"}]}]",
"gen_ai.usage.input_tokens": 180,
"gen_ai.usage.input_tokens.cached": 0,
"gen_ai.usage.output_tokens": 22,
"gen_ai.usage.output_tokens.reasoning": 0,
"gen_ai.usage.total_tokens": 202,
"gen_ai.response.text": "The result of \\((3 + 5) * 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": "b3f91e35c44de99f",
"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) 15505ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
91202454gen_ai.output.messagesMissing output messages attribute
a8c85142gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8c85142gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
Checks
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(4 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultCaptured Spans (12)
[
{
"trace_id": "e61ba8c4938a43b783aafc7d0de688fe",
"span_id": "90e5cf748b7e30c4",
"parent_span_id": "993844435e3b4404",
"same_process_as_parent": true,
"op": null,
"description": "file_assistant workflow",
"start_timestamp": "2026-05-28T07:31:57.335178Z",
"timestamp": "2026-05-28T07:31:59.802133Z",
"origin": "auto.ai.openai_agents",
"data": {
"thread.id": "139675919563648",
"thread.name": "MainThread"
}
},
{
"trace_id": "e61ba8c4938a43b783aafc7d0de688fe",
"span_id": "a2a2c50a7b2a93f1",
"parent_span_id": "91202454a35eca8e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:31:57.363755Z",
"timestamp": "2026-05-28T07:31:57.364603Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12241
},
"data": {
"thread.id": "139675803264704",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e61ba8c4938a43b783aafc7d0de688fe",
"span_id": "8051e7ef605890de",
"parent_span_id": "91202454a35eca8e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:31:57.364693Z",
"timestamp": "2026-05-28T07:31:57.365203Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12241
},
"data": {
"thread.id": "139675803264704",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e61ba8c4938a43b783aafc7d0de688fe",
"span_id": "b40a289f54d5d12f",
"parent_span_id": "8051e7ef605890de",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:57.365158Z",
"timestamp": "2026-05-28T07:31:57.365191Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12241
},
"data": {
"thread.id": "139675803264704",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e61ba8c4938a43b783aafc7d0de688fe",
"span_id": "9a919d29f83d74ae",
"parent_span_id": "91202454a35eca8e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:31:57.365227Z",
"timestamp": "2026-05-28T07:31:57.365236Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12241
},
"data": {
"thread.id": "139675803264704",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e61ba8c4938a43b783aafc7d0de688fe",
"span_id": "8042f5f846744ae0",
"parent_span_id": "91202454a35eca8e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:31:57.366303Z",
"timestamp": "2026-05-28T07:31:58.399754Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139675919563648",
"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": "e61ba8c4938a43b783aafc7d0de688fe",
"span_id": "9a92298ec505e9b6",
"parent_span_id": "a8c851423b1400e1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:31:58.528044Z",
"timestamp": "2026-05-28T07:31:59.800160Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139675919563648",
"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": "993844435e3b4404",
"trace_id": "e61ba8c4938a43b783aafc7d0de688fe",
"parent_span_id": null,
"op": "test",
"description": "Tool Error Agent Test",
"start_timestamp": "2026-05-28T07:31:57.334338Z",
"timestamp": "2026-05-28T07:31:59.803120Z",
"data": {
"thread.id": "139675919563648",
"thread.name": "MainThread"
},
"status": "internal_error"
},
{
"span_id": "be6ecbb5f4a7b563",
"trace_id": "e61ba8c4938a43b783aafc7d0de688fe",
"parent_span_id": "90e5cf748b7e30c4",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent file_assistant",
"start_timestamp": 1779953517.336151,
"timestamp": 1779953519.802034,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "139675919563648",
"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": 49,
"gen_ai.usage.output_tokens.reasoning": 0,
"gen_ai.usage.total_tokens": 264,
"gen_ai.response.text": "It looks like the file at the specified path does not exist. If you have another file or a different path, please let me know!",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Error Agent Test",
"sentry.segment.id": "993844435e3b4404",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "91202454a35eca8e",
"trace_id": "e61ba8c4938a43b783aafc7d0de688fe",
"parent_span_id": "be6ecbb5f4a7b563",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953517.356425,
"timestamp": 1779953518.524129,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "139675919563648",
"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_XBVi9C82BgWA6sV4TejwfTSq\", \"name\": \"read_file\", \"type\": \"function_call\", \"id\": \"fc_04b0dd8dbf436de3006a17ef6e086881909670cc871d4a5856\", \"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": "993844435e3b4404",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "98782ef607557d80",
"trace_id": "e61ba8c4938a43b783aafc7d0de688fe",
"parent_span_id": "be6ecbb5f4a7b563",
"op": "gen_ai.execute_tool",
"description": "execute_tool read_file",
"start_timestamp": 1779953518.524503,
"timestamp": 1779953518.524682,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "139675919563648",
"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": "993844435e3b4404",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "error",
"is_segment": false
},
{
"span_id": "a8c851423b1400e1",
"trace_id": "e61ba8c4938a43b783aafc7d0de688fe",
"parent_span_id": "be6ecbb5f4a7b563",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953518.525147,
"timestamp": 1779953519.801464,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "139675919563648",
"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_XBVi9C82BgWA6sV4TejwfTSq\", \"name\": \"read_file\", \"type\": \"function_call\", \"id\": \"fc_04b0dd8dbf436de3006a17ef6e086881909670cc871d4a5856\", \"status\": \"completed\"}]}, {\"role\": \"tool\", \"content\": [{\"call_id\": \"call_XBVi9C82BgWA6sV4TejwfTSq\", \"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": 30,
"gen_ai.usage.output_tokens.reasoning": 0,
"gen_ai.usage.total_tokens": 166,
"gen_ai.response.text": "It looks like the file at the specified path does not exist. If you have another file or a different path, 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": "993844435e3b4404",
"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 14322ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
a1afb12agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a1afb12agen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a1afb12agen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a1afb12agen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
b3107557gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b3107557gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "af8dc5d382604a30b5bee9ea62569c63",
"span_id": "9332edcbbabaa19b",
"parent_span_id": "befe51ce3e461ea5",
"same_process_as_parent": true,
"op": null,
"description": "vision_assistant workflow",
"start_timestamp": "2026-05-28T07:32:01.042949Z",
"timestamp": "2026-05-28T07:32:02.355546Z",
"origin": "auto.ai.openai_agents",
"data": {
"thread.id": "140594895444864",
"thread.name": "MainThread"
}
},
{
"trace_id": "af8dc5d382604a30b5bee9ea62569c63",
"span_id": "84e2e41a3710923a",
"parent_span_id": "a1afb12a02203971",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:01.089049Z",
"timestamp": "2026-05-28T07:32:01.091228Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12271
},
"data": {
"thread.id": "140594778416832",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "af8dc5d382604a30b5bee9ea62569c63",
"span_id": "8a35b49d7fc3a568",
"parent_span_id": "a1afb12a02203971",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:01.091319Z",
"timestamp": "2026-05-28T07:32:01.091452Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12271
},
"data": {
"thread.id": "140594778416832",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "af8dc5d382604a30b5bee9ea62569c63",
"span_id": "b15619c022d6a386",
"parent_span_id": "8a35b49d7fc3a568",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:01.091411Z",
"timestamp": "2026-05-28T07:32:01.091442Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12271
},
"data": {
"thread.id": "140594778416832",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "af8dc5d382604a30b5bee9ea62569c63",
"span_id": "a235c50b2828e27e",
"parent_span_id": "a1afb12a02203971",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:01.091486Z",
"timestamp": "2026-05-28T07:32:01.091501Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12271
},
"data": {
"thread.id": "140594778416832",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "af8dc5d382604a30b5bee9ea62569c63",
"span_id": "a8fb2e9dcbad1e73",
"parent_span_id": "a1afb12a02203971",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:32:01.093316Z",
"timestamp": "2026-05-28T07:32:02.152034Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140594895444864",
"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": "befe51ce3e461ea5",
"trace_id": "af8dc5d382604a30b5bee9ea62569c63",
"parent_span_id": null,
"op": "test",
"description": "Vision Agent Test",
"start_timestamp": "2026-05-28T07:32:01.041952Z",
"timestamp": "2026-05-28T07:32:02.356579Z",
"data": {
"thread.id": "140594895444864",
"thread.name": "MainThread"
}
},
{
"span_id": "b31075571015803d",
"trace_id": "af8dc5d382604a30b5bee9ea62569c63",
"parent_span_id": "9332edcbbabaa19b",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent vision_assistant",
"start_timestamp": 1779953521.044412,
"timestamp": 1779953522.355452,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140594895444864",
"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": "befe51ce3e461ea5",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a1afb12a02203971",
"trace_id": "af8dc5d382604a30b5bee9ea62569c63",
"parent_span_id": "b31075571015803d",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953521.078278,
"timestamp": 1779953522.354847,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140594895444864",
"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": "befe51ce3e461ea5",
"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) 135001ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
aef41dfagen_ai.output.messagesMissing output messages attribute
9c7c9325gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c7c9325gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(4 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultCaptured Spans (13)
[
{
"trace_id": "259f6ede4d694b89a3f79ae5e65eeb50",
"span_id": "a9b30ea5cc7008bf",
"parent_span_id": "8a3762793ea40c27",
"same_process_as_parent": true,
"op": null,
"description": "summarizer_assistant workflow",
"start_timestamp": "2026-05-28T07:32:01.724532Z",
"timestamp": "2026-05-28T07:32:33.478816Z",
"origin": "auto.ai.openai_agents",
"data": {
"thread.id": "140368109972352",
"thread.name": "MainThread"
}
},
{
"trace_id": "259f6ede4d694b89a3f79ae5e65eeb50",
"span_id": "b4d073347dc26999",
"parent_span_id": "aef41dfa3932486e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:01.776468Z",
"timestamp": "2026-05-28T07:32:01.781713Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12278
},
"data": {
"thread.id": "140367919838912",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "259f6ede4d694b89a3f79ae5e65eeb50",
"span_id": "8fba52f39c688d29",
"parent_span_id": "aef41dfa3932486e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:01.781805Z",
"timestamp": "2026-05-28T07:32:01.781943Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12278
},
"data": {
"thread.id": "140367919838912",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "259f6ede4d694b89a3f79ae5e65eeb50",
"span_id": "a1219adf4bf1f5cc",
"parent_span_id": "8fba52f39c688d29",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:01.781898Z",
"timestamp": "2026-05-28T07:32:01.781933Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12278
},
"data": {
"thread.id": "140367919838912",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "259f6ede4d694b89a3f79ae5e65eeb50",
"span_id": "8eb74490abbe93df",
"parent_span_id": "aef41dfa3932486e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:01.781979Z",
"timestamp": "2026-05-28T07:32:01.781994Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12278
},
"data": {
"thread.id": "140367919838912",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "259f6ede4d694b89a3f79ae5e65eeb50",
"span_id": "a4630c41a38dbb43",
"parent_span_id": "aef41dfa3932486e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:32:01.783931Z",
"timestamp": "2026-05-28T07:32:32.101365Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140368109972352",
"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": "259f6ede4d694b89a3f79ae5e65eeb50",
"span_id": "832f6481bdd014ee",
"parent_span_id": "a9b30ea5cc7008bf",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/traces/ingest",
"start_timestamp": "2026-05-28T07:32:05.536296Z",
"timestamp": "2026-05-28T07:32:05.887247Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "204",
"status": "ok"
},
"data": {
"thread.id": "140368010872512",
"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": "259f6ede4d694b89a3f79ae5e65eeb50",
"span_id": "b82b76368b5787c9",
"parent_span_id": "9c7c9325742b65e2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:32:32.378755Z",
"timestamp": "2026-05-28T07:32:33.472453Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140368109972352",
"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": "8a3762793ea40c27",
"trace_id": "259f6ede4d694b89a3f79ae5e65eeb50",
"parent_span_id": null,
"op": "test",
"description": "Long Input Agent Test",
"start_timestamp": "2026-05-28T07:32:01.723312Z",
"timestamp": "2026-05-28T07:32:33.482206Z",
"data": {
"thread.id": "140368109972352",
"thread.name": "MainThread"
}
},
{
"span_id": "8e6985affed5376c",
"trace_id": "259f6ede4d694b89a3f79ae5e65eeb50",
"parent_span_id": "a9b30ea5cc7008bf",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent summarizer_assistant",
"start_timestamp": 1779953521.725956,
"timestamp": 1779953553.478712,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140368109972352",
"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": 12286,
"gen_ai.usage.input_tokens.cached": 6656,
"gen_ai.usage.output_tokens": 1332,
"gen_ai.usage.output_tokens.reasoning": 0,
"gen_ai.usage.total_tokens": 13618,
"gen_ai.response.text": "The text repeats a test message many times to create a lengthy input of 2400 words.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "8a3762793ea40c27",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "aef41dfa3932486e",
"trace_id": "259f6ede4d694b89a3f79ae5e65eeb50",
"parent_span_id": "8e6985affed5376c",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953521.762754,
"timestamp": 1779953552.372231,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140368109972352",
"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": 1311,
"gen_ai.usage.output_tokens.reasoning": 0,
"gen_ai.usage.total_tokens": 6793,
"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. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many 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_J2a1giraSNpS5KwWFnOyIZgP\", \"name\": \"get_word_count\", \"type\": \"function_call\", \"id\": \"fc_0992ba1ab88a5337006a17ef744f3c8197805601baec42205a\", \"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": "8a3762793ea40c27",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9b24fbead91015ad",
"trace_id": "259f6ede4d694b89a3f79ae5e65eeb50",
"parent_span_id": "8e6985affed5376c",
"op": "gen_ai.execute_tool",
"description": "execute_tool get_word_count",
"start_timestamp": 1779953552.37284,
"timestamp": 1779953552.373015,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140368109972352",
"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. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many 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": "8a3762793ea40c27",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9c7c9325742b65e2",
"trace_id": "259f6ede4d694b89a3f79ae5e65eeb50",
"parent_span_id": "8e6985affed5376c",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953552.373695,
"timestamp": 1779953553.477457,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140368109972352",
"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. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many 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_J2a1giraSNpS5KwWFnOyIZgP\", \"name\": \"get_word_count\", \"type\": \"function_call\", \"id\": \"fc_0992ba1ab88a5337006a17ef744f3c8197805601baec42205a\", \"status\": \"completed\"}]}, {\"role\": \"tool\", \"content\": [{\"call_id\": \"call_J2a1giraSNpS5KwWFnOyIZgP\", \"output\": \"2400\", \"type\": \"function_call_output\"}]}]",
"gen_ai.usage.input_tokens": 6804,
"gen_ai.usage.input_tokens.cached": 6656,
"gen_ai.usage.output_tokens": 21,
"gen_ai.usage.output_tokens.reasoning": 0,
"gen_ai.usage.total_tokens": 6825,
"gen_ai.response.text": "The text repeats a test message many times to create a lengthy input of 2400 words.",
"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": "8a3762793ea40c27",
"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) 27484ms
Critical
checkAgentSpanAttributes
a839d6d3gen_ai.request.messagesagent span 0 should keep only the last input message, found 2 message(s)
abd9cb18gen_ai.request.messagesagent span 1 should keep only the last input message, found 2 message(s)
a9586c03gen_ai.request.messagesagent span 2 should keep only the last input message, found 2 message(s)
95af2bc9gen_ai.request.messagesagent span 3 should keep only the last input message, found 2 message(s)
checkChatSpanAttributes
ab0f1385gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ab0f1385gen_ai.output.messagesMissing output messages attribute
b92e8205gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b92e8205gen_ai.output.messagesMissing output messages attribute
84948a9fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84948a9fgen_ai.output.messagesMissing output messages attribute
933bef28gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
933bef28gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans)→ gen_ai.input.messagesgen_ai.response.text(8 spans)→ gen_ai.output.messagesgen_ai.system(8 spans)→ gen_ai.provider.nameCaptured Spans (22)
[
{
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"span_id": "89fd2a3a589ee91b",
"parent_span_id": "a0836343dc7267e9",
"same_process_as_parent": true,
"op": null,
"description": "helpful_assistant workflow",
"start_timestamp": "2026-05-28T07:32:02.173245Z",
"timestamp": "2026-05-28T07:32:03.724911Z",
"origin": "auto.ai.openai_agents",
"data": {
"thread.id": "140025063660416",
"thread.name": "MainThread"
}
},
{
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"span_id": "add5bf47dd439fd1",
"parent_span_id": "ab0f138526cdcdbc",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:02.221449Z",
"timestamp": "2026-05-28T07:32:02.223656Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12282
},
"data": {
"thread.id": "140024947615424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"span_id": "a01722fba9a98f54",
"parent_span_id": "ab0f138526cdcdbc",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:02.223758Z",
"timestamp": "2026-05-28T07:32:02.223897Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12282
},
"data": {
"thread.id": "140024947615424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"span_id": "ba47c7ef11d03f3c",
"parent_span_id": "a01722fba9a98f54",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:02.223852Z",
"timestamp": "2026-05-28T07:32:02.223885Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12282
},
"data": {
"thread.id": "140024947615424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"span_id": "8bed1c26391ab4d2",
"parent_span_id": "ab0f138526cdcdbc",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:02.223935Z",
"timestamp": "2026-05-28T07:32:02.223949Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12282
},
"data": {
"thread.id": "140024947615424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"span_id": "a7a4009b066b2853",
"parent_span_id": "ab0f138526cdcdbc",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:32:02.225686Z",
"timestamp": "2026-05-28T07:32:03.445409Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140025063660416",
"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": "24ef8e4c01db4b1e8c758422393616ba",
"span_id": "b5a2547c15e93bbe",
"parent_span_id": "a0836343dc7267e9",
"same_process_as_parent": true,
"op": null,
"description": "helpful_assistant workflow",
"start_timestamp": "2026-05-28T07:32:03.725070Z",
"timestamp": "2026-05-28T07:32:04.457004Z",
"origin": "auto.ai.openai_agents",
"data": {
"thread.id": "140025063660416",
"thread.name": "MainThread"
}
},
{
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"span_id": "8d4209af65c757a0",
"parent_span_id": "b92e820524eb3c18",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:32:03.733592Z",
"timestamp": "2026-05-28T07:32:04.455190Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140025063660416",
"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": "24ef8e4c01db4b1e8c758422393616ba",
"span_id": "9c9c81f589b5267c",
"parent_span_id": "a0836343dc7267e9",
"same_process_as_parent": true,
"op": null,
"description": "helpful_assistant workflow",
"start_timestamp": "2026-05-28T07:32:04.457158Z",
"timestamp": "2026-05-28T07:32:05.530585Z",
"origin": "auto.ai.openai_agents",
"data": {
"thread.id": "140025063660416",
"thread.name": "MainThread"
}
},
{
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"span_id": "b89b44278c48b4f8",
"parent_span_id": "84948a9f47ea8f24",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:32:04.460057Z",
"timestamp": "2026-05-28T07:32:05.529044Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140025063660416",
"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": "24ef8e4c01db4b1e8c758422393616ba",
"span_id": "a82eec62f2b7ac1b",
"parent_span_id": "a0836343dc7267e9",
"same_process_as_parent": true,
"op": null,
"description": "helpful_assistant workflow",
"start_timestamp": "2026-05-28T07:32:05.533789Z",
"timestamp": "2026-05-28T07:32:06.423692Z",
"origin": "auto.ai.openai_agents",
"data": {
"thread.id": "140025063660416",
"thread.name": "MainThread"
}
},
{
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"span_id": "bf8412ff75c15d14",
"parent_span_id": "933bef28847f32f1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:32:05.540861Z",
"timestamp": "2026-05-28T07:32:06.419055Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140025063660416",
"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": "24ef8e4c01db4b1e8c758422393616ba",
"span_id": "9e68e0cd5fc997e3",
"parent_span_id": "89fd2a3a589ee91b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/traces/ingest",
"start_timestamp": "2026-05-28T07:32:05.988484Z",
"timestamp": "2026-05-28T07:32:06.250962Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "204",
"status": "ok"
},
"data": {
"thread.id": "140024964396736",
"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"
}
},
{
"span_id": "a0836343dc7267e9",
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID Agent Test",
"start_timestamp": "2026-05-28T07:32:02.172153Z",
"timestamp": "2026-05-28T07:32:06.425233Z",
"data": {
"thread.id": "140025063660416",
"thread.name": "MainThread"
}
},
{
"span_id": "a839d6d32f51dada",
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"parent_span_id": "89fd2a3a589ee91b",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953522.174872,
"timestamp": 1779953523.724768,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140025063660416",
"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": "a0836343dc7267e9",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ab0f138526cdcdbc",
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"parent_span_id": "a839d6d32f51dada",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953522.212254,
"timestamp": 1779953523.724119,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140025063660416",
"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": "a0836343dc7267e9",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "abd9cb18487613d2",
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"parent_span_id": "b5a2547c15e93bbe",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953523.725491,
"timestamp": 1779953524.456878,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140025063660416",
"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": "a0836343dc7267e9",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b92e820524eb3c18",
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"parent_span_id": "abd9cb18487613d2",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953523.728553,
"timestamp": 1779953524.456444,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140025063660416",
"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": "a0836343dc7267e9",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a9586c0320685bbb",
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"parent_span_id": "9c9c81f589b5267c",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953524.457491,
"timestamp": 1779953525.530488,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140025063660416",
"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": 42,
"gen_ai.usage.output_tokens.reasoning": 0,
"gen_ai.usage.total_tokens": 63,
"gen_ai.response.text": "Could you provide more context or specify what you would like to know about Germany? There are many aspects to cover, including its history, culture, economy, geography, or current events. Let me know!",
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID Agent Test",
"sentry.segment.id": "a0836343dc7267e9",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "84948a9f47ea8f24",
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"parent_span_id": "a9586c0320685bbb",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953524.458036,
"timestamp": 1779953525.530133,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140025063660416",
"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": 42,
"gen_ai.usage.output_tokens.reasoning": 0,
"gen_ai.usage.total_tokens": 63,
"gen_ai.response.text": "Could you provide more context or specify what you would like to know about Germany? There are many aspects to cover, including its history, culture, economy, geography, or current events. Let me know!",
"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": "a0836343dc7267e9",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "95af2bc942551b90",
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"parent_span_id": "a82eec62f2b7ac1b",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953525.534169,
"timestamp": 1779953526.420548,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140025063660416",
"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": "a0836343dc7267e9",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "933bef28847f32f1",
"trace_id": "24ef8e4c01db4b1e8c758422393616ba",
"parent_span_id": "95af2bc942551b90",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953525.534727,
"timestamp": 1779953526.420182,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai_agents",
"thread.id": "140025063660416",
"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": "a0836343dc7267e9",
"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) 111829ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
a49319c8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a49319c8gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(2 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "ade8459de9c54052b660afb7cc5e9504",
"span_id": "a308e584aa62e98f",
"parent_span_id": "a49319c8ffaa5bef",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:10.253925Z",
"timestamp": "2026-05-28T07:32:10.256785Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12317
},
"data": {
"thread.id": "139791431562944",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ade8459de9c54052b660afb7cc5e9504",
"span_id": "be67e723fd48a711",
"parent_span_id": "a49319c8ffaa5bef",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.256870Z",
"timestamp": "2026-05-28T07:32:10.256999Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12317
},
"data": {
"thread.id": "139791431562944",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ade8459de9c54052b660afb7cc5e9504",
"span_id": "a1a488bc30d29fc3",
"parent_span_id": "be67e723fd48a711",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.256959Z",
"timestamp": "2026-05-28T07:32:10.256990Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12317
},
"data": {
"thread.id": "139791431562944",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ade8459de9c54052b660afb7cc5e9504",
"span_id": "b0c1dc33d035fc18",
"parent_span_id": "a49319c8ffaa5bef",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.257030Z",
"timestamp": "2026-05-28T07:32:10.257044Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12317
},
"data": {
"thread.id": "139791431562944",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ade8459de9c54052b660afb7cc5e9504",
"span_id": "b272ed0e7392b221",
"parent_span_id": "a49319c8ffaa5bef",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:10.258685Z",
"timestamp": "2026-05-28T07:32:10.985557Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139791686974336",
"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": "81aa7968e3883643",
"trace_id": "ade8459de9c54052b660afb7cc5e9504",
"parent_span_id": null,
"op": "test",
"description": "Basic Agent Test",
"start_timestamp": "2026-05-28T07:32:10.237441Z",
"timestamp": "2026-05-28T07:32:11.012526Z",
"data": {
"thread.id": "139791686974336",
"thread.name": "MainThread"
}
},
{
"span_id": "b27f8c7657198055",
"trace_id": "ade8459de9c54052b660afb7cc5e9504",
"parent_span_id": "81aa7968e3883643",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953530.238385,
"timestamp": 1779953531.011448,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139791686974336",
"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": "81aa7968e3883643",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a49319c8ffaa5bef",
"trace_id": "ade8459de9c54052b660afb7cc5e9504",
"parent_span_id": "b27f8c7657198055",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953530.248971,
"timestamp": 1779953531.010563,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139791686974336",
"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": "81aa7968e3883643",
"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) 112100ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
84478deagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84478deagen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(2 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "a706fdb87aa145aab9f59b1fc831a376",
"span_id": "bb290bf25a1947f9",
"parent_span_id": "84478dea2aa62221",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:10.267030Z",
"timestamp": "2026-05-28T07:32:10.270653Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12320
},
"data": {
"thread.id": "140331309430464",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a706fdb87aa145aab9f59b1fc831a376",
"span_id": "989bf7c11c68e461",
"parent_span_id": "84478dea2aa62221",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.270735Z",
"timestamp": "2026-05-28T07:32:10.271683Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12320
},
"data": {
"thread.id": "140331309430464",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a706fdb87aa145aab9f59b1fc831a376",
"span_id": "93dc16c08cdf1493",
"parent_span_id": "989bf7c11c68e461",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.271471Z",
"timestamp": "2026-05-28T07:32:10.271667Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12320
},
"data": {
"thread.id": "140331309430464",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a706fdb87aa145aab9f59b1fc831a376",
"span_id": "b93765faf5f12fe9",
"parent_span_id": "84478dea2aa62221",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.271729Z",
"timestamp": "2026-05-28T07:32:10.271748Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12320
},
"data": {
"thread.id": "140331309430464",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a706fdb87aa145aab9f59b1fc831a376",
"span_id": "80c7376c23234507",
"parent_span_id": "84478dea2aa62221",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:10.273296Z",
"timestamp": "2026-05-28T07:32:10.474235Z",
"origin": "auto.http.httpx",
"status": "not_found",
"tags": {
"http.status_code": "404",
"status": "not_found"
},
"data": {
"thread.id": "140331564780416",
"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": 47,
"code.namespace": "__main__",
"code.filepath": "test-basic-agent-test-async-fallback.py",
"code.function": "<module>"
}
},
{
"trace_id": "a706fdb87aa145aab9f59b1fc831a376",
"span_id": "888564afad44ef20",
"parent_span_id": "84478dea2aa62221",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:10.477836Z",
"timestamp": "2026-05-28T07:32:11.538634Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140331564780416",
"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": "8b6c64030c9faf5e",
"trace_id": "a706fdb87aa145aab9f59b1fc831a376",
"parent_span_id": null,
"op": "test",
"description": "Basic Agent Test",
"start_timestamp": "2026-05-28T07:32:10.245557Z",
"timestamp": "2026-05-28T07:32:11.592048Z",
"data": {
"thread.id": "140331564780416",
"thread.name": "MainThread"
}
},
{
"span_id": "bad2bbfb3ac6e611",
"trace_id": "a706fdb87aa145aab9f59b1fc831a376",
"parent_span_id": "8b6c64030c9faf5e",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953530.246527,
"timestamp": 1779953531.588527,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140331564780416",
"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.",
"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": 75,
"gen_ai.usage.total_tokens": 98,
"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": "8b6c64030c9faf5e",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "84478dea2aa62221",
"trace_id": "a706fdb87aa145aab9f59b1fc831a376",
"parent_span_id": "bad2bbfb3ac6e611",
"op": "gen_ai.chat",
"description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
"start_timestamp": 1779953530.261735,
"timestamp": 1779953531.586491,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140331564780416",
"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": 75,
"gen_ai.usage.total_tokens": 98,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.text": "Paris.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic Agent Test",
"sentry.segment.id": "8b6c64030c9faf5e",
"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 113088ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
ad06d5a1gen_ai.output.messagesMissing output messages attribute
80d68c92gen_ai.output.messagesMissing output messages attribute
84711135gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84711135gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
Checks
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
checkInputMessagesSchema
80d68c92gen_ai.request.messagesmessages[1] should have either "parts" or "content" field
84711135gen_ai.request.messagesmessages[1] should have either "parts" or "content" field
84711135gen_ai.request.messagesmessages[3] should have either "parts" or "content" field
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.available_tools(4 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultCaptured Spans (14)
[
{
"trace_id": "4c24cfb197f244a9915f70f6cf0058fb",
"span_id": "b600c90c8a77a246",
"parent_span_id": "ad06d5a19f2ee02f",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:10.233918Z",
"timestamp": "2026-05-28T07:32:10.237715Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12313
},
"data": {
"thread.id": "140483619813056",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "4c24cfb197f244a9915f70f6cf0058fb",
"span_id": "9f9025b010a3a7d8",
"parent_span_id": "ad06d5a19f2ee02f",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.237810Z",
"timestamp": "2026-05-28T07:32:10.237961Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12313
},
"data": {
"thread.id": "140483619813056",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "4c24cfb197f244a9915f70f6cf0058fb",
"span_id": "8601156bca52d65e",
"parent_span_id": "9f9025b010a3a7d8",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.237910Z",
"timestamp": "2026-05-28T07:32:10.237949Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12313
},
"data": {
"thread.id": "140483619813056",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "4c24cfb197f244a9915f70f6cf0058fb",
"span_id": "b54ba79b1f03449e",
"parent_span_id": "ad06d5a19f2ee02f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.237993Z",
"timestamp": "2026-05-28T07:32:10.238007Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12313
},
"data": {
"thread.id": "140483619813056",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "4c24cfb197f244a9915f70f6cf0058fb",
"span_id": "89bf66ace398075d",
"parent_span_id": "ad06d5a19f2ee02f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:10.241495Z",
"timestamp": "2026-05-28T07:32:11.273055Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140483876227968",
"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": "4c24cfb197f244a9915f70f6cf0058fb",
"span_id": "87ba2bf63be207a3",
"parent_span_id": "80d68c92cf5d4df4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:11.325747Z",
"timestamp": "2026-05-28T07:32:12.114386Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140483876227968",
"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": "4c24cfb197f244a9915f70f6cf0058fb",
"span_id": "b7f76ec54733d200",
"parent_span_id": "84711135cdff8703",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:12.127842Z",
"timestamp": "2026-05-28T07:32:12.903304Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140483876227968",
"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": "84b5f6d328ddd915",
"trace_id": "4c24cfb197f244a9915f70f6cf0058fb",
"parent_span_id": null,
"op": "test",
"description": "Tool Call Agent Test",
"start_timestamp": "2026-05-28T07:32:10.199964Z",
"timestamp": "2026-05-28T07:32:12.906420Z",
"data": {
"thread.id": "140483876227968",
"thread.name": "MainThread"
}
},
{
"span_id": "b936fdd2eb5e5cae",
"trace_id": "4c24cfb197f244a9915f70f6cf0058fb",
"parent_span_id": "84b5f6d328ddd915",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent math_assistant",
"start_timestamp": 1779953530.20093,
"timestamp": 1779953532.905302,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140483876227968",
"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 \\( (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": "84b5f6d328ddd915",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ad06d5a19f2ee02f",
"trace_id": "4c24cfb197f244a9915f70f6cf0058fb",
"parent_span_id": "b936fdd2eb5e5cae",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953530.221036,
"timestamp": 1779953531.308192,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140483876227968",
"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": "84b5f6d328ddd915",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9e0fbc696afa289f",
"trace_id": "4c24cfb197f244a9915f70f6cf0058fb",
"parent_span_id": "b936fdd2eb5e5cae",
"op": "gen_ai.execute_tool",
"description": "execute_tool add",
"start_timestamp": 1779953531.309511,
"timestamp": 1779953531.312828,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140483876227968",
"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": "84b5f6d328ddd915",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "80d68c92cf5d4df4",
"trace_id": "4c24cfb197f244a9915f70f6cf0058fb",
"parent_span_id": "b936fdd2eb5e5cae",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953531.313354,
"timestamp": 1779953532.115701,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140483876227968",
"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": "84b5f6d328ddd915",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9d49c4a749908460",
"trace_id": "4c24cfb197f244a9915f70f6cf0058fb",
"parent_span_id": "b936fdd2eb5e5cae",
"op": "gen_ai.execute_tool",
"description": "execute_tool multiply",
"start_timestamp": 1779953532.116369,
"timestamp": 1779953532.119855,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140483876227968",
"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": "84b5f6d328ddd915",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "84711135cdff8703",
"trace_id": "4c24cfb197f244a9915f70f6cf0058fb",
"parent_span_id": "b936fdd2eb5e5cae",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953532.120281,
"timestamp": 1779953532.904409,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140483876227968",
"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 \\( (3 + 5) * 4 \\) is \\( 32 \\).",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Tool Call Agent Test",
"sentry.segment.id": "84b5f6d328ddd915",
"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 116166ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
bdd1d9b2gen_ai.output.messagesMissing output messages attribute
b4b81358gen_ai.output.messagesMissing output messages attribute
beabb7cbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
beabb7cbgen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
Checks
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
checkInputMessagesSchema
b4b81358gen_ai.request.messagesmessages[1] should have either "parts" or "content" field
beabb7cbgen_ai.request.messagesmessages[1] should have either "parts" or "content" field
beabb7cbgen_ai.request.messagesmessages[3] should have either "parts" or "content" field
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.available_tools(4 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(2 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultCaptured Spans (17)
[
{
"trace_id": "995884b76cd5460cb4492dec4840f126",
"span_id": "b781d179fc08cb77",
"parent_span_id": "bdd1d9b20bf724b5",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:10.296257Z",
"timestamp": "2026-05-28T07:32:10.297608Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12323
},
"data": {
"thread.id": "140071131133632",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "995884b76cd5460cb4492dec4840f126",
"span_id": "a3dc31980506b94f",
"parent_span_id": "bdd1d9b20bf724b5",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.297703Z",
"timestamp": "2026-05-28T07:32:10.298389Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12323
},
"data": {
"thread.id": "140071131133632",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "995884b76cd5460cb4492dec4840f126",
"span_id": "848626529f87b764",
"parent_span_id": "a3dc31980506b94f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.298337Z",
"timestamp": "2026-05-28T07:32:10.298376Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12323
},
"data": {
"thread.id": "140071131133632",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "995884b76cd5460cb4492dec4840f126",
"span_id": "af3dec352377eb0f",
"parent_span_id": "bdd1d9b20bf724b5",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.298425Z",
"timestamp": "2026-05-28T07:32:10.298440Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12323
},
"data": {
"thread.id": "140071131133632",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "995884b76cd5460cb4492dec4840f126",
"span_id": "8814dc03afd39d19",
"parent_span_id": "bdd1d9b20bf724b5",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:10.300024Z",
"timestamp": "2026-05-28T07:32:10.499501Z",
"origin": "auto.http.httpx",
"status": "not_found",
"tags": {
"http.status_code": "404",
"status": "not_found"
},
"data": {
"thread.id": "140071387503488",
"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": "995884b76cd5460cb4492dec4840f126",
"span_id": "82f272d7e55589a9",
"parent_span_id": "bdd1d9b20bf724b5",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:10.503509Z",
"timestamp": "2026-05-28T07:32:14.507013Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140071387503488",
"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": "995884b76cd5460cb4492dec4840f126",
"span_id": "8184b79cf8a6333b",
"parent_span_id": "b4b8135866cfd9d3",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:14.574308Z",
"timestamp": "2026-05-28T07:32:14.652911Z",
"origin": "auto.http.httpx",
"status": "not_found",
"tags": {
"http.status_code": "404",
"status": "not_found"
},
"data": {
"thread.id": "140071387503488",
"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": "995884b76cd5460cb4492dec4840f126",
"span_id": "945b94eb1663dc6b",
"parent_span_id": "b4b8135866cfd9d3",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:14.659558Z",
"timestamp": "2026-05-28T07:32:15.549034Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140071387503488",
"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": "995884b76cd5460cb4492dec4840f126",
"span_id": "8667c7ee5d6eebcc",
"parent_span_id": "beabb7cb5876ee4f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:15.571136Z",
"timestamp": "2026-05-28T07:32:15.671877Z",
"origin": "auto.http.httpx",
"status": "not_found",
"tags": {
"http.status_code": "404",
"status": "not_found"
},
"data": {
"thread.id": "140071387503488",
"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": "995884b76cd5460cb4492dec4840f126",
"span_id": "8886607414851d2b",
"parent_span_id": "beabb7cb5876ee4f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:15.686028Z",
"timestamp": "2026-05-28T07:32:16.367695Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140071387503488",
"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": "9cef5cf06a9bc388",
"trace_id": "995884b76cd5460cb4492dec4840f126",
"parent_span_id": null,
"op": "test",
"description": "Tool Call Agent Test",
"start_timestamp": "2026-05-28T07:32:10.285538Z",
"timestamp": "2026-05-28T07:32:16.375027Z",
"data": {
"thread.id": "140071387503488",
"thread.name": "MainThread"
}
},
{
"span_id": "bee2bae8abcef2c2",
"trace_id": "995884b76cd5460cb4492dec4840f126",
"parent_span_id": "9cef5cf06a9bc388",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent math_assistant",
"start_timestamp": 1779953530.286541,
"timestamp": 1779953536.371814,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140071387503488",
"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": 438,
"gen_ai.usage.total_tokens": 1095,
"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": "9cef5cf06a9bc388",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bdd1d9b20bf724b5",
"trace_id": "995884b76cd5460cb4492dec4840f126",
"parent_span_id": "bee2bae8abcef2c2",
"op": "gen_ai.chat",
"description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
"start_timestamp": 1779953530.292727,
"timestamp": 1779953534.560539,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140071387503488",
"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": 414,
"gen_ai.usage.total_tokens": 602,
"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": "9cef5cf06a9bc388",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "95be66d0d2654e61",
"trace_id": "995884b76cd5460cb4492dec4840f126",
"parent_span_id": "bee2bae8abcef2c2",
"op": "gen_ai.execute_tool",
"description": "execute_tool add",
"start_timestamp": 1779953534.561322,
"timestamp": 1779953534.564006,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140071387503488",
"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": "9cef5cf06a9bc388",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b4b8135866cfd9d3",
"trace_id": "995884b76cd5460cb4492dec4840f126",
"parent_span_id": "bee2bae8abcef2c2",
"op": "gen_ai.chat",
"description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
"start_timestamp": 1779953534.564478,
"timestamp": 1779953535.550273,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140071387503488",
"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": "9cef5cf06a9bc388",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b838abbb76d570c8",
"trace_id": "995884b76cd5460cb4492dec4840f126",
"parent_span_id": "bee2bae8abcef2c2",
"op": "gen_ai.execute_tool",
"description": "execute_tool multiply",
"start_timestamp": 1779953535.557009,
"timestamp": 1779953535.560847,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140071387503488",
"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": "9cef5cf06a9bc388",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "beabb7cb5876ee4f",
"trace_id": "995884b76cd5460cb4492dec4840f126",
"parent_span_id": "bee2bae8abcef2c2",
"op": "gen_ai.chat",
"description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
"start_timestamp": 1779953535.56134,
"timestamp": 1779953536.370888,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140071387503488",
"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": "9cef5cf06a9bc388",
"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) 110028ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
b8ff483agen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
Checks
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(2 spans)→ gen_ai.input.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsCaptured Spans (9)
[
{
"trace_id": "c985dcbcf1844c6ab9e77ea180be9993",
"span_id": "b43e33125232376c",
"parent_span_id": "b8ff483a15ba0dd8",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:10.222977Z",
"timestamp": "2026-05-28T07:32:10.225070Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12310
},
"data": {
"thread.id": "140341827319488",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c985dcbcf1844c6ab9e77ea180be9993",
"span_id": "a523dd13763931b0",
"parent_span_id": "b8ff483a15ba0dd8",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.225163Z",
"timestamp": "2026-05-28T07:32:10.225296Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12310
},
"data": {
"thread.id": "140341827319488",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c985dcbcf1844c6ab9e77ea180be9993",
"span_id": "a6cbd8d7418a7286",
"parent_span_id": "a523dd13763931b0",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.225252Z",
"timestamp": "2026-05-28T07:32:10.225285Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12310
},
"data": {
"thread.id": "140341827319488",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c985dcbcf1844c6ab9e77ea180be9993",
"span_id": "951edf39a2fab416",
"parent_span_id": "b8ff483a15ba0dd8",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:10.225327Z",
"timestamp": "2026-05-28T07:32:10.225341Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12310
},
"data": {
"thread.id": "140341827319488",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c985dcbcf1844c6ab9e77ea180be9993",
"span_id": "98e303c771e6f321",
"parent_span_id": "b8ff483a15ba0dd8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:10.226975Z",
"timestamp": "2026-05-28T07:32:11.301120Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140342083693440",
"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": "b584621423ecbef4",
"trace_id": "c985dcbcf1844c6ab9e77ea180be9993",
"parent_span_id": null,
"op": "test",
"description": "Tool Error Agent Test",
"start_timestamp": "2026-05-28T07:32:10.207295Z",
"timestamp": "2026-05-28T07:32:12.112021Z",
"data": {
"thread.id": "140342083693440",
"thread.name": "MainThread"
},
"status": "internal_error"
},
{
"span_id": "813fabd08269799d",
"trace_id": "c985dcbcf1844c6ab9e77ea180be9993",
"parent_span_id": "b584621423ecbef4",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent file_assistant",
"start_timestamp": 1779953530.208281,
"timestamp": 1779953532.109206,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140342083693440",
"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": "b584621423ecbef4",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "error",
"is_segment": false
},
{
"span_id": "b8ff483a15ba0dd8",
"trace_id": "c985dcbcf1844c6ab9e77ea180be9993",
"parent_span_id": "813fabd08269799d",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953530.217171,
"timestamp": 1779953531.34235,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140342083693440",
"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": "b584621423ecbef4",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "90462205ae5f015e",
"trace_id": "c985dcbcf1844c6ab9e77ea180be9993",
"parent_span_id": "813fabd08269799d",
"op": "gen_ai.execute_tool",
"description": "execute_tool read_file",
"start_timestamp": 1779953531.34319,
"timestamp": 1779953531.345096,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140342083693440",
"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": "b584621423ecbef4",
"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) 110099ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
b8f54ebbgen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
Checks
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(2 spans)→ gen_ai.input.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsCaptured Spans (10)
[
{
"trace_id": "6fcf182dadc441b593b6c2af77578a64",
"span_id": "8f4ef906c2161c1e",
"parent_span_id": "b8f54ebb65e98f29",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:12.860200Z",
"timestamp": "2026-05-28T07:32:12.862406Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12338
},
"data": {
"thread.id": "139682046899904",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6fcf182dadc441b593b6c2af77578a64",
"span_id": "932ff0a43dd8bbbf",
"parent_span_id": "b8f54ebb65e98f29",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:12.862493Z",
"timestamp": "2026-05-28T07:32:12.862644Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12338
},
"data": {
"thread.id": "139682046899904",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6fcf182dadc441b593b6c2af77578a64",
"span_id": "bbdc2cffe392c3c7",
"parent_span_id": "932ff0a43dd8bbbf",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:12.862584Z",
"timestamp": "2026-05-28T07:32:12.862633Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12338
},
"data": {
"thread.id": "139682046899904",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6fcf182dadc441b593b6c2af77578a64",
"span_id": "843acaf4ab7a2ba0",
"parent_span_id": "b8f54ebb65e98f29",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:12.862680Z",
"timestamp": "2026-05-28T07:32:12.862696Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12338
},
"data": {
"thread.id": "139682046899904",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6fcf182dadc441b593b6c2af77578a64",
"span_id": "992d47c59b0ddf37",
"parent_span_id": "b8f54ebb65e98f29",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:12.864238Z",
"timestamp": "2026-05-28T07:32:13.018013Z",
"origin": "auto.http.httpx",
"status": "not_found",
"tags": {
"http.status_code": "404",
"status": "not_found"
},
"data": {
"thread.id": "139682303650688",
"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": 53,
"code.namespace": "__main__",
"code.filepath": "test-tool-error-agent-test-async-fallback.py",
"code.function": "<module>"
}
},
{
"trace_id": "6fcf182dadc441b593b6c2af77578a64",
"span_id": "b96df65e1d223be6",
"parent_span_id": "b8f54ebb65e98f29",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:13.027887Z",
"timestamp": "2026-05-28T07:32:14.538095Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139682303650688",
"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": "8d42354357c157cb",
"trace_id": "6fcf182dadc441b593b6c2af77578a64",
"parent_span_id": null,
"op": "test",
"description": "Tool Error Agent Test",
"start_timestamp": "2026-05-28T07:32:12.844518Z",
"timestamp": "2026-05-28T07:32:15.382987Z",
"data": {
"thread.id": "139682303650688",
"thread.name": "MainThread"
},
"status": "internal_error"
},
{
"span_id": "b9a5c04cd78a4c77",
"trace_id": "6fcf182dadc441b593b6c2af77578a64",
"parent_span_id": "8d42354357c157cb",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent file_assistant",
"start_timestamp": 1779953532.845522,
"timestamp": 1779953535.375501,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139682303650688",
"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": "8d42354357c157cb",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "error",
"is_segment": false
},
{
"span_id": "b8f54ebb65e98f29",
"trace_id": "6fcf182dadc441b593b6c2af77578a64",
"parent_span_id": "b9a5c04cd78a4c77",
"op": "gen_ai.chat",
"description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
"start_timestamp": 1779953532.854344,
"timestamp": 1779953534.591237,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139682303650688",
"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": "8d42354357c157cb",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "823bb4c416d06529",
"trace_id": "6fcf182dadc441b593b6c2af77578a64",
"parent_span_id": "b9a5c04cd78a4c77",
"op": "gen_ai.execute_tool",
"description": "execute_tool read_file",
"start_timestamp": 1779953534.595157,
"timestamp": 1779953534.597396,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139682303650688",
"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": "8d42354357c157cb",
"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) 18694ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
a6a7945bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a6a7945bgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "5215ef72619941a79c5c69138c0661c3",
"span_id": "8cc10dd41fc2443f",
"parent_span_id": "a6a7945b1b4981f0",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:16.139419Z",
"timestamp": "2026-05-28T07:32:16.142786Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12363
},
"data": {
"thread.id": "139978779227840",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5215ef72619941a79c5c69138c0661c3",
"span_id": "aec3b0731e618c1e",
"parent_span_id": "a6a7945b1b4981f0",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:16.142899Z",
"timestamp": "2026-05-28T07:32:16.143072Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12363
},
"data": {
"thread.id": "139978779227840",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5215ef72619941a79c5c69138c0661c3",
"span_id": "838c2648582bb8bf",
"parent_span_id": "aec3b0731e618c1e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:16.143014Z",
"timestamp": "2026-05-28T07:32:16.143057Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12363
},
"data": {
"thread.id": "139978779227840",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5215ef72619941a79c5c69138c0661c3",
"span_id": "a96de19863705064",
"parent_span_id": "a6a7945b1b4981f0",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:16.143118Z",
"timestamp": "2026-05-28T07:32:16.143136Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12363
},
"data": {
"thread.id": "139978779227840",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5215ef72619941a79c5c69138c0661c3",
"span_id": "8d5b932644b3e8dd",
"parent_span_id": "a6a7945b1b4981f0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:16.144980Z",
"timestamp": "2026-05-28T07:32:16.707924Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139979035724672",
"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": "b33c64f27b43cdf5",
"trace_id": "5215ef72619941a79c5c69138c0661c3",
"parent_span_id": null,
"op": "test",
"description": "Vision Agent Test",
"start_timestamp": "2026-05-28T07:32:16.123284Z",
"timestamp": "2026-05-28T07:32:16.791924Z",
"data": {
"thread.id": "139979035724672",
"thread.name": "MainThread"
}
},
{
"span_id": "b28472e06228266e",
"trace_id": "5215ef72619941a79c5c69138c0661c3",
"parent_span_id": "b33c64f27b43cdf5",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent vision_assistant",
"start_timestamp": 1779953536.124305,
"timestamp": 1779953536.78547,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139979035724672",
"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": "b33c64f27b43cdf5",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a6a7945b1b4981f0",
"trace_id": "5215ef72619941a79c5c69138c0661c3",
"parent_span_id": "b28472e06228266e",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953536.132928,
"timestamp": 1779953536.784532,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139979035724672",
"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": "b33c64f27b43cdf5",
"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) 113418ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
a81ca593gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a81ca593gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "6c7e6c1983ad441a95bd1a7f987f4c44",
"span_id": "9b922f02f5c0df6a",
"parent_span_id": "a81ca5931ba3bfff",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:20.978353Z",
"timestamp": "2026-05-28T07:32:20.985839Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12582
},
"data": {
"thread.id": "139648016037568",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6c7e6c1983ad441a95bd1a7f987f4c44",
"span_id": "be68e10d370f65eb",
"parent_span_id": "a81ca5931ba3bfff",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:20.985942Z",
"timestamp": "2026-05-28T07:32:20.986092Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12582
},
"data": {
"thread.id": "139648016037568",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6c7e6c1983ad441a95bd1a7f987f4c44",
"span_id": "abf1025a7e51e1a7",
"parent_span_id": "be68e10d370f65eb",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:20.986042Z",
"timestamp": "2026-05-28T07:32:20.986079Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12582
},
"data": {
"thread.id": "139648016037568",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6c7e6c1983ad441a95bd1a7f987f4c44",
"span_id": "95f511d9793fdf2b",
"parent_span_id": "a81ca5931ba3bfff",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:20.986126Z",
"timestamp": "2026-05-28T07:32:20.986141Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12582
},
"data": {
"thread.id": "139648016037568",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6c7e6c1983ad441a95bd1a7f987f4c44",
"span_id": "a59b460c72503a9e",
"parent_span_id": "a81ca5931ba3bfff",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:20.989112Z",
"timestamp": "2026-05-28T07:32:21.120570Z",
"origin": "auto.http.httpx",
"status": "not_found",
"tags": {
"http.status_code": "404",
"status": "not_found"
},
"data": {
"thread.id": "139648272386944",
"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": "6c7e6c1983ad441a95bd1a7f987f4c44",
"span_id": "a3c0fb7bb89eaee2",
"parent_span_id": "a81ca5931ba3bfff",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:21.132146Z",
"timestamp": "2026-05-28T07:32:22.506346Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139648272386944",
"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": "9f1a46a9250687f7",
"trace_id": "6c7e6c1983ad441a95bd1a7f987f4c44",
"parent_span_id": null,
"op": "test",
"description": "Vision Agent Test",
"start_timestamp": "2026-05-28T07:32:20.942698Z",
"timestamp": "2026-05-28T07:32:22.598101Z",
"data": {
"thread.id": "139648272386944",
"thread.name": "MainThread"
}
},
{
"span_id": "b95380a7b8cea950",
"trace_id": "6c7e6c1983ad441a95bd1a7f987f4c44",
"parent_span_id": "9f1a46a9250687f7",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent vision_assistant",
"start_timestamp": 1779953540.948229,
"timestamp": 1779953542.589145,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139648272386944",
"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": "9f1a46a9250687f7",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a81ca5931ba3bfff",
"trace_id": "6c7e6c1983ad441a95bd1a7f987f4c44",
"parent_span_id": "b95380a7b8cea950",
"op": "gen_ai.chat",
"description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
"start_timestamp": 1779953540.963847,
"timestamp": 1779953542.588099,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139648272386944",
"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": "9f1a46a9250687f7",
"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 130580ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
a3a88282gen_ai.output.messagesMissing output messages attribute
bf1d9256gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bf1d9256gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkInputMessagesSchema
bf1d9256gen_ai.request.messagesmessages[1] should have either "parts" or "content" field
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(3 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultCaptured Spans (11)
[
{
"trace_id": "db2ed8212b2f4c1d98d397f38a492343",
"span_id": "a3ae4623fa7aca06",
"parent_span_id": "a3a88282b3058d9e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:23.060929Z",
"timestamp": "2026-05-28T07:32:23.067728Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12675
},
"data": {
"thread.id": "139917668890304",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "db2ed8212b2f4c1d98d397f38a492343",
"span_id": "a7f05a6cbc6eb7a8",
"parent_span_id": "a3a88282b3058d9e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:23.067835Z",
"timestamp": "2026-05-28T07:32:23.067994Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12675
},
"data": {
"thread.id": "139917668890304",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "db2ed8212b2f4c1d98d397f38a492343",
"span_id": "99ff631bd0dcc9a1",
"parent_span_id": "a7f05a6cbc6eb7a8",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:23.067942Z",
"timestamp": "2026-05-28T07:32:23.067981Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12675
},
"data": {
"thread.id": "139917668890304",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "db2ed8212b2f4c1d98d397f38a492343",
"span_id": "8eda837c34146c31",
"parent_span_id": "a3a88282b3058d9e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:23.068028Z",
"timestamp": "2026-05-28T07:32:23.068042Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12675
},
"data": {
"thread.id": "139917668890304",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "db2ed8212b2f4c1d98d397f38a492343",
"span_id": "a52cf1758f83bab1",
"parent_span_id": "a3a88282b3058d9e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:23.069961Z",
"timestamp": "2026-05-28T07:32:40.579390Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139917924334464",
"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": "db2ed8212b2f4c1d98d397f38a492343",
"span_id": "a180199dc5ad47b4",
"parent_span_id": "bf1d92567d6f6bff",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:40.598514Z",
"timestamp": "2026-05-28T07:32:41.986870Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139917924334464",
"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": "bf03d3ec6eba1d98",
"trace_id": "db2ed8212b2f4c1d98d397f38a492343",
"parent_span_id": null,
"op": "test",
"description": "Long Input Agent Test",
"start_timestamp": "2026-05-28T07:32:23.020288Z",
"timestamp": "2026-05-28T07:32:41.990446Z",
"data": {
"thread.id": "139917924334464",
"thread.name": "MainThread"
}
},
{
"span_id": "926c8c1e0446a538",
"trace_id": "db2ed8212b2f4c1d98d397f38a492343",
"parent_span_id": "bf03d3ec6eba1d98",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent summarizer_assistant",
"start_timestamp": 1779953543.031091,
"timestamp": 1779953561.989472,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139917924334464",
"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 emphasizing that it is a test message being repeated multiple times to create a very long input.",
"gen_ai.usage.input_tokens": 12117,
"gen_ai.usage.input_tokens.cached": 6528,
"gen_ai.usage.input_tokens.cache_write": 0,
"gen_ai.usage.output_tokens": 1192,
"gen_ai.usage.total_tokens": 13309,
"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": "bf03d3ec6eba1d98",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a3a88282b3058d9e",
"trace_id": "db2ed8212b2f4c1d98d397f38a492343",
"parent_span_id": "926c8c1e0446a538",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953543.046995,
"timestamp": 1779953560.59431,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139917924334464",
"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": 1166,
"gen_ai.usage.total_tokens": 6636,
"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. This is a test message that will be repeated many 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": "bf03d3ec6eba1d98",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "979c1e8ddb28e339",
"trace_id": "db2ed8212b2f4c1d98d397f38a492343",
"parent_span_id": "926c8c1e0446a538",
"op": "gen_ai.execute_tool",
"description": "execute_tool get_word_count",
"start_timestamp": 1779953560.594863,
"timestamp": 1779953560.595635,
"data": {
"sentry.op": "gen_ai.execute_tool",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139917924334464",
"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. This is a test message that will be repeated many 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": "bf03d3ec6eba1d98",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bf1d92567d6f6bff",
"trace_id": "db2ed8212b2f4c1d98d397f38a492343",
"parent_span_id": "926c8c1e0446a538",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953560.595951,
"timestamp": 1779953561.988709,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139917924334464",
"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. This is a test message that will be repeated many 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": 6647,
"gen_ai.usage.input_tokens.cached": 6528,
"gen_ai.usage.input_tokens.cache_write": 0,
"gen_ai.usage.output_tokens": 26,
"gen_ai.usage.total_tokens": 6673,
"gen_ai.response.model": "gpt-4o-mini-2024-07-18",
"gen_ai.response.text": "The text consists of a repetitive message emphasizing that it is a test message being repeated multiple times to create a very long input.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "bf03d3ec6eba1d98",
"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) 114257ms
Critical
checkAgentSpanAttributes
checkChatSpanAttributes
8486ed98gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8486ed98gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans)→ gen_ai.tool.definitionsgen_ai.request.messages(2 spans)→ gen_ai.input.messagesgen_ai.response.text(2 spans)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "44ba1e5fbabb4ccdbf94b5dac9c67801",
"span_id": "8407fef5e26d438b",
"parent_span_id": "8486ed98437b94dc",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:23.554676Z",
"timestamp": "2026-05-28T07:32:23.558364Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12687
},
"data": {
"thread.id": "140385999320768",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "44ba1e5fbabb4ccdbf94b5dac9c67801",
"span_id": "afc11569de72b8dc",
"parent_span_id": "8486ed98437b94dc",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:23.558463Z",
"timestamp": "2026-05-28T07:32:23.558595Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12687
},
"data": {
"thread.id": "140385999320768",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "44ba1e5fbabb4ccdbf94b5dac9c67801",
"span_id": "bc0c2102ee6e0fc9",
"parent_span_id": "afc11569de72b8dc",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:23.558552Z",
"timestamp": "2026-05-28T07:32:23.558585Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12687
},
"data": {
"thread.id": "140385999320768",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "44ba1e5fbabb4ccdbf94b5dac9c67801",
"span_id": "b5515056e3a9f188",
"parent_span_id": "8486ed98437b94dc",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:23.558640Z",
"timestamp": "2026-05-28T07:32:23.558653Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12687
},
"data": {
"thread.id": "140385999320768",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "44ba1e5fbabb4ccdbf94b5dac9c67801",
"span_id": "b4b854d78b4aabee",
"parent_span_id": "8486ed98437b94dc",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:23.560553Z",
"timestamp": "2026-05-28T07:32:23.742419Z",
"origin": "auto.http.httpx",
"status": "not_found",
"tags": {
"http.status_code": "404",
"status": "not_found"
},
"data": {
"thread.id": "140386254654336",
"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": 53,
"code.namespace": "__main__",
"code.filepath": "test-long-input-agent-test-async-fallback.py",
"code.function": "<module>"
}
},
{
"trace_id": "44ba1e5fbabb4ccdbf94b5dac9c67801",
"span_id": "817e3f71fdf66d19",
"parent_span_id": "8486ed98437b94dc",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:23.754598Z",
"timestamp": "2026-05-28T07:32:26.687335Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140386254654336",
"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": "8278be60898fd0df",
"trace_id": "44ba1e5fbabb4ccdbf94b5dac9c67801",
"parent_span_id": null,
"op": "test",
"description": "Long Input Agent Test",
"start_timestamp": "2026-05-28T07:32:23.516877Z",
"timestamp": "2026-05-28T07:32:26.702720Z",
"data": {
"thread.id": "140386254654336",
"thread.name": "MainThread"
}
},
{
"span_id": "9845a15d4c669ed2",
"trace_id": "44ba1e5fbabb4ccdbf94b5dac9c67801",
"parent_span_id": "8278be60898fd0df",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent summarizer_assistant",
"start_timestamp": 1779953543.517987,
"timestamp": 1779953546.701946,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140386254654336",
"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 single test message repeatedly echoed many times to artificially produce 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": 413,
"gen_ai.usage.total_tokens": 5966,
"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": "8278be60898fd0df",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8486ed98437b94dc",
"trace_id": "44ba1e5fbabb4ccdbf94b5dac9c67801",
"parent_span_id": "9845a15d4c669ed2",
"op": "gen_ai.chat",
"description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
"start_timestamp": 1779953543.539468,
"timestamp": 1779953546.701347,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140386254654336",
"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": 413,
"gen_ai.usage.total_tokens": 5966,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.text": "The text consists of a single test message repeatedly echoed many times to artificially produce a very long input.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input Agent Test",
"sentry.segment.id": "8278be60898fd0df",
"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) 215057ms
Critical
checkAgentSpanAttributes
a75da18cgen_ai.request.messagesagent span 0 should keep only the last input message, found 2 message(s)
ad3efc28gen_ai.request.messagesagent span 1 should keep only the last input message, found 2 message(s)
9c365fb7gen_ai.request.messagesagent span 2 should keep only the last input message, found 2 message(s)
81b2b009gen_ai.request.messagesagent span 3 should keep only the last input message, found 2 message(s)
checkChatSpanAttributes
9fd1c787gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9fd1c787gen_ai.output.messagesMissing output messages attribute
9718fc6bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9718fc6bgen_ai.output.messagesMissing output messages attribute
ad072c5agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad072c5agen_ai.output.messagesMissing output messages attribute
abf8382bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
abf8382bgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans)→ gen_ai.input.messagesgen_ai.response.text(8 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (17)
[
{
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"span_id": "a7ccb0638c5a85c8",
"parent_span_id": "9fd1c7871de9db8e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:25.593501Z",
"timestamp": "2026-05-28T07:32:25.599788Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12778
},
"data": {
"thread.id": "139918652831424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"span_id": "a1ac5f430aa32b21",
"parent_span_id": "9fd1c7871de9db8e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:25.599889Z",
"timestamp": "2026-05-28T07:32:25.600026Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12778
},
"data": {
"thread.id": "139918652831424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"span_id": "8386b17b1cd6a81b",
"parent_span_id": "a1ac5f430aa32b21",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:25.599982Z",
"timestamp": "2026-05-28T07:32:25.600015Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12778
},
"data": {
"thread.id": "139918652831424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"span_id": "ac275397e1c9599d",
"parent_span_id": "9fd1c7871de9db8e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:25.600057Z",
"timestamp": "2026-05-28T07:32:25.600069Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12778
},
"data": {
"thread.id": "139918652831424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"span_id": "9e16b1e0ec42d407",
"parent_span_id": "9fd1c7871de9db8e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:25.601840Z",
"timestamp": "2026-05-28T07:32:26.064418Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139918908234624",
"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": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"span_id": "9199ce825f7d9fa9",
"parent_span_id": "9718fc6bb72bad35",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:26.093415Z",
"timestamp": "2026-05-28T07:32:26.478940Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139918908234624",
"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": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"span_id": "b58e690f25468556",
"parent_span_id": "ad072c5abde64989",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:26.483028Z",
"timestamp": "2026-05-28T07:32:27.682193Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139918908234624",
"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": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"span_id": "addc12eb8bd00a31",
"parent_span_id": "abf8382b10148960",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:27.686355Z",
"timestamp": "2026-05-28T07:32:28.144252Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139918908234624",
"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": "93cc08733605df78",
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID Agent Test",
"start_timestamp": "2026-05-28T07:32:25.549812Z",
"timestamp": "2026-05-28T07:32:28.147203Z",
"data": {
"thread.id": "139918908234624",
"thread.name": "MainThread"
}
},
{
"span_id": "a75da18cfe900770",
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"parent_span_id": "93cc08733605df78",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953545.550848,
"timestamp": 1779953546.089033,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139918908234624",
"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": "93cc08733605df78",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9fd1c7871de9db8e",
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"parent_span_id": "a75da18cfe900770",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953545.575768,
"timestamp": 1779953546.087966,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139918908234624",
"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": "93cc08733605df78",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ad3efc28e64fc944",
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"parent_span_id": "93cc08733605df78",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953546.089153,
"timestamp": 1779953546.480202,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139918908234624",
"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": "93cc08733605df78",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9718fc6bb72bad35",
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"parent_span_id": "ad3efc28e64fc944",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953546.091249,
"timestamp": 1779953546.479727,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139918908234624",
"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": "93cc08733605df78",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9c365fb7cc4ca5e1",
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"parent_span_id": "93cc08733605df78",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953546.480271,
"timestamp": 1779953547.683578,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139918908234624",
"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 provide more context about what specific aspect of Germany you are interested in? For example, are you asking about its history, culture, economy, politics, tourism, or something else?",
"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": 39,
"gen_ai.usage.total_tokens": 54,
"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": "93cc08733605df78",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ad072c5abde64989",
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"parent_span_id": "9c365fb7cc4ca5e1",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953546.481762,
"timestamp": 1779953547.683088,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139918908234624",
"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": 39,
"gen_ai.usage.total_tokens": 54,
"gen_ai.response.model": "gpt-4o-mini-2024-07-18",
"gen_ai.response.text": "Could you please provide more context about what specific aspect of Germany you are interested in? For example, are you asking about its history, culture, economy, politics, tourism, or something else?",
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID Agent Test",
"sentry.segment.id": "93cc08733605df78",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "81b2b00920a0ee63",
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"parent_span_id": "93cc08733605df78",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953547.683676,
"timestamp": 1779953548.146026,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139918908234624",
"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": "93cc08733605df78",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "abf8382b10148960",
"trace_id": "e25731fe8a0d4fd799a53bc4d6ac6de4",
"parent_span_id": "81b2b00920a0ee63",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953547.685025,
"timestamp": 1779953548.145309,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "139918908234624",
"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": "93cc08733605df78",
"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) 226037ms
Critical
checkAgentSpanAttributes
b75ccc31gen_ai.request.messagesagent span 0 should keep only the last input message, found 2 message(s)
a8251dfagen_ai.request.messagesagent span 1 should keep only the last input message, found 2 message(s)
8a56cbf0gen_ai.request.messagesagent span 2 should keep only the last input message, found 2 message(s)
9792b218gen_ai.request.messagesagent span 3 should keep only the last input message, found 2 message(s)
checkChatSpanAttributes
ad25677egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad25677egen_ai.output.messagesMissing output messages attribute
b6c816ccgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b6c816ccgen_ai.output.messagesMissing output messages attribute
970d3974gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
970d3974gen_ai.output.messagesMissing output messages attribute
9ffff41egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9ffff41egen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans)→ gen_ai.input.messagesgen_ai.response.text(8 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (21)
[
{
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"span_id": "aac40435121e31b2",
"parent_span_id": "ad25677e48abfb73",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:26.695776Z",
"timestamp": "2026-05-28T07:32:26.696737Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12832
},
"data": {
"thread.id": "140169510483648",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"span_id": "be565866aed2c8c6",
"parent_span_id": "ad25677e48abfb73",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:26.696813Z",
"timestamp": "2026-05-28T07:32:26.697383Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12832
},
"data": {
"thread.id": "140169510483648",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"span_id": "aa9ab724dc457ee7",
"parent_span_id": "be565866aed2c8c6",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:26.697333Z",
"timestamp": "2026-05-28T07:32:26.697370Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12832
},
"data": {
"thread.id": "140169510483648",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"span_id": "ad5e563f07c48f7d",
"parent_span_id": "ad25677e48abfb73",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:26.697408Z",
"timestamp": "2026-05-28T07:32:26.697417Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12832
},
"data": {
"thread.id": "140169510483648",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"span_id": "8c2733c018d605da",
"parent_span_id": "ad25677e48abfb73",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:26.698534Z",
"timestamp": "2026-05-28T07:32:26.842440Z",
"origin": "auto.http.httpx",
"status": "not_found",
"tags": {
"http.status_code": "404",
"status": "not_found"
},
"data": {
"thread.id": "140169766890368",
"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": "091728df595a4ebb9ff6174345b3a8ca",
"span_id": "8bd99f3ccec79270",
"parent_span_id": "ad25677e48abfb73",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:26.844641Z",
"timestamp": "2026-05-28T07:32:28.824657Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140169766890368",
"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": "091728df595a4ebb9ff6174345b3a8ca",
"span_id": "9256c2f3dc6309a5",
"parent_span_id": "b6c816ccda1fec59",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:28.841859Z",
"timestamp": "2026-05-28T07:32:28.914554Z",
"origin": "auto.http.httpx",
"status": "not_found",
"tags": {
"http.status_code": "404",
"status": "not_found"
},
"data": {
"thread.id": "140169766890368",
"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": "091728df595a4ebb9ff6174345b3a8ca",
"span_id": "90dce849ddd5512f",
"parent_span_id": "b6c816ccda1fec59",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:28.916045Z",
"timestamp": "2026-05-28T07:32:31.026964Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140169766890368",
"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": "091728df595a4ebb9ff6174345b3a8ca",
"span_id": "85721d31a1b6f7df",
"parent_span_id": "970d397467c30032",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:31.039459Z",
"timestamp": "2026-05-28T07:32:31.095904Z",
"origin": "auto.http.httpx",
"status": "not_found",
"tags": {
"http.status_code": "404",
"status": "not_found"
},
"data": {
"thread.id": "140169766890368",
"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": "091728df595a4ebb9ff6174345b3a8ca",
"span_id": "a2ba8c5153809282",
"parent_span_id": "970d397467c30032",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:31.103320Z",
"timestamp": "2026-05-28T07:32:38.895270Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140169766890368",
"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": "091728df595a4ebb9ff6174345b3a8ca",
"span_id": "b3d34dff6fbfa392",
"parent_span_id": "9ffff41e3df2dbdb",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:38.900272Z",
"timestamp": "2026-05-28T07:32:38.967696Z",
"origin": "auto.http.httpx",
"status": "not_found",
"tags": {
"http.status_code": "404",
"status": "not_found"
},
"data": {
"thread.id": "140169766890368",
"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": "091728df595a4ebb9ff6174345b3a8ca",
"span_id": "b3a826fe1977c6b3",
"parent_span_id": "9ffff41e3df2dbdb",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:32:38.969060Z",
"timestamp": "2026-05-28T07:32:42.018048Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140169766890368",
"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": "8f5b4d9ff878ff35",
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID Agent Test",
"start_timestamp": "2026-05-28T07:32:26.686876Z",
"timestamp": "2026-05-28T07:32:42.021994Z",
"data": {
"thread.id": "140169766890368",
"thread.name": "MainThread"
}
},
{
"span_id": "b75ccc310797826e",
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"parent_span_id": "8f5b4d9ff878ff35",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953546.687596,
"timestamp": 1779953548.839048,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140169766890368",
"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": 139,
"gen_ai.usage.total_tokens": 156,
"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": "8f5b4d9ff878ff35",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ad25677e48abfb73",
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"parent_span_id": "b75ccc310797826e",
"op": "gen_ai.chat",
"description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
"start_timestamp": 1779953546.69299,
"timestamp": 1779953548.838396,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140169766890368",
"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": 139,
"gen_ai.usage.total_tokens": 156,
"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": "8f5b4d9ff878ff35",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a8251dfa6182e99e",
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"parent_span_id": "8f5b4d9ff878ff35",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953548.839126,
"timestamp": 1779953551.031931,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140169766890368",
"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. In standard base-10 arithmetic, 2 + 2 equals 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": 347,
"gen_ai.usage.total_tokens": 365,
"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": "8f5b4d9ff878ff35",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b6c816ccda1fec59",
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"parent_span_id": "a8251dfa6182e99e",
"op": "gen_ai.chat",
"description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
"start_timestamp": 1779953548.840521,
"timestamp": 1779953551.028117,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140169766890368",
"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": 347,
"gen_ai.usage.total_tokens": 365,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.text": "4. In standard base-10 arithmetic, 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": "8f5b4d9ff878ff35",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8a56cbf020d7a59a",
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"parent_span_id": "8f5b4d9ff878ff35",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953551.032031,
"timestamp": 1779953558.896497,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140169766890368",
"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 tell me what aspect you’re interested in about Germany? Politics, economy, travel, history, culture, or something else? Here’s a quick, high-level snapshot to the main topics:\n\n- Geography and people: Germany is in central Europe. Population around 83–84 million. Capital and major hub: Berlin. Official language: German. Currency: euro.\n\n- Economy: Europe’s largest economy and a global manufacturing leader. Key sectors include automotive (e.g., VW, BMW, Mercedes), engineering, chemicals, machinery, and increasingly digital/renewable energy tech. A big exporter and a central player in the EU market.\n\n- Politics: Germany is a federal parliamentary republic. It typically has coalition governments; it plays a leading role in the EU and NATO. (If you want, I can summarize the current government and recent policies.)\n\n- Culture and society: Rich cultural scene—from classical and modern art to beer and beer gardens, Christmas markets, and a strong tradition of engineering and craftsmanship. Germany also has a robust welfare system and high living standards, though it faces challenges like housing affordability and demographic changes.\n\n- Energy and environment: Ongoing Energiewende (energy transition) toward greater renewables, phasing out nuclear, with efforts to ensure secure gas supply and grid integration. Climate and industrial policy are hot topics.\n\n- Travel tips (if that’s your angle): Berlin is the capital and a cultural hotspot; other major cities include Munich, Hamburg, Cologne, and Frankfurt. Germany is part of the Schengen Area, so typically visa-free for short visits for many nationalities. Efficient rail networks connect most cities; driving on the Autobahn is famous.\n\nIf you tell me which area you care about, I can go into more detail, pull in current events, or tailor the info to your needs.",
"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": 1591,
"gen_ai.usage.total_tokens": 1605,
"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": "8f5b4d9ff878ff35",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "970d397467c30032",
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"parent_span_id": "8a56cbf020d7a59a",
"op": "gen_ai.chat",
"description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
"start_timestamp": 1779953551.034211,
"timestamp": 1779953558.896007,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140169766890368",
"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": 1591,
"gen_ai.usage.total_tokens": 1605,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.text": "Could you tell me what aspect you’re interested in about Germany? Politics, economy, travel, history, culture, or something else? Here’s a quick, high-level snapshot to the main topics:\n\n- Geography and people: Germany is in central Europe. Population around 83–84 million. Capital and major hub: Berlin. Official language: German. Currency: euro.\n\n- Economy: Europe’s largest economy and a global manufacturing leader. Key sectors include automotive (e.g., VW, BMW, Mercedes), engineering, chemicals, machinery, and increasingly digital/renewable energy tech. A big exporter and a central player in the EU market.\n\n- Politics: Germany is a federal parliamentary republic. It typically has coalition governments; it plays a leading role in the EU and NATO. (If you want, I can summarize the current government and recent policies.)\n\n- Culture and society: Rich cultural scene—from classical and modern art to beer and beer gardens, Christmas markets, and a strong tradition of engineering and craftsmanship. Germany also has a robust welfare system and high living standards, though it faces challenges like housing affordability and demographic changes.\n\n- Energy and environment: Ongoing Energiewende (energy transition) toward greater renewables, phasing out nuclear, with efforts to ensure secure gas supply and grid integration. Climate and industrial policy are hot topics.\n\n- Travel tips (if that’s your angle): Berlin is the capital and a cultural hotspot; other major cities include Munich, Hamburg, Cologne, and Frankfurt. Germany is part of the Schengen Area, so typically visa-free for short visits for many nationalities. Efficient rail networks connect most cities; driving on the Autobahn is famous.\n\nIf you tell me which area you care about, I can go into more detail, pull in current events, or tailor the info to your needs.",
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID Agent Test",
"sentry.segment.id": "8f5b4d9ff878ff35",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9792b2186c1b9aa8",
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"parent_span_id": "8f5b4d9ff878ff35",
"op": "gen_ai.invoke_agent",
"description": "invoke_agent helpful_assistant",
"start_timestamp": 1779953558.896572,
"timestamp": 1779953562.019962,
"data": {
"sentry.op": "gen_ai.invoke_agent",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140169766890368",
"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": "6.\n\nIf you’re thinking in base 6, then 3 + 3 = 10 (base 6), which is 6 in decimal. But in standard base-10 math, 3 + 3 = 6.",
"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": 442,
"gen_ai.usage.total_tokens": 460,
"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": "8f5b4d9ff878ff35",
"sentry.sdk.name": "sentry.python.starlette",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9ffff41e3df2dbdb",
"trace_id": "091728df595a4ebb9ff6174345b3a8ca",
"parent_span_id": "9792b2186c1b9aa8",
"op": "gen_ai.chat",
"description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
"start_timestamp": 1779953558.898513,
"timestamp": 1779953562.019191,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.pydantic_ai",
"thread.id": "140169766890368",
"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": 442,
"gen_ai.usage.total_tokens": 460,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.text": "6.\n\nIf you’re thinking in base 6, then 3 + 3 = 10 (base 6), which is 6 in decimal. But in standard base-10 math, 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": "8f5b4d9ff878ff35",
"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 15537ms
Critical
checkAISpanCount(1)
Should have exactly 1 AI span(s) but found 2
checkEmbeddingSpanAttributes
Checks
checkEmbeddingTokenUsage
9e65ad95gen_ai.usage.input_tokensinput_tokens must exist
9e65ad95gen_ai.usage.total_tokenstotal_tokens must exist
Warnings
checkResponseModel
9e65ad95gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9a3cc178gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Captured Spans (9)
[
{
"trace_id": "9b807b7b9ef442e196f188593bbc20c6",
"span_id": "97a98c8e751760db",
"parent_span_id": "9a3cc178a6b00ed9",
"same_process_as_parent": true,
"op": "http.client",
"description": "GET https://openaipublic.blob.core.windows.net/encodings/cl100k_base.tiktoken",
"start_timestamp": "2026-05-28T07:32:34.696400Z",
"timestamp": "2026-05-28T07:32:34.891135Z",
"origin": "auto.http.stdlib.httplib",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140306876611456",
"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": "9b807b7b9ef442e196f188593bbc20c6",
"span_id": "9976b99bb70fe7c9",
"parent_span_id": "9a3cc178a6b00ed9",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:35.181241Z",
"timestamp": "2026-05-28T07:32:35.183560Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12995
},
"data": {
"thread.id": "140306876611456",
"thread.name": "MainThread"
}
},
{
"trace_id": "9b807b7b9ef442e196f188593bbc20c6",
"span_id": "b915a962c58d5acb",
"parent_span_id": "9a3cc178a6b00ed9",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:35.183675Z",
"timestamp": "2026-05-28T07:32:35.183811Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12995
},
"data": {
"thread.id": "140306876611456",
"thread.name": "MainThread"
}
},
{
"trace_id": "9b807b7b9ef442e196f188593bbc20c6",
"span_id": "8615c61e4ee71ca2",
"parent_span_id": "b915a962c58d5acb",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:35.183768Z",
"timestamp": "2026-05-28T07:32:35.183802Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12995
},
"data": {
"thread.id": "140306876611456",
"thread.name": "MainThread"
}
},
{
"trace_id": "9b807b7b9ef442e196f188593bbc20c6",
"span_id": "bfd0cec3b26ef8b8",
"parent_span_id": "9a3cc178a6b00ed9",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:35.183847Z",
"timestamp": "2026-05-28T07:32:35.183862Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12995
},
"data": {
"thread.id": "140306876611456",
"thread.name": "MainThread"
}
},
{
"trace_id": "9b807b7b9ef442e196f188593bbc20c6",
"span_id": "bf5afbd088d7ec17",
"parent_span_id": "9a3cc178a6b00ed9",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/embeddings",
"start_timestamp": "2026-05-28T07:32:35.185111Z",
"timestamp": "2026-05-28T07:32:35.405419Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140306876611456",
"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": "a4eedf57d625bbe8",
"trace_id": "9b807b7b9ef442e196f188593bbc20c6",
"parent_span_id": null,
"op": "test",
"description": "Basic Embeddings Test",
"start_timestamp": "2026-05-28T07:32:34.592152Z",
"timestamp": "2026-05-28T07:32:35.408045Z",
"data": {
"thread.id": "140306876611456",
"thread.name": "MainThread"
}
},
{
"span_id": "9e65ad953d5f6240",
"trace_id": "9b807b7b9ef442e196f188593bbc20c6",
"parent_span_id": "a4eedf57d625bbe8",
"op": "gen_ai.embeddings",
"description": "embeddings text-embedding-3-small",
"start_timestamp": 1779953554.592928,
"timestamp": 1779953555.407987,
"data": {
"sentry.op": "gen_ai.embeddings",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140306876611456",
"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": "a4eedf57d625bbe8",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9a3cc178a6b00ed9",
"trace_id": "9b807b7b9ef442e196f188593bbc20c6",
"parent_span_id": "9e65ad953d5f6240",
"op": "gen_ai.embeddings",
"description": "embeddings text-embedding-3-small",
"start_timestamp": 1779953554.593049,
"timestamp": 1779953555.407975,
"data": {
"sentry.op": "gen_ai.embeddings",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140306876611456",
"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": "a4eedf57d625bbe8",
"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 14856ms
Critical
checkAISpanCount(1)
Should have exactly 1 AI span(s) but found 2
checkEmbeddingSpanAttributes
Checks
checkEmbeddingTokenUsage
8592fe93gen_ai.usage.input_tokensinput_tokens must exist
8592fe93gen_ai.usage.total_tokenstotal_tokens must exist
Warnings
checkResponseModel
8592fe93gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b8ff190agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Captured Spans (9)
[
{
"trace_id": "d49c361b5d8e4da883da910a778726e8",
"span_id": "bdfe1c404887a600",
"parent_span_id": "b8ff190aa9555f68",
"same_process_as_parent": true,
"op": "http.client",
"description": "GET https://openaipublic.blob.core.windows.net/encodings/cl100k_base.tiktoken",
"start_timestamp": "2026-05-28T07:32:34.725385Z",
"timestamp": "2026-05-28T07:32:34.923264Z",
"origin": "auto.http.stdlib.httplib",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139853464970944",
"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": "d49c361b5d8e4da883da910a778726e8",
"span_id": "a7f5d9354d2a2a66",
"parent_span_id": "b8ff190aa9555f68",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:35.245525Z",
"timestamp": "2026-05-28T07:32:35.248185Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12998
},
"data": {
"thread.id": "139853464970944",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d49c361b5d8e4da883da910a778726e8",
"span_id": "b6e6b370d2f1fb0d",
"parent_span_id": "b8ff190aa9555f68",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:35.248276Z",
"timestamp": "2026-05-28T07:32:35.248411Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12998
},
"data": {
"thread.id": "139853464970944",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d49c361b5d8e4da883da910a778726e8",
"span_id": "a688ab34bdf44210",
"parent_span_id": "b6e6b370d2f1fb0d",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:35.248367Z",
"timestamp": "2026-05-28T07:32:35.248401Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12998
},
"data": {
"thread.id": "139853464970944",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d49c361b5d8e4da883da910a778726e8",
"span_id": "b73951f41a529ad4",
"parent_span_id": "b8ff190aa9555f68",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:35.248446Z",
"timestamp": "2026-05-28T07:32:35.248461Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 12998
},
"data": {
"thread.id": "139853464970944",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d49c361b5d8e4da883da910a778726e8",
"span_id": "98a82af939eda836",
"parent_span_id": "b8ff190aa9555f68",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/embeddings",
"start_timestamp": "2026-05-28T07:32:35.249988Z",
"timestamp": "2026-05-28T07:32:35.423266Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139853569485696",
"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": "aef78321160a167e",
"trace_id": "d49c361b5d8e4da883da910a778726e8",
"parent_span_id": null,
"op": "test",
"description": "Basic Embeddings Test",
"start_timestamp": "2026-05-28T07:32:34.588870Z",
"timestamp": "2026-05-28T07:32:35.426748Z",
"data": {
"thread.id": "139853569485696",
"thread.name": "MainThread"
}
},
{
"span_id": "8592fe932b77e317",
"trace_id": "d49c361b5d8e4da883da910a778726e8",
"parent_span_id": "aef78321160a167e",
"op": "gen_ai.embeddings",
"description": "embeddings text-embedding-3-small",
"start_timestamp": 1779953554.589979,
"timestamp": 1779953555.425638,
"data": {
"sentry.op": "gen_ai.embeddings",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139853569485696",
"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": "aef78321160a167e",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b8ff190aa9555f68",
"trace_id": "d49c361b5d8e4da883da910a778726e8",
"parent_span_id": "8592fe932b77e317",
"op": "gen_ai.embeddings",
"description": "embeddings text-embedding-3-small",
"start_timestamp": 1779953554.59011,
"timestamp": 1779953555.425626,
"data": {
"sentry.op": "gen_ai.embeddings",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139853569485696",
"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": "aef78321160a167e",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/litellm :: Basic Embeddings Test (async, blocking) 26092ms
Critical
checkAISpanCount(1)
Should have exactly 1 AI span(s) but found 0
checkEmbeddingSpanAttributes
Should have at least one embedding span
Checks
checkEmbeddingTokenUsage(No embedding spans captured)
Warnings
checkResponseModel(No chat or embedding spans captured)
Captured Spans (7)
[
{
"trace_id": "6180453f61fe4a58b5046fc71964e18d",
"span_id": "8f904e09ffb5209f",
"parent_span_id": "ba8f27b96a1cdfc9",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:32:37.312817Z",
"timestamp": "2026-05-28T07:32:37.314202Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 13087
},
"data": {
"thread.id": "140608929359552",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6180453f61fe4a58b5046fc71964e18d",
"span_id": "ada6e069a0caeefd",
"parent_span_id": "ba8f27b96a1cdfc9",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:32:37.314277Z",
"timestamp": "2026-05-28T07:32:37.315101Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 13087
},
"data": {
"thread.id": "140608929359552",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6180453f61fe4a58b5046fc71964e18d",
"span_id": "bff5a014c7e32364",
"parent_span_id": "ada6e069a0caeefd",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:37.315051Z",
"timestamp": "2026-05-28T07:32:37.315089Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 13087
},
"data": {
"thread.id": "140608929359552",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6180453f61fe4a58b5046fc71964e18d",
"span_id": "8083d0ff7a3856ae",
"parent_span_id": "ba8f27b96a1cdfc9",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:32:37.315133Z",
"timestamp": "2026-05-28T07:32:37.315147Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 13087
},
"data": {
"thread.id": "140608929359552",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6180453f61fe4a58b5046fc71964e18d",
"span_id": "a11a8d9248826b39",
"parent_span_id": "ba8f27b96a1cdfc9",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/embeddings",
"start_timestamp": "2026-05-28T07:32:37.316902Z",
"timestamp": "2026-05-28T07:32:37.526011Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140609085049728",
"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": "6180453f61fe4a58b5046fc71964e18d",
"span_id": "be459767d8541078",
"parent_span_id": "a11a8d9248826b39",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/embeddings",
"start_timestamp": "2026-05-28T07:32:37.317750Z",
"timestamp": "2026-05-28T07:32:37.516123Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140609085049728",
"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": "a4f580ff20b53ffd",
"trace_id": "6180453f61fe4a58b5046fc71964e18d",
"parent_span_id": null,
"op": "test",
"description": "Basic Embeddings Test",
"start_timestamp": "2026-05-28T07:32:37.300065Z",
"timestamp": "2026-05-28T07:32:37.545073Z",
"data": {
"thread.id": "140609085049728",
"thread.name": "MainThread"
}
}
]browser/anthropic :: Basic LLM Test (streaming) 11579ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
ad4e3579gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad4e3579gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "bda79136827aa1cd",
"trace_id": "6e2a21de86544262bc44497ba70b1482",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953553.8430998,
"timestamp": 1779953554.7065,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "ad4e35792dac7672",
"trace_id": "6e2a21de86544262bc44497ba70b1482",
"parent_span_id": "bda79136827aa1cd",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953553.8455,
"timestamp": 1779953554.7022,
"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_01KB7qGMTBdqUz5v9TGKyW82",
"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) 11708ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b2e05105gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b2e05105gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "b78ce4bc3f591413",
"trace_id": "d43c0eceb656411392a851a72cc0dd9d",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953554.8052,
"timestamp": 1779953555.8703,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "b2e051055c36966e",
"trace_id": "d43c0eceb656411392a851a72cc0dd9d",
"parent_span_id": "b78ce4bc3f591413",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953554.8079002,
"timestamp": 1779953555.8698,
"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 known for its iconic landmarks such as the Eiffel Tower, Notre-Dame Cathedral, and the Louvre Museum.",
"gen_ai.response.id": "msg_01Su2rfoSZis61Gz3wZpYpmB",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 20,
"gen_ai.usage.output_tokens": 56,
"gen_ai.usage.total_tokens": 76
},
"status": "ok",
"is_segment": false
}
]browser/anthropic :: Multi-Turn LLM Test (streaming) 14365ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
ae410bbbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ae410bbbgen_ai.output.messagesMissing output messages attribute
8e5d115cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8e5d115cgen_ai.output.messagesMissing output messages attribute
a373bba6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a373bba6gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"span_id": "b233d53417925f2a",
"trace_id": "783e6be92f9443498fdb77625289a98f",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953555.3356001,
"timestamp": 1779953559.116,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "ae410bbb797c7886",
"trace_id": "783e6be92f9443498fdb77625289a98f",
"parent_span_id": "b233d53417925f2a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953555.3371,
"timestamp": 1779953556.101,
"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_01LyZaAPgQXkig9EFW8ZLpjV",
"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": "8e5d115ca7d03c5d",
"trace_id": "783e6be92f9443498fdb77625289a98f",
"parent_span_id": "b233d53417925f2a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953556.1022003,
"timestamp": 1779953557.7488,
"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_01GLFHEjvje9dNs5LsyfbGGc",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 41,
"gen_ai.usage.output_tokens": 76,
"gen_ai.usage.total_tokens": 117,
"gen_ai.response.text": "Paris has a population of approximately 2.1-2.2 million people within the city proper (as of recent estimates).\n\nHowever, it's worth noting that 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."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a373bba66d454e7e",
"trace_id": "783e6be92f9443498fdb77625289a98f",
"parent_span_id": "b233d53417925f2a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953557.7519002,
"timestamp": 1779953559.115,
"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_01GmGxpQZA3kE1gFeN1Qd4vy",
"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) 13632ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
85fde0degen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
85fde0degen_ai.output.messagesMissing output messages attribute
963f5d6bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
963f5d6bgen_ai.output.messagesMissing output messages attribute
8658f9dagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8658f9dagen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"span_id": "a14bad62d6363d79",
"trace_id": "033f2c87c19548c48902e0e09e8c1b11",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953556.3776002,
"timestamp": 1779953559.3973,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "85fde0de5516ad1a",
"trace_id": "033f2c87c19548c48902e0e09e8c1b11",
"parent_span_id": "a14bad62d6363d79",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953556.3788998,
"timestamp": 1779953556.961,
"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_01USFsbxfGCwob1eayh6ksji",
"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": "963f5d6bb126f208",
"trace_id": "033f2c87c19548c48902e0e09e8c1b11",
"parent_span_id": "a14bad62d6363d79",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953556.9617,
"timestamp": 1779953558.5645,
"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 which area you're referring to:\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 makes Paris one of the most densely populated cities in Europe, while the metropolitan area is one of the largest in the world.",
"gen_ai.response.id": "msg_01CSUxWgMnH2NhjZxgZGA9cv",
"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
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8658f9da8e231205",
"trace_id": "033f2c87c19548c48902e0e09e8c1b11",
"parent_span_id": "a14bad62d6363d79",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953558.565,
"timestamp": 1779953559.3968,
"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_01CkJcHy7tSEyttVa7qfsGzq",
"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
}
]browser/anthropic :: Vision LLM Test (streaming) 11298ms
Critical
checkChatSpanAttributes
b69ce4edgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b69ce4edgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "954912b405601509",
"trace_id": "85b0351ed08f43f2ac8d11828cbf574c",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953556.5427997,
"timestamp": 1779953557.1674,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "b69ce4edacda21fe",
"trace_id": "85b0351ed08f43f2ac8d11828cbf574c",
"parent_span_id": "954912b405601509",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953556.5447998,
"timestamp": 1779953557.1662998,
"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_01CuoWdfinLDx7866thkXRLV",
"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) 12129ms
Critical
checkChatSpanAttributes
af527eb8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af527eb8gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "bf027e887a33e6da",
"trace_id": "b84da2a89c9e41d4a87b22161437456c",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953556.5826,
"timestamp": 1779953558.0696,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "af527eb884c7c320",
"trace_id": "b84da2a89c9e41d4a87b22161437456c",
"parent_span_id": "bf027e887a33e6da",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953556.5839002,
"timestamp": 1779953558.0679002,
"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_01KYodtLY5KFfPVrw62sCRRm",
"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) 11413ms
Critical
checkChatSpanAttributes
a4f2c3a1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a4f2c3a1gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "ae35dcd69089a72f",
"trace_id": "6d038a6d5fa84ff1bf58c4d1d9dce92a",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953557.2265,
"timestamp": 1779953558.0107,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "a4f2c3a1d5f2dfcc",
"trace_id": "6d038a6d5fa84ff1bf58c4d1d9dce92a",
"parent_span_id": "ae35dcd69089a72f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953557.2292,
"timestamp": 1779953558.0091,
"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_01U91EeNjxnjd6ZjQcSgdThE",
"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 lengthy input."
},
"status": "ok",
"is_segment": false
}
]browser/anthropic :: Long Input LLM Test (blocking) 11447ms
Critical
checkChatSpanAttributes
bdc2d5e2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bdc2d5e2gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "a8d37f9e10877c9f",
"trace_id": "4a44b3a50c3c455fb7f256c8065f14dc",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953557.2998998,
"timestamp": 1779953558.1311,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "bdc2d5e213dff13f",
"trace_id": "4a44b3a50c3c455fb7f256c8065f14dc",
"parent_span_id": "a8d37f9e10877c9f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953557.3015997,
"timestamp": 1779953558.1305,
"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_01GVTT1oZffHjG5pFxQZsmxB",
"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
}
]browser/anthropic :: Conversation ID LLM Test (streaming) 13332ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
b23c8696gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b23c8696gen_ai.output.messagesMissing output messages attribute
a232ca7fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a232ca7fgen_ai.output.messagesMissing output messages attribute
81c92115gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81c92115gen_ai.output.messagesMissing output messages attribute
80085aadgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
80085aadgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (5)
[
{
"span_id": "96684e4abc77f8f8",
"trace_id": "e04e2d129f36422aa1f3dec54abd90b2",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953557.8235,
"timestamp": 1779953560.5161002,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "b23c86965f0c3fa3",
"trace_id": "e04e2d129f36422aa1f3dec54abd90b2",
"parent_span_id": "96684e4abc77f8f8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953557.8274,
"timestamp": 1779953558.3776002,
"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_01173yv6jBqsFtuRc6egnxRB",
"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": "a232ca7f22a4b0ce",
"trace_id": "e04e2d129f36422aa1f3dec54abd90b2",
"parent_span_id": "96684e4abc77f8f8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953558.3788998,
"timestamp": 1779953559.342,
"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_01MHCHWUoAJYXYwUAFmKTn8D",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 47,
"gen_ai.usage.total_tokens": 70,
"gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the most basic addition facts! When you combine 2 objects with 2 more objects, you get 4 objects total."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "81c9211590ef15fa",
"trace_id": "e04e2d129f36422aa1f3dec54abd90b2",
"parent_span_id": "96684e4abc77f8f8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953559.3428001,
"timestamp": 1779953559.8868,
"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_01W1L1igZqfYagmZ8fYVEuDx",
"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": "80085aadddf007ba",
"trace_id": "e04e2d129f36422aa1f3dec54abd90b2",
"parent_span_id": "96684e4abc77f8f8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953559.8878,
"timestamp": 1779953560.5156002,
"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_018x4YDNse8vEimqxwtvPE2t",
"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) 13703ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
af32017fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af32017fgen_ai.output.messagesMissing output messages attribute
baabb2bagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
baabb2bagen_ai.output.messagesMissing output messages attribute
b9733483gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b9733483gen_ai.output.messagesMissing output messages attribute
b00699f1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b00699f1gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (5)
[
{
"span_id": "b8e64abbfe0dec38",
"trace_id": "f01290b60c3c42c6ad461373e62e0e08",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953558.6195,
"timestamp": 1779953561.7201002,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "af32017fb531c5b5",
"trace_id": "f01290b60c3c42c6ad461373e62e0e08",
"parent_span_id": "b8e64abbfe0dec38",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953558.621,
"timestamp": 1779953559.2185,
"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_01CntchyABJAZvGuEXziZA9B",
"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": "baabb2ba73d94444",
"trace_id": "f01290b60c3c42c6ad461373e62e0e08",
"parent_span_id": "b8e64abbfe0dec38",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953559.2192,
"timestamp": 1779953560.4321,
"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\nIs there anything else you'd like help with in math?",
"gen_ai.response.id": "msg_01TDgRFAt5SVuK4jgYc6HQG6",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 27,
"gen_ai.usage.total_tokens": 50
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b9733483d8a5c4e9",
"trace_id": "f01290b60c3c42c6ad461373e62e0e08",
"parent_span_id": "b8e64abbfe0dec38",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953560.4326,
"timestamp": 1779953561.0106,
"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_01CFWg1wFx2zbA1H56Cxhfpv",
"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": "b00699f1d7e17f87",
"trace_id": "f01290b60c3c42c6ad461373e62e0e08",
"parent_span_id": "b8e64abbfe0dec38",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953561.0111,
"timestamp": 1779953561.7198,
"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_01MZ2RDZn8p15qwnQnohR9Cn",
"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) 11170ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
8ab815f8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8ab815f8gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "b28877fe7c44fca0",
"trace_id": "4bc27636611f46ce9a2086a681d2ece9",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953558.6553998,
"timestamp": 1779953559.2073,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "8ab815f8ebdc164b",
"trace_id": "4bc27636611f46ce9a2086a681d2ece9",
"parent_span_id": "b28877fe7c44fca0",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953558.6571999,
"timestamp": 1779953559.2069,
"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": "lu8XarDqNtXF-sAPssbvwQU",
"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) 11264ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b576f7bbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b576f7bbgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "a3dac050eb04a292",
"trace_id": "125687841812498d9ff5ce4338145019",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953558.7013001,
"timestamp": 1779953559.3267,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "b576f7bb5935f0d8",
"trace_id": "125687841812498d9ff5ce4338145019",
"parent_span_id": "a3dac050eb04a292",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953558.7033,
"timestamp": 1779953559.326,
"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) 12559ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
80524b45gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
80524b45gen_ai.output.messagesMissing output messages attribute
bff4f446gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bff4f446gen_ai.output.messagesMissing output messages attribute
bd3a8953gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bd3a8953gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"span_id": "b266b5159182bf2f",
"trace_id": "0ec380f8f91f415aac363bd48df32cfc",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953558.7622998,
"timestamp": 1779953560.6845,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "80524b45414f6ba4",
"trace_id": "0ec380f8f91f415aac363bd48df32cfc",
"parent_span_id": "b266b5159182bf2f",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953558.7650998,
"timestamp": 1779953559.1459,
"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": "lu8XavaLO4GdjMcPo8-F4AE",
"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": "bff4f44645c377ef",
"trace_id": "0ec380f8f91f415aac363bd48df32cfc",
"parent_span_id": "b266b5159182bf2f",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953559.1462998,
"timestamp": 1779953560.0238,
"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": "l-8XaoitFNXF-sAPssbvwQU",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"gen_ai.usage.input_tokens": 32,
"gen_ai.usage.output_tokens": 73,
"gen_ai.usage.total_tokens": 105,
"gen_ai.response.finish_reasons": "[\"STOP\"]",
"gen_ai.response.text": "The population of Paris is estimated to be around **2.1 million people** as of 2023.\n\nIt's important to note that this figure usually refers to the **city proper** (the administrative boundaries of Paris). The **greater Paris metropolitan area** has a much larger population, often estimated to be over 11 million people."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bd3a89535aa6d847",
"trace_id": "0ec380f8f91f415aac363bd48df32cfc",
"parent_span_id": "b266b5159182bf2f",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953560.0242,
"timestamp": 1779953560.6841,
"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": "mO8XarKsEe-wjMcP7dnl8QQ",
"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
}
]browser/google-genai :: Multi-Turn LLM Test (blocking) 12583ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
ba66e369gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ba66e369gen_ai.output.messagesMissing output messages attribute
a8b9ad89gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8b9ad89gen_ai.output.messagesMissing output messages attribute
8c16ce93gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c16ce93gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"span_id": "94c04fe5acc4b21a",
"trace_id": "63b124ad2ca040689a78914d5dbeeaf5",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953558.7773001,
"timestamp": 1779953560.7096999,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "ba66e36930fe3d67",
"trace_id": "63b124ad2ca040689a78914d5dbeeaf5",
"parent_span_id": "94c04fe5acc4b21a",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953558.7791,
"timestamp": 1779953559.2972,
"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": "a8b9ad894da8508a",
"trace_id": "63b124ad2ca040689a78914d5dbeeaf5",
"parent_span_id": "94c04fe5acc4b21a",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953559.298,
"timestamp": 1779953559.8664,
"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": 73,
"gen_ai.usage.total_tokens": 105,
"gen_ai.response.text": "The population of Paris is approximately **2.1 million** people as of recent estimates.\n\nHowever, it's important to note that this number usually refers to the city proper (within its administrative boundaries). The population of the larger metropolitan area (Grand Paris) is significantly higher, often estimated to be around **10 to 11 million** people."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8c16ce93ce000fc3",
"trace_id": "63b124ad2ca040689a78914d5dbeeaf5",
"parent_span_id": "94c04fe5acc4b21a",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953559.8668,
"timestamp": 1779953560.7090998,
"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": 69,
"gen_ai.usage.total_tokens": 126,
"gen_ai.response.text": "The population of the Paris metropolitan area is significantly larger, estimated to be around **11.2 million people** as of recent estimates.\n\nThe metropolitan area, also known as the *aire d'attraction de Paris*, includes the city itself and its surrounding suburbs and commuter towns, which are economically and socially linked to the city center."
},
"status": "ok",
"is_segment": false
}
]browser/google-genai :: Vision LLM Test (streaming) 11331ms
Critical
checkChatSpanAttributes
88e7898bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88e7898bgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "9c04d2ed0e5fab47",
"trace_id": "c202da449b6a455d96adf994245c3512",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953559.7034,
"timestamp": 1779953560.44,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "88e7898b3c3b737e",
"trace_id": "c202da449b6a455d96adf994245c3512",
"parent_span_id": "9c04d2ed0e5fab47",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953559.705,
"timestamp": 1779953560.4395998,
"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": "l-8XasqmPOO6jMcP39bPqQ0",
"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) 12101ms
Critical
checkChatSpanAttributes
96645b8dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
96645b8dgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "94743c60f4f4dd45",
"trace_id": "b5322fb791d24cd6b59dd52ee2a6e796",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953559.7975,
"timestamp": 1779953561.2884,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "96645b8d3da0276e",
"trace_id": "b5322fb791d24cd6b59dd52ee2a6e796",
"parent_span_id": "94743c60f4f4dd45",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953559.7986999,
"timestamp": 1779953561.2857997,
"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) 11216ms
Critical
checkChatSpanAttributes
bead7792gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bead7792gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "b2840459e15805ed",
"trace_id": "2606dbc25f704678a502e45de17aa127",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953559.919,
"timestamp": 1779953560.5465,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "bead77923fd330c0",
"trace_id": "2606dbc25f704678a502e45de17aa127",
"parent_span_id": "b2840459e15805ed",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953559.9204,
"timestamp": 1779953560.5462,
"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": "mO8Xao3QC9LTjMcPienjmQ0",
"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
}
]browser/google-genai :: Long Input LLM Test (blocking) 11250ms
Critical
checkChatSpanAttributes
bf067d13gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bf067d13gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "91d62abe13846b66",
"trace_id": "6b1fa5aa6c1e404dac57ca636737e3bf",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953559.9855,
"timestamp": 1779953560.6490998,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "bf067d136bdb05da",
"trace_id": "6b1fa5aa6c1e404dac57ca636737e3bf",
"parent_span_id": "91d62abe13846b66",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953559.9868999,
"timestamp": 1779953560.6485,
"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 numerous times to form a very long input."
},
"status": "ok",
"is_segment": false
}
]browser/google-genai :: Conversation ID LLM Test (streaming) 12620ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
8a2710ffgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8a2710ffgen_ai.output.messagesMissing output messages attribute
92d7c7f3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92d7c7f3gen_ai.output.messagesMissing output messages attribute
aadf6829gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aadf6829gen_ai.output.messagesMissing output messages attribute
94e653d8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94e653d8gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (5)
[
{
"span_id": "909053526ee9c683",
"trace_id": "02de8650c857427fb34f6e2af59f0f89",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953560.1487,
"timestamp": 1779953562.1583002,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "8a2710ff28f5985c",
"trace_id": "02de8650c857427fb34f6e2af59f0f89",
"parent_span_id": "909053526ee9c683",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953560.1500998,
"timestamp": 1779953560.6302,
"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": "mO8XavbmFJ3F-sAPwOWzoQI",
"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": "92d7c7f372de98d9",
"trace_id": "02de8650c857427fb34f6e2af59f0f89",
"parent_span_id": "909053526ee9c683",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953560.6309,
"timestamp": 1779953561.0819,
"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": "mO8XauG-MbqdjMcPhufv2AM",
"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.finish_reasons": "[\"STOP\"]",
"gen_ai.response.text": "2 + 2 = 4."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "aadf68291dccac33",
"trace_id": "02de8650c857427fb34f6e2af59f0f89",
"parent_span_id": "909053526ee9c683",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953561.0825999,
"timestamp": 1779953561.67,
"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": "me8Xap6aEbbXjMcPitiBmA0",
"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": "94e653d8bc9f14d5",
"trace_id": "02de8650c857427fb34f6e2af59f0f89",
"parent_span_id": "909053526ee9c683",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953561.6705,
"timestamp": 1779953562.1575,
"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": "me8XaryQNIGdjMcP3M-F4AE",
"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) 12335ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
8f291e78gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f291e78gen_ai.output.messagesMissing output messages attribute
af5e3d4dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af5e3d4dgen_ai.output.messagesMissing output messages attribute
ae48e382gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ae48e382gen_ai.output.messagesMissing output messages attribute
b101d1acgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b101d1acgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (5)
[
{
"span_id": "9f133a27624cdb21",
"trace_id": "c2c262caa3c74f548115dee7ab567db4",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953560.4141,
"timestamp": 1779953562.1457,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "8f291e782cf96d0f",
"trace_id": "c2c262caa3c74f548115dee7ab567db4",
"parent_span_id": "9f133a27624cdb21",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953560.4153,
"timestamp": 1779953560.8479,
"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": "af5e3d4d437ee81b",
"trace_id": "c2c262caa3c74f548115dee7ab567db4",
"parent_span_id": "9f133a27624cdb21",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953560.8485,
"timestamp": 1779953561.2845998,
"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": 15,
"gen_ai.usage.total_tokens": 31,
"gen_ai.response.text": "That's a classic! 2 + 2 equals 4."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ae48e382e8d1bcb9",
"trace_id": "c2c262caa3c74f548115dee7ab567db4",
"parent_span_id": "9f133a27624cdb21",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953561.2865,
"timestamp": 1779953561.7347,
"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": "b101d1acd8b31e24",
"trace_id": "c2c262caa3c74f548115dee7ab567db4",
"parent_span_id": "9f133a27624cdb21",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953561.7352,
"timestamp": 1779953562.1453,
"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 11669ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
908cc6f3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
908cc6f3gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
908cc6f3gen_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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (2)
[
{
"span_id": "860ca37f65bc432f",
"trace_id": "7c0e5d4b7c084b79a52cf16446e6738a",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953561.0657997,
"timestamp": 1779953562.1053998,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "908cc6f3bf24ba3f",
"trace_id": "7c0e5d4b7c084b79a52cf16446e6738a",
"parent_span_id": "860ca37f65bc432f",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953561.0712,
"timestamp": 1779953562.1047997,
"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-DkPWLY9SDWCiiZuPSu8XKrMvORzwq",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]browser/langchain :: Basic LLM Test (streaming, anthropic) 1 1 1858ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
8c49b187gen_ai.usage.input_tokensSpan 8c49b187: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8c49b187gen_ai.usage.output_tokensSpan 8c49b187: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
8c49b187gen_ai.usage.input_tokensinput_tokens must exist
8c49b187gen_ai.usage.output_tokensoutput_tokens must exist
8c49b187gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
8c49b187gen_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.nameCaptured Spans (2)
[
{
"span_id": "b92d1d8de9634f76",
"trace_id": "4db642bd6db245da8f8b3ba7fdd44546",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953561.1606998,
"timestamp": 1779953561.3809,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "8c49b187b078eee3",
"trace_id": "4db642bd6db245da8f8b3ba7fdd44546",
"parent_span_id": "b92d1d8de9634f76",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953561.1662,
"timestamp": 1779953561.3517,
"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 11701ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
9c33e779gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c33e779gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
9c33e779gen_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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (2)
[
{
"span_id": "b9aca70c72086817",
"trace_id": "133479397d4e4c0ba7c1dd3ccf10fe65",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953561.1994,
"timestamp": 1779953562.2213001,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "9c33e7791e87fd63",
"trace_id": "133479397d4e4c0ba7c1dd3ccf10fe65",
"parent_span_id": "b9aca70c72086817",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953561.2043998,
"timestamp": 1779953562.2203999,
"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-DkPWLrPjqqIb5nDYtqYRPCtR1FBBa",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]browser/langchain :: Basic LLM Test (blocking, anthropic) 1 1 11619ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
8cae9da2gen_ai.usage.input_tokensSpan 8cae9da2: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8cae9da2gen_ai.usage.output_tokensSpan 8cae9da2: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
8cae9da2gen_ai.usage.input_tokensinput_tokens must exist
8cae9da2gen_ai.usage.output_tokensoutput_tokens must exist
8cae9da2gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
8cae9da2gen_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.nameCaptured Spans (2)
[
{
"span_id": "9bd7599477e22ed8",
"trace_id": "c6a147a60aeb4d958b85aae9f2deacd2",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953561.3043,
"timestamp": 1779953562.2742,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "8cae9da28c6afc46",
"trace_id": "c6a147a60aeb4d958b85aae9f2deacd2",
"parent_span_id": "9bd7599477e22ed8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953561.3096,
"timestamp": 1779953562.238,
"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 115765ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
b6cf63f3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b6cf63f3gen_ai.output.messagesMissing output messages attribute
b76ec3e0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b76ec3e0gen_ai.output.messagesMissing output messages attribute
b4cea741gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b4cea741gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
b6cf63f3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b76ec3e0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b4cea741gen_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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(3 spans)Captured Spans (4)
[
{
"span_id": "9a6c256c93d4039b",
"trace_id": "e612aca051994a588c9aec448eeeb149",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953561.345,
"timestamp": 1779953576.445,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "b6cf63f3b2caec73",
"trace_id": "e612aca051994a588c9aec448eeeb149",
"parent_span_id": "9a6c256c93d4039b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953561.3511999,
"timestamp": 1779953562.5530999,
"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-DkPWLyhahN0AVHwz2vR1r75bRB2qD",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b76ec3e008858b76",
"trace_id": "e612aca051994a588c9aec448eeeb149",
"parent_span_id": "9a6c256c93d4039b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953562.5555,
"timestamp": 1779953568.3802,
"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 (city proper) has about 2.1 million residents (latest official figures around 2020). The larger Paris metropolitan area (Île-de-France) contains about 12 million people.\\n\\nWhich figure would you like—city proper or the metro area? If you need a precise number for a specific year, I can look that up.\"]",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1103,
"gen_ai.usage.total_tokens": 1151,
"gen_ai.response.id": "chatcmpl-DkPWMYJYYO4fDjDqLalRBQHMNFKAY",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b4cea74191f9809c",
"trace_id": "e612aca051994a588c9aec448eeeb149",
"parent_span_id": "9a6c256c93d4039b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953568.381,
"timestamp": 1779953576.4443,
"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": "[\"A common measure is the Paris urban area (aire urbaine) — about 12 million people. The broader Île-de-France region (the wider metro area) is roughly 12.5–13 million. Numbers vary by definition; I can cite the exact latest figures if you tell me which definition and year you want.\"]",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1612,
"gen_ai.usage.total_tokens": 1693,
"gen_ai.response.id": "chatcmpl-DkPWSfksKqTgkFMTu3IjiX7KOIbzx",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]browser/langchain :: Multi-Turn LLM Test (streaming, anthropic) 1 1 11287ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
8e72a4cdgen_ai.usage.input_tokensSpan 8e72a4cd: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8e72a4cdgen_ai.usage.output_tokensSpan 8e72a4cd: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
83ac5b5fgen_ai.usage.input_tokensSpan 83ac5b5f: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
83ac5b5fgen_ai.usage.output_tokensSpan 83ac5b5f: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
a5c7ba4egen_ai.usage.input_tokensSpan a5c7ba4e: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a5c7ba4egen_ai.usage.output_tokensSpan a5c7ba4e: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
8e72a4cdgen_ai.usage.input_tokensinput_tokens must exist
8e72a4cdgen_ai.usage.output_tokensoutput_tokens must exist
8e72a4cdgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
8e72a4cdgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
83ac5b5fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a5c7ba4egen_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.nameCaptured Spans (4)
[
{
"span_id": "91b6eb572c0e514f",
"trace_id": "15dcdce8936a404ca95c0cf75e6cd179",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953561.3771,
"timestamp": 1779953562.0076,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "8e72a4cd065a06e1",
"trace_id": "15dcdce8936a404ca95c0cf75e6cd179",
"parent_span_id": "91b6eb572c0e514f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953561.3828,
"timestamp": 1779953561.616,
"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": "83ac5b5fa815f63b",
"trace_id": "15dcdce8936a404ca95c0cf75e6cd179",
"parent_span_id": "91b6eb572c0e514f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953561.6337,
"timestamp": 1779953561.8121002,
"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": "a5c7ba4ee80207e7",
"trace_id": "15dcdce8936a404ca95c0cf75e6cd179",
"parent_span_id": "91b6eb572c0e514f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953561.8151999,
"timestamp": 1779953562.0038002,
"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 117876ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
af4161cfgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af4161cfgen_ai.output.messagesMissing output messages attribute
a6c6bc2dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a6c6bc2dgen_ai.output.messagesMissing output messages attribute
a8e1510bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8e1510bgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
af4161cfgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a6c6bc2dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a8e1510bgen_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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(3 spans)Captured Spans (4)
[
{
"span_id": "9e71ea565381fa65",
"trace_id": "f6cbd7b841254b03bc32f79355d061fe",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953561.9352999,
"timestamp": 1779953579.175,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "af4161cff0b9e265",
"trace_id": "f6cbd7b841254b03bc32f79355d061fe",
"parent_span_id": "9e71ea565381fa65",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953561.9402997,
"timestamp": 1779953563.1806,
"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-DkPWMgnODupCQC0jdyyqI9cM86ugg",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a6c6bc2ddd2171a8",
"trace_id": "f6cbd7b841254b03bc32f79355d061fe",
"parent_span_id": "9e71ea565381fa65",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953563.1815999,
"timestamp": 1779953569.3816,
"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- Wider Paris metropolitan area: about 12 million residents.\\n\\nIf you’d like, I can give the exact latest figures for a specific definition (city proper, urban area, or Île-de-France region) and year.\"]",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1223,
"gen_ai.usage.total_tokens": 1271,
"gen_ai.response.id": "chatcmpl-DkPWNNDv3n6CYwsEtBVKnlwz6clMB",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a8e1510bcc39b400",
"trace_id": "f6cbd7b841254b03bc32f79355d061fe",
"parent_span_id": "9e71ea565381fa65",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953569.3827,
"timestamp": 1779953579.1742997,
"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 which definition you mean:\\n\\n- Île-de-France region (the administrative region around Paris): roughly 12–13 million people (about 12.3 million around 2020–2022).\\n- Paris urban area / aire urbaine (the metropolitan built‑up area including suburbs): around 12 million people in recent years.\\n\\nIf you tell me which definition you want (or want the latest exact figure from INSEE), I can pull a precise number with the year.\"]",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1645,
"gen_ai.usage.total_tokens": 1726,
"gen_ai.response.id": "chatcmpl-DkPWTcRetHgPHGpR6Hza2MkwQLiT1",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]browser/langchain :: Multi-Turn LLM Test (blocking, anthropic) 1 1 11388ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
b6be1171gen_ai.usage.input_tokensSpan b6be1171: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b6be1171gen_ai.usage.output_tokensSpan b6be1171: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
8a5acc37gen_ai.usage.input_tokensSpan 8a5acc37: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8a5acc37gen_ai.usage.output_tokensSpan 8a5acc37: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b63cbbeegen_ai.usage.input_tokensSpan b63cbbee: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b63cbbeegen_ai.usage.output_tokensSpan b63cbbee: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
b6be1171gen_ai.usage.input_tokensinput_tokens must exist
b6be1171gen_ai.usage.output_tokensoutput_tokens must exist
b6be1171gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
b6be1171gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8a5acc37gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b63cbbeegen_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.nameCaptured Spans (4)
[
{
"span_id": "8b9c172e1338a7b3",
"trace_id": "d89bbb07e290442bbab7beb639387715",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953561.988,
"timestamp": 1779953562.7424002,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "b6be11717fa68882",
"trace_id": "d89bbb07e290442bbab7beb639387715",
"parent_span_id": "8b9c172e1338a7b3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953561.9923,
"timestamp": 1779953562.201,
"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": "8a5acc3769bf11c3",
"trace_id": "d89bbb07e290442bbab7beb639387715",
"parent_span_id": "8b9c172e1338a7b3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953562.2285,
"timestamp": 1779953562.5486999,
"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": "b63cbbeee312f72e",
"trace_id": "d89bbb07e290442bbab7beb639387715",
"parent_span_id": "8b9c172e1338a7b3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953562.5562,
"timestamp": 1779953562.7331002,
"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 11503ms
Critical
checkChatSpanAttributes
9d7ebc5egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d7ebc5egen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
9d7ebc5egen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (2)
[
{
"span_id": "bc439961d677dd35",
"trace_id": "bf9566bff5cd4b68ae31f68438cc0f1d",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953563.0139,
"timestamp": 1779953563.6405,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "9d7ebc5e80abb81d",
"trace_id": "bf9566bff5cd4b68ae31f68438cc0f1d",
"parent_span_id": "bc439961d677dd35",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953563.0232,
"timestamp": 1779953563.6379,
"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-DkPWNcQ3N4XfIQKwsOQ42RqOhjqDX",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]browser/langchain :: Vision LLM Test (streaming, anthropic) 1 1 1948ms
Critical
checkChatSpanAttributes
ad8b1c56gen_ai.usage.input_tokensSpan ad8b1c56: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
ad8b1c56gen_ai.usage.output_tokensSpan ad8b1c56: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
ad8b1c56gen_ai.usage.input_tokensinput_tokens must exist
ad8b1c56gen_ai.usage.output_tokensoutput_tokens must exist
ad8b1c56gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
ad8b1c56gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "afbf5191d6334e96",
"trace_id": "cb34a06fbb3e441aa2dedce6690cb645",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953562.9894,
"timestamp": 1779953563.2108998,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "ad8b1c5678d747da",
"trace_id": "cb34a06fbb3e441aa2dedce6690cb645",
"parent_span_id": "afbf5191d6334e96",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953563.0026999,
"timestamp": 1779953563.1938,
"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 11418ms
Critical
checkChatSpanAttributes
8b3a2b10gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8b3a2b10gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
8b3a2b10gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (2)
[
{
"span_id": "af99a8845dade39e",
"trace_id": "573194e2916f4e4aabf7460a0861eaaf",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953563.0728998,
"timestamp": 1779953563.6495,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "8b3a2b103dc5eb36",
"trace_id": "573194e2916f4e4aabf7460a0861eaaf",
"parent_span_id": "af99a8845dade39e",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953563.0876,
"timestamp": 1779953563.6488998,
"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-DkPWNljeVdVeIV4ug84FhuhA0nELP",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]browser/langchain :: Vision LLM Test (blocking, anthropic) 1 1 1980ms
Critical
checkChatSpanAttributes
bb1253d7gen_ai.usage.input_tokensSpan bb1253d7: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
bb1253d7gen_ai.usage.output_tokensSpan bb1253d7: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
bb1253d7gen_ai.usage.input_tokensinput_tokens must exist
bb1253d7gen_ai.usage.output_tokensoutput_tokens must exist
bb1253d7gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
bb1253d7gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "b87602f7f04460a9",
"trace_id": "30b2406be4ab4c3292c506da8c696459",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953563.2308002,
"timestamp": 1779953563.6069,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "bb1253d71f207f64",
"trace_id": "30b2406be4ab4c3292c506da8c696459",
"parent_span_id": "b87602f7f04460a9",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953563.2343998,
"timestamp": 1779953563.5893998,
"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 12201ms
Critical
checkChatSpanAttributes
947c8cf2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
947c8cf2gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
947c8cf2gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (2)
[
{
"span_id": "8f02586db88c1879",
"trace_id": "987e32cf047a4aa9afaec4054da2eca1",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953563.3737,
"timestamp": 1779953564.9624,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "947c8cf2bef63b1a",
"trace_id": "987e32cf047a4aa9afaec4054da2eca1",
"parent_span_id": "8f02586db88c1879",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953563.3783,
"timestamp": 1779953564.9619,
"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 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-DkPWNAsx33F8AeIBswTlqErI16bf9",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]browser/langchain :: Long Input LLM Test (streaming, anthropic) 1 1883ms
Critical
checkChatSpanAttributes
84c4094bgen_ai.usage.input_tokensSpan 84c4094b: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
84c4094bgen_ai.usage.output_tokensSpan 84c4094b: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
84c4094bgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "b4a4c27de45001e2",
"trace_id": "6ef7b4cbfc5949d1a495f688352cd86a",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953563.5598,
"timestamp": 1779953563.8282998,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "84c4094b7c7fc670",
"trace_id": "6ef7b4cbfc5949d1a495f688352cd86a",
"parent_span_id": "b4a4c27de45001e2",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953563.5642998,
"timestamp": 1779953563.7735999,
"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 15030ms
Critical
checkChatSpanAttributes
946c1a86gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
946c1a86gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
946c1a86gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (2)
[
{
"span_id": "a55839f2783d820b",
"trace_id": "b4ca9434666b41349f9e4e88f6a85d39",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953563.7949002,
"timestamp": 1779953568.1053,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "946c1a86534d20ab",
"trace_id": "b4ca9434666b41349f9e4e88f6a85d39",
"parent_span_id": "a55839f2783d820b",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953563.8083,
"timestamp": 1779953568.1048,
"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 repeated numerous 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.id": "chatcmpl-DkPWOtVRGAOljV2T6YOnDK2ZqUaIf",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]browser/langchain :: Long Input LLM Test (blocking, anthropic) 1 1922ms
Critical
checkChatSpanAttributes
932dc0a2gen_ai.usage.input_tokensSpan 932dc0a2: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
932dc0a2gen_ai.usage.output_tokensSpan 932dc0a2: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
932dc0a2gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "a2c050ec43acb654",
"trace_id": "53f48d72e98a48c7a6e174106fd84528",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953563.7917998,
"timestamp": 1779953564.0191998,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "932dc0a24aa36fd5",
"trace_id": "53f48d72e98a48c7a6e174106fd84528",
"parent_span_id": "a2c050ec43acb654",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953563.8047,
"timestamp": 1779953564.0025,
"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 17971ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
95913f4fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
95913f4fgen_ai.output.messagesMissing output messages attribute
88460aebgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88460aebgen_ai.output.messagesMissing output messages attribute
b6c86537gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b6c86537gen_ai.output.messagesMissing output messages attribute
8ef0ed2dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8ef0ed2dgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
95913f4fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
88460aebgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b6c86537gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8ef0ed2dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(4 spans)Captured Spans (5)
[
{
"span_id": "b38be90038b0093e",
"trace_id": "b5f8bf55db5147648429631af8bc534f",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953563.8808,
"timestamp": 1779953571.0792,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "95913f4f3bd3a956",
"trace_id": "b5f8bf55db5147648429631af8bc534f",
"parent_span_id": "b38be90038b0093e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953563.888,
"timestamp": 1779953564.8122,
"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. If you’d like more details about France or Paris, I can share them.\"]",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 91,
"gen_ai.usage.total_tokens": 114,
"gen_ai.response.id": "chatcmpl-DkPWOD1wQUyMOGvz6eWibAS6ZScxu",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "88460aebf9b2e4ad",
"trace_id": "b5f8bf55db5147648429631af8bc534f",
"parent_span_id": "b38be90038b0093e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953564.8130999,
"timestamp": 1779953567.9105,
"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\\nBrief explanation: two plus two equals four. For example, if you have two apples and add two more, you have four apples. On a number line, start at 2 and move two steps to the right, landing on 4. Want to see it in another way (e.g., with objects or on a number line)?\"]",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 527,
"gen_ai.usage.total_tokens": 551,
"gen_ai.response.id": "chatcmpl-DkPWOsmWlp4nb2JOGFjjMm3Vmp6DD",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b6c865373ec0b264",
"trace_id": "b5f8bf55db5147648429631af8bc534f",
"parent_span_id": "b38be90038b0093e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953567.9115,
"timestamp": 1779953569.2886,
"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. Berlin is also the largest city and a major cultural and political center.\"]",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 158,
"gen_ai.usage.total_tokens": 202,
"gen_ai.response.id": "chatcmpl-DkPWSq4yNOmBydYxYiNe8lP4nkYOg",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8ef0ed2dea9dabf1",
"trace_id": "b5f8bf55db5147648429631af8bc534f",
"parent_span_id": "b38be90038b0093e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953569.2893999,
"timestamp": 1779953571.0787,
"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 have three of something and add three more, you have six.\"]",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 224,
"gen_ai.usage.total_tokens": 274,
"gen_ai.response.id": "chatcmpl-DkPWTEE5LsfIHNrN5BD2hE6MdgsLX",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]browser/langchain :: Conversation ID LLM Test (streaming, anthropic) 1 1 11500ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
b3a790bagen_ai.usage.input_tokensSpan b3a790ba: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b3a790bagen_ai.usage.output_tokensSpan b3a790ba: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
85ed3a56gen_ai.usage.input_tokensSpan 85ed3a56: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
85ed3a56gen_ai.usage.output_tokensSpan 85ed3a56: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9c3c9466gen_ai.usage.input_tokensSpan 9c3c9466: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9c3c9466gen_ai.usage.output_tokensSpan 9c3c9466: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9648b4e1gen_ai.usage.input_tokensSpan 9648b4e1: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9648b4e1gen_ai.usage.output_tokensSpan 9648b4e1: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
b3a790bagen_ai.usage.input_tokensinput_tokens must exist
b3a790bagen_ai.usage.output_tokensoutput_tokens must exist
b3a790bagen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
b3a790bagen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
85ed3a56gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9c3c9466gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9648b4e1gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (5)
[
{
"span_id": "9c0cef394ac27c7b",
"trace_id": "0ab9905f7a1a4f11b9c94e63e429ff63",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953563.8781002,
"timestamp": 1779953564.6292,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "b3a790ba710aaf4f",
"trace_id": "0ab9905f7a1a4f11b9c94e63e429ff63",
"parent_span_id": "9c0cef394ac27c7b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953563.8844001,
"timestamp": 1779953564.0643,
"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": "85ed3a56c55a5870",
"trace_id": "0ab9905f7a1a4f11b9c94e63e429ff63",
"parent_span_id": "9c0cef394ac27c7b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953564.0818,
"timestamp": 1779953564.2681,
"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": "9c3c9466d12e499f",
"trace_id": "0ab9905f7a1a4f11b9c94e63e429ff63",
"parent_span_id": "9c0cef394ac27c7b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953564.2714002,
"timestamp": 1779953564.4511,
"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": "9648b4e1b717339a",
"trace_id": "0ab9905f7a1a4f11b9c94e63e429ff63",
"parent_span_id": "9c0cef394ac27c7b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953564.4539,
"timestamp": 1779953564.6269002,
"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 19266ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
beb711ebgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
beb711ebgen_ai.output.messagesMissing output messages attribute
807d86bdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
807d86bdgen_ai.output.messagesMissing output messages attribute
89d57325gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
89d57325gen_ai.output.messagesMissing output messages attribute
b388b1bcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b388b1bcgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
beb711ebgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
807d86bdgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
89d57325gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b388b1bcgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(4 spans)Captured Spans (5)
[
{
"span_id": "9527ab878bd31234",
"trace_id": "c134cf4cb0b54549b2eb79279a550fb6",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953563.9112997,
"timestamp": 1779953572.4649,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "beb711ebd8e52673",
"trace_id": "c134cf4cb0b54549b2eb79279a550fb6",
"parent_span_id": "9527ab878bd31234",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953563.9165,
"timestamp": 1779953566.5479,
"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 is the capital of France.\"]",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 400,
"gen_ai.usage.total_tokens": 423,
"gen_ai.response.id": "chatcmpl-DkPWOVA5g0DgJseGAuVeV7glPv8o1",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "807d86bd0ac29e1a",
"trace_id": "c134cf4cb0b54549b2eb79279a550fb6",
"parent_span_id": "9527ab878bd31234",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953566.5489,
"timestamp": 1779953568.7243,
"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\\nReason: adding two and two gives four. If you’d like, I can show a quick visual (like using fingers or a number line) or help with more problems.\"]",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 238,
"gen_ai.usage.total_tokens": 262,
"gen_ai.response.id": "chatcmpl-DkPWR2NWt82JBc6KhDFQHCVNjwm1J",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "89d573254e7dc1dc",
"trace_id": "c134cf4cb0b54549b2eb79279a550fb6",
"parent_span_id": "9527ab878bd31234",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953568.7252,
"timestamp": 1779953570.1511,
"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": "[\"Berlin.\"]",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 203,
"gen_ai.usage.total_tokens": 247,
"gen_ai.response.id": "chatcmpl-DkPWSgcsIUYA3B0Mu5gmkrRehU4cb",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b388b1bc6120a663",
"trace_id": "c134cf4cb0b54549b2eb79279a550fb6",
"parent_span_id": "9527ab878bd31234",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953570.1518998,
"timestamp": 1779953572.4645998,
"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.\\n\\nIf you’d like, I can show a quick way to see it (like using a number line) or give you a few more practice problems.\"]",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 239,
"gen_ai.usage.total_tokens": 289,
"gen_ai.response.id": "chatcmpl-DkPWUfNeYtijJa0jyueeWsoJFbCrF",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]browser/langchain :: Conversation ID LLM Test (blocking, anthropic) 1 1 11533ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
9a605d65gen_ai.usage.input_tokensSpan 9a605d65: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9a605d65gen_ai.usage.output_tokensSpan 9a605d65: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
8f83eef6gen_ai.usage.input_tokensSpan 8f83eef6: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8f83eef6gen_ai.usage.output_tokensSpan 8f83eef6: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b907148bgen_ai.usage.input_tokensSpan b907148b: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b907148bgen_ai.usage.output_tokensSpan b907148b: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9f6cfcf3gen_ai.usage.input_tokensSpan 9f6cfcf3: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9f6cfcf3gen_ai.usage.output_tokensSpan 9f6cfcf3: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
9a605d65gen_ai.usage.input_tokensinput_tokens must exist
9a605d65gen_ai.usage.output_tokensoutput_tokens must exist
9a605d65gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
9a605d65gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8f83eef6gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b907148bgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9f6cfcf3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (5)
[
{
"span_id": "92731ce176fd3ca6",
"trace_id": "c3f0ef680a93438587883d8070bc507e",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953564.2039,
"timestamp": 1779953565.1461,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "9a605d6521e2eedb",
"trace_id": "c3f0ef680a93438587883d8070bc507e",
"parent_span_id": "92731ce176fd3ca6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953564.2077003,
"timestamp": 1779953564.3885,
"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": "8f83eef63ce1095f",
"trace_id": "c3f0ef680a93438587883d8070bc507e",
"parent_span_id": "92731ce176fd3ca6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953564.4082003,
"timestamp": 1779953564.5859,
"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": "b907148b6d3a0faf",
"trace_id": "c3f0ef680a93438587883d8070bc507e",
"parent_span_id": "92731ce176fd3ca6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953564.5904002,
"timestamp": 1779953564.7651,
"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": "9f6cfcf37097aef8",
"trace_id": "c3f0ef680a93438587883d8070bc507e",
"parent_span_id": "92731ce176fd3ca6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953564.7679002,
"timestamp": 1779953565.1431,
"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) 12744ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
a9485e97gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a9485e97gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (2)
[
{
"span_id": "b4a4f4d7a4c639e1",
"trace_id": "8a8486fb18504becae2c7c73d72cdc9a",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953564.2862003,
"timestamp": 1779953566.4207003,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "a9485e973c9ecd6c",
"trace_id": "8a8486fb18504becae2c7c73d72cdc9a",
"parent_span_id": "b4a4f4d7a4c639e1",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953564.2883,
"timestamp": 1779953566.4201002,
"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-DkPWOXqVsxh6DZteX4KdsYiuDQwNn",
"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
}
]browser/openai :: Basic LLM Test (streaming, responses) 12376ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
9a936c12gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9a936c12gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (2)
[
{
"span_id": "8cd753bdec273191",
"trace_id": "fa8f8188a58d4cc4b85da2617857e5f3",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953564.2912002,
"timestamp": 1779953566.062,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "9a936c12fa4673e1",
"trace_id": "fa8f8188a58d4cc4b85da2617857e5f3",
"parent_span_id": "8cd753bdec273191",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953564.293,
"timestamp": 1779953566.0616002,
"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_01c30f055d7ada1c006a17ef9c761881908110ac9c10404fc3",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 140,
"gen_ai.usage.total_tokens": 163,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Paris.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_01c30f055d7ada1c006a17ef9cc60c8190a92d1a56d4acb4cc\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_01c30f055d7ada1c006a17ef9d8c888190b9db2daaae637afc\",\"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) 11760ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b97483a1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b97483a1gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "aadac8e4613f206d",
"trace_id": "61333b8727004fecb0316164dd96ac24",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953564.4168,
"timestamp": 1779953565.5923998,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "b97483a11e1ceb2e",
"trace_id": "61333b8727004fecb0316164dd96ac24",
"parent_span_id": "aadac8e4613f206d",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953564.418,
"timestamp": 1779953565.592,
"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-DkPWOaS4n1EZJ6qMf6BV1mL68kPeo",
"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 (blocking, responses) 12133ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
98261df9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
98261df9gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "bb13a2d63df47ca2",
"trace_id": "06a0eacd9c5c4338b6e2080c25b5a861",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953564.5947,
"timestamp": 1779953566.1401,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "98261df96a52a05b",
"trace_id": "06a0eacd9c5c4338b6e2080c25b5a861",
"parent_span_id": "bb13a2d63df47ca2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953564.5962002,
"timestamp": 1779953566.1396,
"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_0529b6b64519633d006a17ef9cb60481938285bc530d86f39c",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 165,
"gen_ai.usage.total_tokens": 188,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Paris."
},
"status": "ok",
"is_segment": false
}
]browser/openai :: Multi-Turn LLM Test (streaming, chat) 117564ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
bdd39622gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bdd39622gen_ai.output.messagesMissing output messages attribute
8c0dd649gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c0dd649gen_ai.output.messagesMissing output messages attribute
af5d119bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af5d119bgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(3 spans)Captured Spans (4)
[
{
"span_id": "9babbff5fbf1cc6b",
"trace_id": "099e7167eaec4c869ca671c4c2499030",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953565.196,
"timestamp": 1779953582.0856001,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "bdd396227645258c",
"trace_id": "099e7167eaec4c869ca671c4c2499030",
"parent_span_id": "9babbff5fbf1cc6b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953565.1974,
"timestamp": 1779953566.243,
"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-DkPWPa7UJhiRV9X55Nq9mkRPHn1RJ",
"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": "8c0dd64903bf3dae",
"trace_id": "099e7167eaec4c869ca671c4c2499030",
"parent_span_id": "9babbff5fbf1cc6b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953566.2436001,
"timestamp": 1779953571.3201,
"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-DkPWQXx5j1dcGkETGErERoHNlDy56",
"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": "If by Paris you mean the city proper (the commune of Paris):\n\n- About 2.1 million people.\n\nIf you mean the larger Paris metropolitan area (the Île-de-France region / urban area):\n\n- Roughly 12 million people.\n\nIf you want the exact latest figure, tell me which definition and year you want (city proper vs metro, and a specific year)."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "af5d119b295ed6bb",
"trace_id": "099e7167eaec4c869ca671c4c2499030",
"parent_span_id": "9babbff5fbf1cc6b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953571.3207,
"timestamp": 1779953582.0849001,
"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-DkPWVRDDesRJAasjozutNZsZLNElU",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1981,
"gen_ai.usage.total_tokens": 2062,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "There are a few different ways to define \"metropolitan area\" around Paris. Here are the common ones and approximate figures:\n\n- Paris urban area (aire urbaine): about 12 million people.\n- Île-de-France region (the administrative region around Paris): about 12–13 million people (roughly 12.3 million in recent estimates).\n- Métropole du Grand Paris (the inner, dense intermunicipal area): about 7 million people.\n\nIf you tell me which definition and what year you want, I can give a more precise figure."
},
"status": "ok",
"is_segment": false
}
]browser/openai :: Multi-Turn LLM Test (streaming, responses) 117934ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
a0c83fadgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a0c83fadgen_ai.output.messagesMissing output messages attribute
9698d8ddgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9698d8ddgen_ai.output.messagesMissing output messages attribute
825dadcagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
825dadcagen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.tool_calls(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(3 spans)Captured Spans (4)
[
{
"span_id": "ba550166b79e1273",
"trace_id": "03ace07e9e89456fa60a4c182a9a7258",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953565.5411,
"timestamp": 1779953582.8392,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "a0c83fada22ba041",
"trace_id": "03ace07e9e89456fa60a4c182a9a7258",
"parent_span_id": "ba550166b79e1273",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953565.5425,
"timestamp": 1779953566.8019001,
"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_0cf8a9445fb826ac006a17ef9da5b081938acca845aae37cc4",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 119,
"gen_ai.usage.total_tokens": 142,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Paris.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0cf8a9445fb826ac006a17ef9df1fc81938152b55c4beab70d\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0cf8a9445fb826ac006a17ef9e79c881938773bc417c16e070\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9698d8dda406bd83",
"trace_id": "03ace07e9e89456fa60a4c182a9a7258",
"parent_span_id": "ba550166b79e1273",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953566.8024,
"timestamp": 1779953574.513,
"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_0f82156df5370600006a17ef9eeea881939b42f581ce37f3a0",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1010,
"gen_ai.usage.total_tokens": 1058,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Paris city proper (the commune) has about 2.1 million residents. The wider Paris metropolitan area (Île-de-France) has about 12 million people. If you want a precise figure for a specific year or a different measure (urban area, metro area), tell me and I’ll look up the exact number.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0f82156df5370600006a17ef9f406c81939cc3f797a534ab6d\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0f82156df5370600006a17efa5dd808193b32c925eef50a727\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris city proper (the commune) has about 2.1 million residents. The wider Paris metropolitan area (Île-de-France) has about 12 million people. If you want a precise figure for a specific year or a different measure (urban area, metro area), tell me and I’ll look up the exact number.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "825dadcaabaa59e9",
"trace_id": "03ace07e9e89456fa60a4c182a9a7258",
"parent_span_id": "ba550166b79e1273",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953574.5136,
"timestamp": 1779953582.8374002,
"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_0eab51dd5c29328e006a17efa6a27c8196b4d5e116c31b84a0",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1807,
"gen_ai.usage.total_tokens": 1888,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "There are a few ways to define “metropolitan area” for Paris, with different population figures:\n\n- Paris metropolitan area (aire urbaine, the wider urban area): about 12 million people.\n- Île-de-France region (administrative region including Paris and suburbs): roughly 12–13 million.\n- Métropole du Grand Paris (the intercommunal entity around Paris): around 7–8 million.\n\nWhich definition were you thinking of? I can give a more precise figure.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0eab51dd5c29328e006a17efa6e52c8196859eda760b612b76\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0eab51dd5c29328e006a17efae16048196ba05f8b14bda8f5a\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"There are a few ways to define “metropolitan area” for Paris, with different population figures:\\n\\n- Paris metropolitan area (aire urbaine, the wider urban area): about 12 million people.\\n- Île-de-France region (administrative region including Paris and suburbs): roughly 12–13 million.\\n- Métropole du Grand Paris (the intercommunal entity around Paris): around 7–8 million.\\n\\nWhich definition were you thinking of? I can give a more precise figure.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]browser/openai :: Multi-Turn LLM Test (blocking, chat) 115705ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
ac04a55bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac04a55bgen_ai.output.messagesMissing output messages attribute
b7a171e4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7a171e4gen_ai.output.messagesMissing output messages attribute
920aa590gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
920aa590gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"span_id": "aac8dca79d4defa6",
"trace_id": "93f0a18682e349bd96f29b0bbc89e4eb",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953565.71,
"timestamp": 1779953580.748,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "ac04a55b1088c19b",
"trace_id": "93f0a18682e349bd96f29b0bbc89e4eb",
"parent_span_id": "aac8dca79d4defa6",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953565.7112,
"timestamp": 1779953567.894,
"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-DkPWPAywR9eC6NCefkcL513VnShPG",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 331,
"gen_ai.usage.total_tokens": 354,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"Paris.\"]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b7a171e49959e9d0",
"trace_id": "93f0a18682e349bd96f29b0bbc89e4eb",
"parent_span_id": "aac8dca79d4defa6",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953567.8946,
"timestamp": 1779953573.0598998,
"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-DkPWS7a68nP24k1bkuhLulJHWvV3o",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 862,
"gen_ai.usage.total_tokens": 910,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"Do you mean:\\n- Paris city proper (the commune): about 2.1 million people (roughly 2,150,000 as of 2020)\\n- Paris metropolitan area (aire urbaine): about 12 million people\\n- Paris urban area (unité urbaine): about 11 million people\\n\\nWhich figure and year would you like? I can give a precise number if you specify.\"]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "920aa5905ec419df",
"trace_id": "93f0a18682e349bd96f29b0bbc89e4eb",
"parent_span_id": "aac8dca79d4defa6",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953573.0605,
"timestamp": 1779953580.7457,
"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-DkPWX16wfYYVr79JVj0FOnt5jwX28",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1500,
"gen_ai.usage.total_tokens": 1581,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"If by \\\"metropolitan area\\\" you mean the Paris metropolitan area (aire urbaine), the population is about 11–12 million people today (estimates in the early 2020s).\\n\\nFor context:\\n- Paris city proper (the commune): ~2.2 million.\\n- Paris urban area (unité urbaine): roughly 10–11 million.\\n- Île-de-France region (the wider region including Paris and its suburbs): about 12–13 million (around 12.3 million in recent counts).\\n\\nIf you want the exact latest figure from a specific source (like INSEE) and a defined year, tell me which definition and year you prefer and I’ll look up the precise number.\"]"
},
"status": "ok",
"is_segment": false
}
]browser/openai :: Multi-Turn LLM Test (blocking, responses) 118535ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
852d179cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
852d179cgen_ai.output.messagesMissing output messages attribute
83e91f28gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
83e91f28gen_ai.output.messagesMissing output messages attribute
a08a38adgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a08a38adgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"span_id": "a3d3b147d2c4d8c8",
"trace_id": "5c40cd5fd20b4e1ca6e74d7bdb8d4ea4",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953566.1803,
"timestamp": 1779953584.0387,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "852d179cbfc1a2f9",
"trace_id": "5c40cd5fd20b4e1ca6e74d7bdb8d4ea4",
"parent_span_id": "a3d3b147d2c4d8c8",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953566.1815,
"timestamp": 1779953568.2275,
"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_043f059413fe46a3006a17ef9e4ff88195a7734761f7b6c2a1",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 221,
"gen_ai.usage.total_tokens": 244,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Paris is the capital of France."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "83e91f28c68c3229",
"trace_id": "5c40cd5fd20b4e1ca6e74d7bdb8d4ea4",
"parent_span_id": "a3d3b147d2c4d8c8",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953568.2282002,
"timestamp": 1779953577.8722003,
"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_01101f07629135a7006a17efa05a4c81978e8764ec6fd67edc",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1285,
"gen_ai.usage.total_tokens": 1333,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "- Paris city proper (the administrative city): about 2.1 million people.\n- Paris metropolitan area (the wider urban area): about 12 million people.\n\nNote: exact numbers vary by year and by definition (city proper vs. metro vs. region). If you want a specific year or source, I can look that up."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a08a38ad46d9c06b",
"trace_id": "5c40cd5fd20b4e1ca6e74d7bdb8d4ea4",
"parent_span_id": "a3d3b147d2c4d8c8",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953577.8727002,
"timestamp": 1779953584.0382001,
"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_0916314c624c7ab4006a17efa9fa848193b1f12fcf68484de8",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1241,
"gen_ai.usage.total_tokens": 1322,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "If you mean the Paris metropolitan area, it’s about 12 to 13 million people. A common figure is around 12.5 million for the Île-de-France region (the wider Paris area) in recent years. The Paris urban area (aire urbaine) is similar, roughly 12.8–12.9 million. Definitions vary, so numbers differ slightly depending on whether you use city proper, urban area, or regional boundaries. If you have a specific year or source in mind, I can give a precise figure."
},
"status": "ok",
"is_segment": false
}
]browser/openai :: Vision LLM Test (streaming, chat) 11101ms
Critical
checkChatSpanAttributes
bdbc7a30gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bdbc7a30gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (2)
[
{
"span_id": "84833732822a4c21",
"trace_id": "5028bebc131c47e39b1e45fc15549d27",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953567.5922997,
"timestamp": 1779953568.1151,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "bdbc7a308a1e1a66",
"trace_id": "5028bebc131c47e39b1e45fc15549d27",
"parent_span_id": "84833732822a4c21",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953567.5937,
"timestamp": 1779953568.1146998,
"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-DkPWRyCdcPK1hUPtgDoLX2pG8zdYr",
"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) 11667ms
Critical
checkChatSpanAttributes
b1448eccgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1448eccgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (2)
[
{
"span_id": "9926fd32a0256715",
"trace_id": "1e88ded81e844615a2cb677f26ae2516",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953567.7581,
"timestamp": 1779953568.8493001,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "b1448ecc04949f93",
"trace_id": "1e88ded81e844615a2cb677f26ae2516",
"parent_span_id": "9926fd32a0256715",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953567.7595,
"timestamp": 1779953568.8489,
"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_0f1355df6544f13d006a17ef9fe7948195a81ee59a9f2ec4ee",
"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_0f1355df6544f13d006a17efa0b0388195a5147a1f7b667d0e\",\"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) 11115ms
Critical
checkChatSpanAttributes
ae3b74b5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ae3b74b5gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "a8914cc44fb83a4e",
"trace_id": "1185f969f184436e8266af7dac2336d3",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953568.7018,
"timestamp": 1779953569.2333,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "ae3b74b5b55161fc",
"trace_id": "1185f969f184436e8266af7dac2336d3",
"parent_span_id": "a8914cc44fb83a4e",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953568.7031999,
"timestamp": 1779953569.2328,
"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-DkPWSA69velmIHFTFLbgr5G34wLLr",
"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) 11481ms
Critical
checkChatSpanAttributes
9741c9fcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9741c9fcgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "bab4a354c4ec60ab",
"trace_id": "669bc6ce4d9c4997a9a8bb38ff38674c",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953568.702,
"timestamp": 1779953569.5883,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "9741c9fc267a837d",
"trace_id": "669bc6ce4d9c4997a9a8bb38ff38674c",
"parent_span_id": "bab4a354c4ec60ab",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953568.7031999,
"timestamp": 1779953569.5878,
"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_0162590c3ca83f48006a17efa0cfd08195ab366d109cdc0c26",
"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) 11449ms
Critical
checkChatSpanAttributes
9d646e84gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d646e84gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (2)
[
{
"span_id": "b4f613967e4a4bf8",
"trace_id": "fd9d03b4529a4e5ca5edd87144cacd21",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953569.4266,
"timestamp": 1779953570.2986002,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "9d646e84861c76e3",
"trace_id": "fd9d03b4529a4e5ca5edd87144cacd21",
"parent_span_id": "b4f613967e4a4bf8",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953569.4282,
"timestamp": 1779953570.2981,
"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-DkPWTB6rsHkm9LLpt1rQwNclcq1i2",
"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 message is a repetitive test designed to generate a lengthy input."
},
"status": "ok",
"is_segment": false
}
]browser/openai :: Long Input LLM Test (streaming, responses) 13339ms
Critical
checkChatSpanAttributes
a0361faegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a0361faegen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (2)
[
{
"span_id": "8e3c9801ab659cd1",
"trace_id": "22d9b8edf8cb4e67bb0595371409d02d",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953569.8078,
"timestamp": 1779953572.5627,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "a0361faedfe920f7",
"trace_id": "22d9b8edf8cb4e67bb0595371409d02d",
"parent_span_id": "8e3c9801ab659cd1",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953569.8093,
"timestamp": 1779953572.5623,
"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_061836bd35ae913f006a17efa1ec6881968d782821d65a8604",
"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": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "The text consists of a repetitive test message designed to create an extensive input.",
"gen_ai.response.tool_calls": "[{\"id\":\"msg_061836bd35ae913f006a17efa3aad88196b48840872451ded0\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The text consists of a repetitive test message designed to create an extensive input.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]browser/openai :: Long Input LLM Test (blocking, chat) 11384ms
Critical
checkChatSpanAttributes
921b9690gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
921b9690gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "99d88b3462bf66bc",
"trace_id": "d5cba1e612cf40cca3518127b37a682c",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953570.1771002,
"timestamp": 1779953570.9816,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "921b9690632a1067",
"trace_id": "d5cba1e612cf40cca3518127b37a682c",
"parent_span_id": "99d88b3462bf66bc",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953570.1785,
"timestamp": 1779953570.9811,
"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-DkPWUBoF8JJB9J0OBIGFF3if1UEsm",
"gen_ai.response.model": "gpt-4o-mini-2024-07-18",
"gen_ai.usage.input_tokens": 5429,
"gen_ai.usage.output_tokens": 17,
"gen_ai.usage.total_tokens": 5446,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"This test message is designed to be repetitively repeated to generate a lengthy input.\"]"
},
"status": "ok",
"is_segment": false
}
]browser/openai :: Long Input LLM Test (blocking, responses) 11851ms
Critical
checkChatSpanAttributes
81bf5abcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81bf5abcgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (2)
[
{
"span_id": "b2f8ef99faddeac6",
"trace_id": "dcab897a858a4b438fd117cf330183f2",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953570.8747,
"timestamp": 1779953572.1406999,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "81bf5abc8d7e153a",
"trace_id": "dcab897a858a4b438fd117cf330183f2",
"parent_span_id": "b2f8ef99faddeac6",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953570.876,
"timestamp": 1779953572.1402,
"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_082717b96adbd3ae006a17efa3035c81979df5615d466c2f1b",
"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": "[\"completed\"]",
"gen_ai.response.text": "A test message will be repetitively generated to create a long input."
},
"status": "ok",
"is_segment": false
}
]browser/openai :: Conversation ID LLM Test (streaming, chat) 17500ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
981457c3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
981457c3gen_ai.output.messagesMissing output messages attribute
92811ce7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92811ce7gen_ai.output.messagesMissing output messages attribute
846613c5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
846613c5gen_ai.output.messagesMissing output messages attribute
b28bda65gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b28bda65gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(4 spans)Captured Spans (5)
[
{
"span_id": "b2cf515f48d31ccd",
"trace_id": "7493d7c42ca94645a88abaf5c6497eec",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953571.5586,
"timestamp": 1779953578.4717,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "981457c34a005ec1",
"trace_id": "7493d7c42ca94645a88abaf5c6497eec",
"parent_span_id": "b2cf515f48d31ccd",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953571.5600998,
"timestamp": 1779953572.4518,
"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-DkPWV4OjQi0eEFFCFRDjJ29QShxLG",
"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": "92811ce7b6eeae3a",
"trace_id": "7493d7c42ca94645a88abaf5c6497eec",
"parent_span_id": "b2cf515f48d31ccd",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953572.4524,
"timestamp": 1779953574.7649,
"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-DkPWWsk5nZMf6AvFaAbkgQB92EF1f",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 309,
"gen_ai.usage.total_tokens": 333,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "4. In base-10 arithmetic, 2 + 2 = 4. If you’d like, I can show a quick visual or explain how addition works with different representations (objects, number line, etc.)."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "846613c5447b3d09",
"trace_id": "7493d7c42ca94645a88abaf5c6497eec",
"parent_span_id": "b2cf515f48d31ccd",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953574.7656999,
"timestamp": 1779953576.6546,
"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-DkPWYEl1FdJLZsGl6JMZQwutSyHU9",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 277,
"gen_ai.usage.total_tokens": 321,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "Berlin. It’s the capital and largest city of Germany."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b28bda6544bbf81e",
"trace_id": "7493d7c42ca94645a88abaf5c6497eec",
"parent_span_id": "b2cf515f48d31ccd",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953576.6550999,
"timestamp": 1779953578.4715,
"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-DkPWavRsL4I97KM7zY8gUQyoHQ7iB",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 220,
"gen_ai.usage.total_tokens": 270,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "3 + 3 equals 6.\n\nWould you like a quick explanation or some practice problems?"
},
"status": "ok",
"is_segment": false
}
]browser/openai :: Conversation ID LLM Test (streaming, responses) 112461ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
aaeed14dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aaeed14dgen_ai.output.messagesMissing output messages attribute
88c628fdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88c628fdgen_ai.output.messagesMissing output messages attribute
a1b9825cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a1b9825cgen_ai.output.messagesMissing output messages attribute
9f762e6cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f762e6cgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(4 spans)Captured Spans (5)
[
{
"span_id": "999f236f8e18bfa5",
"trace_id": "6513e326bf6b4c45bde7d13c3521d5ed",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953571.6582,
"timestamp": 1779953583.4586,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "aaeed14dd87010d1",
"trace_id": "6513e326bf6b4c45bde7d13c3521d5ed",
"parent_span_id": "999f236f8e18bfa5",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953571.6595,
"timestamp": 1779953573.5336,
"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_0bb6a7cc388f1e62006a17efa3d9ac8196abe31be8d2eddcfe",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 190,
"gen_ai.usage.total_tokens": 213,
"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_0bb6a7cc388f1e62006a17efa41df08196b829ad187e2b4032\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0bb6a7cc388f1e62006a17efa54e448196880cbb36b14bac6e\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The capital of France is Paris.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "88c628fde36de817",
"trace_id": "6513e326bf6b4c45bde7d13c3521d5ed",
"parent_span_id": "999f236f8e18bfa5",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953573.535,
"timestamp": 1779953575.4077,
"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_020e527e60cb2844006a17efa5a4748195b657794b7b848756",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 217,
"gen_ai.usage.total_tokens": 241,
"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 example of how addition works or give you more practice problems.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_020e527e60cb2844006a17efa5f5048195834e6a2d05f08904\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_020e527e60cb2844006a17efa708588195a62981a0807a34db\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"4\\n\\nIf you’d like, I can show a quick example of how addition works or give you more practice problems.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a1b9825caf231e92",
"trace_id": "6513e326bf6b4c45bde7d13c3521d5ed",
"parent_span_id": "999f236f8e18bfa5",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953575.4082,
"timestamp": 1779953581.3531,
"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_0cdf8108749f00c2006a17efa788b0819684fc9a634bd1cf89",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 1063,
"gen_ai.usage.total_tokens": 1107,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Berlin. It’s the capital of Germany (since the country’s reunification in 1990).",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0cdf8108749f00c2006a17efa7d274819685106490677b56ca\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0cdf8108749f00c2006a17eface2788196a740d2733d965595\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Berlin. It’s the capital of Germany (since the country’s reunification in 1990).\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9f762e6caf7da128",
"trace_id": "6513e326bf6b4c45bde7d13c3521d5ed",
"parent_span_id": "999f236f8e18bfa5",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953581.3543,
"timestamp": 1779953583.4581,
"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_0f67a79660fca65d006a17efad7fec8193a4889a2801f5f3ee",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 308,
"gen_ai.usage.total_tokens": 358,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "3 + 3 equals 6. (It’s the same as doubling 3: 2 × 3 = 6. For example, three apples plus three apples makes six apples.)",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0f67a79660fca65d006a17efada7c48193b5582c059e453cfb\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0f67a79660fca65d006a17efaefc48819383951f15699de5c8\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"3 + 3 equals 6. (It’s the same as doubling 3: 2 × 3 = 6. For example, three apples plus three apples makes six apples.)\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]browser/openai :: Conversation ID LLM Test (blocking, chat) 19225ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
9376a027gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9376a027gen_ai.output.messagesMissing output messages attribute
9ba32c14gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9ba32c14gen_ai.output.messagesMissing output messages attribute
bba6871agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bba6871agen_ai.output.messagesMissing output messages attribute
82cd130egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82cd130egen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (5)
[
{
"span_id": "be4bfd0b98c1400b",
"trace_id": "e14cffc3597740aba81b121b99a2177c",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953572.7245,
"timestamp": 1779953581.3207,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "9376a027a4018ccc",
"trace_id": "e14cffc3597740aba81b121b99a2177c",
"parent_span_id": "be4bfd0b98c1400b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953572.7257,
"timestamp": 1779953574.2601001,
"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-DkPWW5WxpAVM9GLtgHDTkxxuPRJN4",
"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": "9ba32c14e7a6ee62",
"trace_id": "e14cffc3597740aba81b121b99a2177c",
"parent_span_id": "be4bfd0b98c1400b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953574.2636,
"timestamp": 1779953576.5986001,
"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-DkPWYpLyX38iLeIhYeSkbePfw52RZ",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 309,
"gen_ai.usage.total_tokens": 333,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"4. Two plus two equals four. You can see it by counting: 1, 2, then add 2 more to get 4. Want a quick explanation with a number line or some extra practice?\"]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bba6871a494c8eb1",
"trace_id": "e14cffc3597740aba81b121b99a2177c",
"parent_span_id": "be4bfd0b98c1400b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953576.5991,
"timestamp": 1779953578.6828,
"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-DkPWaBqkEHpzpMgwXNfagaxMbde5D",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 223,
"gen_ai.usage.total_tokens": 267,
"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": "82cd130e1e5df0b2",
"trace_id": "e14cffc3597740aba81b121b99a2177c",
"parent_span_id": "be4bfd0b98c1400b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953578.6833,
"timestamp": 1779953581.3204002,
"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-DkPWcYKzMlLEG4RZuyUjrFj5fe28J",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 297,
"gen_ai.usage.total_tokens": 347,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"3 + 3 equals 6. Adding three to three gives six. If you’d like, I can show a quick visual or a number-line explanation.\"]"
},
"status": "ok",
"is_segment": false
}
]browser/openai :: Conversation ID LLM Test (blocking, responses) 18990ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
8f651f58gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f651f58gen_ai.output.messagesMissing output messages attribute
9f4b3e59gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f4b3e59gen_ai.output.messagesMissing output messages attribute
b31f4840gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b31f4840gen_ai.output.messagesMissing output messages attribute
a9396dc3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a9396dc3gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (5)
[
{
"span_id": "9164b5c917508c83",
"trace_id": "967547e078a143c7bfb4e46258a2da7c",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953573.0407,
"timestamp": 1779953581.4195998,
"data": {
"sentry.origin": "manual",
"sentry.op": "test",
"sentry.source": "custom",
"sentry.sample_rate": 1
}
},
{
"span_id": "8f651f5842cf35a6",
"trace_id": "967547e078a143c7bfb4e46258a2da7c",
"parent_span_id": "9164b5c917508c83",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953573.0419,
"timestamp": 1779953574.7432,
"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_067a2c640184a6b1006a17efa528248193a4d766d9a9ede5f2",
"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,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Paris."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9f4b3e59c48e1e5a",
"trace_id": "967547e078a143c7bfb4e46258a2da7c",
"parent_span_id": "9164b5c917508c83",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953574.7438998,
"timestamp": 1779953577.0038998,
"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_0a8a396d7ffb0c86006a17efa6d96881969ad284e205d1e0ab",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 291,
"gen_ai.usage.total_tokens": 315,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "4\n\nYou can see it by counting: two objects plus two more equals four. If you’d like, I can show it with a number line or other representations."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b31f48406b14dfef",
"trace_id": "967547e078a143c7bfb4e46258a2da7c",
"parent_span_id": "9164b5c917508c83",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953577.0045,
"timestamp": 1779953578.5935,
"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_0f2bb12a1ea8e3e3006a17efa91b38819787d996e05d438f80",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 238,
"gen_ai.usage.total_tokens": 282,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "The capital of Germany is Berlin."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a9396dc3c737ea3a",
"trace_id": "967547e078a143c7bfb4e46258a2da7c",
"parent_span_id": "9164b5c917508c83",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953578.5940998,
"timestamp": 1779953581.4192998,
"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_0384f8b3df71fb08006a17efaab56081978a97b7dfb36e0410",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 385,
"gen_ai.usage.total_tokens": 435,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "3 + 3 equals 6. If you want, I can show a quick way to visualize it or give you more practice problems."
},
"status": "ok",
"is_segment": false
}
]cloudflare/anthropic :: Basic LLM Test (streaming) 15749ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
92ab5a94gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92ab5a94gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-llm-test",
"op": "test",
"parent_span_id": "9e1adca93e0de771",
"span_id": "88c74b641885ff18",
"start_timestamp": 1779953574.791,
"timestamp": 1779953575.323,
"trace_id": "8a5ad954e05e472ca8e3ce541ae74dac",
"origin": "manual"
},
{
"span_id": "9e1adca93e0de771",
"trace_id": "8a5ad954e05e472ca8e3ce541ae74dac",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953574.79,
"timestamp": 1779953575.325,
"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:47677/",
"url.port": "47677",
"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:47677",
"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": "92ab5a94423c71a3",
"trace_id": "8a5ad954e05e472ca8e3ce541ae74dac",
"parent_span_id": "88c74b641885ff18",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953574.792,
"timestamp": 1779953575.321,
"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_016ynZ8n8KSpUKTyon11JcHG",
"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) 15800ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
88af77b4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88af77b4gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-llm-test",
"op": "test",
"parent_span_id": "9412967c105341d2",
"span_id": "954144743f72ea0b",
"start_timestamp": 1779953574.812,
"timestamp": 1779953575.383,
"trace_id": "c9d0f9beb5f240f7be34c034f4da9ec8",
"origin": "manual"
},
{
"span_id": "9412967c105341d2",
"trace_id": "c9d0f9beb5f240f7be34c034f4da9ec8",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953574.811,
"timestamp": 1779953575.384,
"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:47678/",
"url.port": "47678",
"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:47678",
"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": "88af77b4f471a3be",
"trace_id": "c9d0f9beb5f240f7be34c034f4da9ec8",
"parent_span_id": "954144743f72ea0b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953574.812,
"timestamp": 1779953575.382,
"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_01Y43VUv7u6Ffobx34wMtna2",
"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
}
]cloudflare/anthropic :: Multi-Turn LLM Test (streaming) 18220ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
814fc2fcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
814fc2fcgen_ai.output.messagesMissing output messages attribute
b69eb1edgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b69eb1edgen_ai.output.messagesMissing output messages attribute
9454dc4egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9454dc4egen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (5)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "multi-turn-llm-test",
"op": "test",
"parent_span_id": "af656ce903d22dda",
"span_id": "837674147e36f5a6",
"start_timestamp": 1779953578.318,
"timestamp": 1779953581.651,
"trace_id": "515b64d9e1774c2cb44c2a7926578a5b",
"origin": "manual"
},
{
"span_id": "af656ce903d22dda",
"trace_id": "515b64d9e1774c2cb44c2a7926578a5b",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953578.317,
"timestamp": 1779953581.658,
"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:47679/",
"url.port": "47679",
"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:47679",
"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": "814fc2fcbf90b445",
"trace_id": "515b64d9e1774c2cb44c2a7926578a5b",
"parent_span_id": "837674147e36f5a6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953578.319,
"timestamp": 1779953578.858,
"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_01DrvoUHp9fgXzevuk4yPBCW",
"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": "b69eb1ed4938013d",
"trace_id": "515b64d9e1774c2cb44c2a7926578a5b",
"parent_span_id": "837674147e36f5a6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953578.859,
"timestamp": 1779953580.909,
"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_01WS78MA5kx8zRJnt15no9yv",
"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 depends on which area you're referring to:\n\n- **Paris proper (the city itself)**: approximately 2.1-2.2 million people\n- **Greater Paris (Île-de-France region)**: approximately 12 million people\n\nThe city proper makes it the second-largest city in Europe by population, after Moscow. The greater metropolitan area is one of the largest in Europe."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9454dc4e06e613b1",
"trace_id": "515b64d9e1774c2cb44c2a7926578a5b",
"parent_span_id": "837674147e36f5a6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953580.911,
"timestamp": 1779953581.648,
"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_01AEi3cHzcLyw4SazNqvYvZX",
"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) 19096ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
807a96c5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
807a96c5gen_ai.output.messagesMissing output messages attribute
9897bd26gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9897bd26gen_ai.output.messagesMissing output messages attribute
8b73601egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8b73601egen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (5)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "multi-turn-llm-test",
"op": "test",
"parent_span_id": "8e727a848cd9d496",
"span_id": "95b2c64fab381297",
"start_timestamp": 1779953581.337,
"timestamp": 1779953584.364,
"trace_id": "cab05ebbbe1144d08cd626544a45f7fc",
"origin": "manual"
},
{
"span_id": "8e727a848cd9d496",
"trace_id": "cab05ebbbe1144d08cd626544a45f7fc",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953581.335,
"timestamp": 1779953584.37,
"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:47680/",
"url.port": "47680",
"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:47680",
"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": "807a96c582573426",
"trace_id": "cab05ebbbe1144d08cd626544a45f7fc",
"parent_span_id": "95b2c64fab381297",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953581.337,
"timestamp": 1779953581.935,
"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_013GK5Zdsdvj6nAgYSvzBjan",
"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": "9897bd26da660b15",
"trace_id": "cab05ebbbe1144d08cd626544a45f7fc",
"parent_span_id": "95b2c64fab381297",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953581.941,
"timestamp": 1779953583.278,
"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 (the administrative boundaries of Paris).\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 Europe's largest urban agglomerations.\n\nThe exact figures can vary slightly depending on the source and the most recent census data.",
"gen_ai.response.id": "msg_01FtD5HTg7dcinD8B7C6LZ94",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 41,
"gen_ai.usage.output_tokens": 92,
"gen_ai.usage.total_tokens": 133
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8b73601e2066de5b",
"trace_id": "cab05ebbbe1144d08cd626544a45f7fc",
"parent_span_id": "95b2c64fab381297",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953583.278,
"timestamp": 1779953584.364,
"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_01FP6ePFkapJHJFFksQ3C6LE",
"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
}
]cloudflare/anthropic :: Vision LLM Test (streaming) 17333ms
Critical
checkChatSpanAttributes
9910d167gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9910d167gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-llm-test",
"op": "test",
"parent_span_id": "80855dd339a8229d",
"span_id": "a99361a1c55797aa",
"start_timestamp": 1779953582.695,
"timestamp": 1779953583.478,
"trace_id": "df680c3666b240889b275a1c935195f3",
"origin": "manual"
},
{
"span_id": "80855dd339a8229d",
"trace_id": "df680c3666b240889b275a1c935195f3",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953582.693,
"timestamp": 1779953583.484,
"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:47683/",
"url.port": "47683",
"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:47683",
"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": "9910d167ed9296ef",
"trace_id": "df680c3666b240889b275a1c935195f3",
"parent_span_id": "a99361a1c55797aa",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953582.696,
"timestamp": 1779953583.468,
"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_01Avt8R7BwBYYfQ13bamQBeB",
"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": "Red"
},
"status": "ok",
"is_segment": false
}
]cloudflare/anthropic :: Vision LLM Test (blocking) 17131ms
Critical
checkChatSpanAttributes
aa1ce4f1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aa1ce4f1gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-llm-test",
"op": "test",
"parent_span_id": "a5d03c522a81e1dc",
"span_id": "8c3564544c8285ee",
"start_timestamp": 1779953584.281,
"timestamp": 1779953584.921,
"trace_id": "d180dc2c89e345868cef8f60ac8b3d5e",
"origin": "manual"
},
{
"span_id": "a5d03c522a81e1dc",
"trace_id": "d180dc2c89e345868cef8f60ac8b3d5e",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953584.278,
"timestamp": 1779953584.928,
"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:47684/",
"url.port": "47684",
"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:47684",
"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": "aa1ce4f1dc16071d",
"trace_id": "d180dc2c89e345868cef8f60ac8b3d5e",
"parent_span_id": "8c3564544c8285ee",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953584.281,
"timestamp": 1779953584.92,
"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_01UGWvrk5BZtuE5z9gM6t1wn",
"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) 17635ms
Critical
checkChatSpanAttributes
bfce4839gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bfce4839gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-llm-test",
"op": "test",
"parent_span_id": "bf91437cc14ae611",
"span_id": "8fd7fa49e92697fc",
"start_timestamp": 1779953585.252,
"timestamp": 1779953585.977,
"trace_id": "bcb058ae241146489fe3bdf1dd6cf26c",
"origin": "manual"
},
{
"span_id": "bf91437cc14ae611",
"trace_id": "bcb058ae241146489fe3bdf1dd6cf26c",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953585.244,
"timestamp": 1779953585.978,
"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:47685/",
"url.port": "47685",
"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:47685",
"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": "bfce4839e63bb8d9",
"trace_id": "bcb058ae241146489fe3bdf1dd6cf26c",
"parent_span_id": "8fd7fa49e92697fc",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953585.253,
"timestamp": 1779953585.963,
"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_019ENjJyTChiycycGP3L41wp",
"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 was repeated many times to create a lengthy input."
},
"status": "ok",
"is_segment": false
}
]cloudflare/anthropic :: Long Input LLM Test (blocking) 17644ms
Critical
checkChatSpanAttributes
ba57192agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ba57192agen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-llm-test",
"op": "test",
"parent_span_id": "bd595e62640fcf43",
"span_id": "af7fd4b4596ad19f",
"start_timestamp": 1779953585.254,
"timestamp": 1779953586.043,
"trace_id": "cd7bee9d87da413eb247e1e517a7b62c",
"origin": "manual"
},
{
"span_id": "bd595e62640fcf43",
"trace_id": "cd7bee9d87da413eb247e1e517a7b62c",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953585.251,
"timestamp": 1779953586.044,
"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:47686/",
"url.port": "47686",
"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:47686",
"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": "ba57192a3a0b26c8",
"trace_id": "cd7bee9d87da413eb247e1e517a7b62c",
"parent_span_id": "af7fd4b4596ad19f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953585.255,
"timestamp": 1779953586.032,
"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 is repeated many times to create an extended input.",
"gen_ai.response.id": "msg_01Vg7dmkf7T6hs9jgCcrKdAk",
"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
},
"status": "ok",
"is_segment": false
}
]cloudflare/anthropic :: Conversation ID LLM Test (streaming) 112525ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
a0f2a187gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a0f2a187gen_ai.output.messagesMissing output messages attribute
a9dc379dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a9dc379dgen_ai.output.messagesMissing output messages attribute
95da93ccgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
95da93ccgen_ai.output.messagesMissing output messages attribute
baa417c3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
baa417c3gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (6)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-llm-test",
"op": "test",
"parent_span_id": "9c40fee175cf0991",
"span_id": "ab06229e06b95d8d",
"start_timestamp": 1779953586.168,
"timestamp": 1779953591.644,
"trace_id": "676889dc65c84daab5292b6af00459c9",
"origin": "manual"
},
{
"span_id": "9c40fee175cf0991",
"trace_id": "676889dc65c84daab5292b6af00459c9",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953586.166,
"timestamp": 1779953591.66,
"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:47687/",
"url.port": "47687",
"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:47687",
"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": "a0f2a187d06231a5",
"trace_id": "676889dc65c84daab5292b6af00459c9",
"parent_span_id": "ab06229e06b95d8d",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953586.169,
"timestamp": 1779953587.023,
"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_01EJCtfHYNUsEkHimvQsh7P4",
"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": "a9dc379d1a0a7558",
"trace_id": "676889dc65c84daab5292b6af00459c9",
"parent_span_id": "ab06229e06b95d8d",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953587.027,
"timestamp": 1779953587.96,
"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_01VuV75EEgSp9HkrMVxtznK3",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 61,
"gen_ai.usage.total_tokens": 84,
"gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the most 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?"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "95da93cccd7ff019",
"trace_id": "676889dc65c84daab5292b6af00459c9",
"parent_span_id": "ab06229e06b95d8d",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953587.965,
"timestamp": 1779953591.103,
"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_01NuvvFFDJwFKLDWy5A6H3gA",
"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": "baa417c3d028bfc1",
"trace_id": "676889dc65c84daab5292b6af00459c9",
"parent_span_id": "ab06229e06b95d8d",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953591.104,
"timestamp": 1779953591.644,
"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_01WNzsWBfRcgAnnSsv1UBn1F",
"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) 111519ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
a2b8d861gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a2b8d861gen_ai.output.messagesMissing output messages attribute
948cf3a8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
948cf3a8gen_ai.output.messagesMissing output messages attribute
a2855f94gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a2855f94gen_ai.output.messagesMissing output messages attribute
89ec5211gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
89ec5211gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (6)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-llm-test",
"op": "test",
"parent_span_id": "b0b22807156a10ee",
"span_id": "9f6ea3f90df745d8",
"start_timestamp": 1779953588.565,
"timestamp": 1779953591.383,
"trace_id": "4af23ed6bdae487cb21e0eb5a0785bc4",
"origin": "manual"
},
{
"span_id": "b0b22807156a10ee",
"trace_id": "4af23ed6bdae487cb21e0eb5a0785bc4",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953588.558,
"timestamp": 1779953591.385,
"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:47688/",
"url.port": "47688",
"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:47688",
"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": "a2b8d8612b4e9aa5",
"trace_id": "4af23ed6bdae487cb21e0eb5a0785bc4",
"parent_span_id": "9f6ea3f90df745d8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953588.567,
"timestamp": 1779953589.149,
"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_01HAwiZcWi5w4avsC8gbXUMA",
"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": "948cf3a805c7b29e",
"trace_id": "4af23ed6bdae487cb21e0eb5a0785bc4",
"parent_span_id": "9f6ea3f90df745d8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953589.168,
"timestamp": 1779953590.303,
"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 basic addition facts in mathematics. If you have 2 of something and add 2 more, you end up with 4 total.",
"gen_ai.response.id": "msg_01BYA4k6YqLZuUKgrjUGmPbs",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 51,
"gen_ai.usage.total_tokens": 74
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a2855f9406b3a409",
"trace_id": "4af23ed6bdae487cb21e0eb5a0785bc4",
"parent_span_id": "9f6ea3f90df745d8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953590.304,
"timestamp": 1779953590.795,
"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_01NES944kA387XVZTPMB7b3z",
"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": "89ec5211aa45eae0",
"trace_id": "4af23ed6bdae487cb21e0eb5a0785bc4",
"parent_span_id": "9f6ea3f90df745d8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953590.795,
"timestamp": 1779953591.383,
"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_018Qri8QSeUz3mzPuY43kqsm",
"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) 18648ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
9af6be71gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9af6be71gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-llm-test",
"op": "test",
"parent_span_id": "bd702b7a19ce790a",
"span_id": "8a3bf3c2a0cbd291",
"start_timestamp": 1779953588.705,
"timestamp": 1779953589.105,
"trace_id": "7d09e133e64f4877ad13c1707c1c5af8",
"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": "9af6be7140c79653",
"span_id": "8a8907b208a9acb7",
"start_timestamp": 1779953588.711,
"status": "ok",
"timestamp": 1779953589.062,
"trace_id": "7d09e133e64f4877ad13c1707c1c5af8",
"origin": "auto.http.fetch"
},
{
"span_id": "bd702b7a19ce790a",
"trace_id": "7d09e133e64f4877ad13c1707c1c5af8",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953588.702,
"timestamp": 1779953589.113,
"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:47689/",
"url.port": "47689",
"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:47689",
"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": "9af6be7140c79653",
"trace_id": "7d09e133e64f4877ad13c1707c1c5af8",
"parent_span_id": "8a3bf3c2a0cbd291",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953588.706,
"timestamp": 1779953589.096,
"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": "tO8XatXBM4uX1MkPqP8s",
"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) 110117ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
8443355bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8443355bgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-llm-test",
"op": "test",
"parent_span_id": "9e1645dd089a451b",
"span_id": "8419295f799a6b08",
"start_timestamp": 1779953590.652,
"timestamp": 1779953591.211,
"trace_id": "f6562836fb184d299224a3b58efbfd82",
"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": "8443355b0b08a2f9",
"span_id": "8437271d06ff51b0",
"start_timestamp": 1779953590.663,
"status": "ok",
"timestamp": 1779953591.197,
"trace_id": "f6562836fb184d299224a3b58efbfd82",
"origin": "auto.http.fetch"
},
{
"span_id": "9e1645dd089a451b",
"trace_id": "f6562836fb184d299224a3b58efbfd82",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953590.643,
"timestamp": 1779953591.212,
"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:47690/",
"url.port": "47690",
"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:47690",
"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": "8443355b0b08a2f9",
"trace_id": "f6562836fb184d299224a3b58efbfd82",
"parent_span_id": "8419295f799a6b08",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953590.653,
"timestamp": 1779953591.199,
"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) 19452ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
a0131babgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a0131babgen_ai.output.messagesMissing output messages attribute
ab9733e0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ab9733e0gen_ai.output.messagesMissing output messages attribute
bde2a59dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bde2a59dgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "multi-turn-llm-test",
"op": "test",
"parent_span_id": "bb66b587d05cacb0",
"span_id": "a5b79135743e856f",
"start_timestamp": 1779953589.712,
"timestamp": 1779953591.087,
"trace_id": "fa6d678a8c1547f1adb5171b0b7e7b0a",
"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": "a0131bab5d6ce696",
"span_id": "83e60363ce576486",
"start_timestamp": 1779953589.742,
"status": "ok",
"timestamp": 1779953590.201,
"trace_id": "fa6d678a8c1547f1adb5171b0b7e7b0a",
"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": "ab9733e092ddbf1e",
"span_id": "911d7d523758c829",
"start_timestamp": 1779953590.22,
"status": "ok",
"timestamp": 1779953590.524,
"trace_id": "fa6d678a8c1547f1adb5171b0b7e7b0a",
"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": "bde2a59d99e59840",
"span_id": "8ab9a51916e63471",
"start_timestamp": 1779953590.681,
"status": "ok",
"timestamp": 1779953590.999,
"trace_id": "fa6d678a8c1547f1adb5171b0b7e7b0a",
"origin": "auto.http.fetch"
},
{
"span_id": "bb66b587d05cacb0",
"trace_id": "fa6d678a8c1547f1adb5171b0b7e7b0a",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953589.699,
"timestamp": 1779953591.1,
"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:47691/",
"url.port": "47691",
"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:47691",
"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": "a0131bab5d6ce696",
"trace_id": "fa6d678a8c1547f1adb5171b0b7e7b0a",
"parent_span_id": "a5b79135743e856f",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953589.713,
"timestamp": 1779953590.214,
"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": "te8Xau-BNcKs1MkPt9GzgQ0",
"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": "ab9733e092ddbf1e",
"trace_id": "fa6d678a8c1547f1adb5171b0b7e7b0a",
"parent_span_id": "a5b79135743e856f",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953590.22,
"timestamp": 1779953590.674,
"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": "tu8XasLlE6-n1MkP2uHAwAM",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"gen_ai.usage.input_tokens": 32,
"gen_ai.usage.output_tokens": 60,
"gen_ai.usage.total_tokens": 92,
"gen_ai.response.finish_reasons": "[\"STOP\"]",
"gen_ai.response.text": "The population of Paris is estimated to be around **2.1 million people** within the administrative city limits.\n\nHowever, if you consider the larger **Paris metropolitan area** (which includes the city and its surrounding suburbs), the population is much higher, estimated to be over **11 million people**."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bde2a59d99e59840",
"trace_id": "fa6d678a8c1547f1adb5171b0b7e7b0a",
"parent_span_id": "a5b79135743e856f",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953590.677,
"timestamp": 1779953591.087,
"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": "tu8XauDpLtLN1MkP6Mbo-Ak",
"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 **13 million people**."
},
"status": "ok",
"is_segment": false
}
]cloudflare/google-genai :: Multi-Turn LLM Test (blocking) 110394ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
9d0b6a34gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d0b6a34gen_ai.output.messagesMissing output messages attribute
9cd66694gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9cd66694gen_ai.output.messagesMissing output messages attribute
82931a7dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82931a7dgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "multi-turn-llm-test",
"op": "test",
"parent_span_id": "b8ad3764799b7a5a",
"span_id": "b371635239c1d0ec",
"start_timestamp": 1779953590.49,
"timestamp": 1779953592.023,
"trace_id": "e4a091c2989341abb257c31ae9db090a",
"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": "9d0b6a3483b4c1c9",
"span_id": "a5ef0ed98d75b297",
"start_timestamp": 1779953590.501,
"status": "ok",
"timestamp": 1779953590.903,
"trace_id": "e4a091c2989341abb257c31ae9db090a",
"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": "9cd66694a0dc5785",
"span_id": "843a483e60ef3559",
"start_timestamp": 1779953590.912,
"status": "ok",
"timestamp": 1779953591.607,
"trace_id": "e4a091c2989341abb257c31ae9db090a",
"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": "82931a7de528976a",
"span_id": "be3375333f29f498",
"start_timestamp": 1779953591.615,
"status": "ok",
"timestamp": 1779953592.019,
"trace_id": "e4a091c2989341abb257c31ae9db090a",
"origin": "auto.http.fetch"
},
{
"span_id": "b8ad3764799b7a5a",
"trace_id": "e4a091c2989341abb257c31ae9db090a",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953590.478,
"timestamp": 1779953592.036,
"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:47692/",
"url.port": "47692",
"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:47692",
"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": "9d0b6a3483b4c1c9",
"trace_id": "e4a091c2989341abb257c31ae9db090a",
"parent_span_id": "b371635239c1d0ec",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953590.49,
"timestamp": 1779953590.905,
"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": "9cd66694a0dc5785",
"trace_id": "e4a091c2989341abb257c31ae9db090a",
"parent_span_id": "b371635239c1d0ec",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953590.912,
"timestamp": 1779953591.608,
"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": 92,
"gen_ai.usage.total_tokens": 124,
"gen_ai.response.text": "The population of Paris is approximately **2.1 million people** within the city limits (known as the *intra-muros*).\n\nHowever, if you consider the **Paris metropolitan area** (which includes the surrounding suburbs), the population is much larger, estimated to be around **11 to 12 million people**. This is a significant difference, and it's important to specify which definition of \"Paris\" you're referring to."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "82931a7de528976a",
"trace_id": "e4a091c2989341abb257c31ae9db090a",
"parent_span_id": "b371635239c1d0ec",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953591.61,
"timestamp": 1779953592.022,
"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 **11 million people**."
},
"status": "ok",
"is_segment": false
}
]cloudflare/google-genai :: Vision LLM Test (streaming) 18965ms
Critical
checkChatSpanAttributes
98e088d9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
98e088d9gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-llm-test",
"op": "test",
"parent_span_id": "91df4586694704eb",
"span_id": "9475bb72b102221f",
"start_timestamp": 1779953592.848,
"timestamp": 1779953593.353,
"trace_id": "c31b06c019e3444abcb938ad54a14542",
"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": "98e088d922c90a78",
"span_id": "ade2c1720d0d90f5",
"start_timestamp": 1779953592.865,
"status": "ok",
"timestamp": 1779953593.34,
"trace_id": "c31b06c019e3444abcb938ad54a14542",
"origin": "auto.http.fetch"
},
{
"span_id": "91df4586694704eb",
"trace_id": "c31b06c019e3444abcb938ad54a14542",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953592.838,
"timestamp": 1779953593.36,
"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:47695/",
"url.port": "47695",
"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:47695",
"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": "98e088d922c90a78",
"trace_id": "c31b06c019e3444abcb938ad54a14542",
"parent_span_id": "9475bb72b102221f",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953592.848,
"timestamp": 1779953593.352,
"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": "ue8XaprsBZml1MkP3eHeIQ",
"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) 19274ms
Critical
checkChatSpanAttributes
88aae035gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88aae035gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-llm-test",
"op": "test",
"parent_span_id": "8989b5e2378939d6",
"span_id": "920491d4e52caa12",
"start_timestamp": 1779953593.778,
"timestamp": 1779953594.241,
"trace_id": "11f87eb1acfb4f6cbbde6b809f8ecb12",
"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": "88aae0358b188d42",
"span_id": "9e2e95e3ee9cfacb",
"start_timestamp": 1779953593.791,
"status": "ok",
"timestamp": 1779953594.238,
"trace_id": "11f87eb1acfb4f6cbbde6b809f8ecb12",
"origin": "auto.http.fetch"
},
{
"span_id": "8989b5e2378939d6",
"trace_id": "11f87eb1acfb4f6cbbde6b809f8ecb12",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953593.773,
"timestamp": 1779953594.243,
"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:47696/",
"url.port": "47696",
"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:47696",
"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": "88aae0358b188d42",
"trace_id": "11f87eb1acfb4f6cbbde6b809f8ecb12",
"parent_span_id": "920491d4e52caa12",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953593.78,
"timestamp": 1779953594.24,
"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) 18349ms
Critical
checkChatSpanAttributes
93a476d6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
93a476d6gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-llm-test",
"op": "test",
"parent_span_id": "b8946610e15e497f",
"span_id": "afafd1569bda32b8",
"start_timestamp": 1779953593.899,
"timestamp": 1779953594.363,
"trace_id": "8e98ba5c1596400c81a1a7295891b0fa",
"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": "93a476d6079b6643",
"span_id": "abeec05797f136de",
"start_timestamp": 1779953593.905,
"status": "ok",
"timestamp": 1779953594.358,
"trace_id": "8e98ba5c1596400c81a1a7295891b0fa",
"origin": "auto.http.fetch"
},
{
"span_id": "b8946610e15e497f",
"trace_id": "8e98ba5c1596400c81a1a7295891b0fa",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953593.896,
"timestamp": 1779953594.364,
"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:47697/",
"url.port": "47697",
"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:47697",
"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": "93a476d6079b6643",
"trace_id": "8e98ba5c1596400c81a1a7295891b0fa",
"parent_span_id": "afafd1569bda32b8",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953593.9,
"timestamp": 1779953594.362,
"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": "uu8XatLlB6Sf1MkP-fG6EQ",
"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.finish_reasons": "[\"STOP\"]",
"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
}
]cloudflare/google-genai :: Long Input LLM Test (blocking) 18400ms
Critical
checkChatSpanAttributes
b23416e9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b23416e9gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-llm-test",
"op": "test",
"parent_span_id": "90051ac17658f10c",
"span_id": "b28e8152b8676f16",
"start_timestamp": 1779953593.985,
"timestamp": 1779953594.501,
"trace_id": "584a026a551e4cc4b8e93c49c16a7930",
"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": "b23416e97201833e",
"span_id": "b0eb04f546deedd0",
"start_timestamp": 1779953593.99,
"status": "ok",
"timestamp": 1779953594.498,
"trace_id": "584a026a551e4cc4b8e93c49c16a7930",
"origin": "auto.http.fetch"
},
{
"span_id": "90051ac17658f10c",
"trace_id": "584a026a551e4cc4b8e93c49c16a7930",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953593.983,
"timestamp": 1779953594.502,
"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:47698/",
"url.port": "47698",
"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:47698",
"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": "b23416e97201833e",
"trace_id": "584a026a551e4cc4b8e93c49c16a7930",
"parent_span_id": "b28e8152b8676f16",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953593.985,
"timestamp": 1779953594.5,
"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 designed to be repeated numerous times to create a lengthy input."
},
"status": "ok",
"is_segment": false
}
]cloudflare/google-genai :: Conversation ID LLM Test (streaming) 17310ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
a26badd3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a26badd3gen_ai.output.messagesMissing output messages attribute
80f26819gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
80f26819gen_ai.output.messagesMissing output messages attribute
a5d00e65gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a5d00e65gen_ai.output.messagesMissing output messages attribute
8af0e421gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8af0e421gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (10)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-llm-test",
"op": "test",
"parent_span_id": "ace9843ebc5ce680",
"span_id": "bcac20bc5c4688e4",
"start_timestamp": 1779953595.055,
"timestamp": 1779953596.458,
"trace_id": "d1fbe174b75a4902bcc5982a2c0c2d24",
"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": "a26badd3e8fc54c6",
"span_id": "ac889b5be72f3149",
"start_timestamp": 1779953595.061,
"status": "ok",
"timestamp": 1779953595.497,
"trace_id": "d1fbe174b75a4902bcc5982a2c0c2d24",
"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": "80f268199b2e97b9",
"span_id": "868f90d3def138b4",
"start_timestamp": 1779953595.515,
"status": "ok",
"timestamp": 1779953595.822,
"trace_id": "d1fbe174b75a4902bcc5982a2c0c2d24",
"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": "a5d00e65295318b4",
"span_id": "b9f19c214fadd52b",
"start_timestamp": 1779953595.852,
"status": "ok",
"timestamp": 1779953596.136,
"trace_id": "d1fbe174b75a4902bcc5982a2c0c2d24",
"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": "8af0e42101b19fe1",
"span_id": "82625ba0f52222f1",
"start_timestamp": 1779953596.187,
"status": "ok",
"timestamp": 1779953596.426,
"trace_id": "d1fbe174b75a4902bcc5982a2c0c2d24",
"origin": "auto.http.fetch"
},
{
"span_id": "ace9843ebc5ce680",
"trace_id": "d1fbe174b75a4902bcc5982a2c0c2d24",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953595.049,
"timestamp": 1779953596.467,
"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:47699/",
"url.port": "47699",
"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:47699",
"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": "a26badd3e8fc54c6",
"trace_id": "d1fbe174b75a4902bcc5982a2c0c2d24",
"parent_span_id": "bcac20bc5c4688e4",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953595.056,
"timestamp": 1779953595.507,
"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": "u-8XaseAEaiq1MkPmdm-mQ0",
"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": "80f268199b2e97b9",
"trace_id": "d1fbe174b75a4902bcc5982a2c0c2d24",
"parent_span_id": "bcac20bc5c4688e4",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953595.515,
"timestamp": 1779953595.851,
"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": "u-8XauG6JNCx1MkP4Z3ViQ0",
"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.response.finish_reasons": "[\"STOP\"]",
"gen_ai.response.text": "That's a classic! 2 + 2 equals **4**."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a5d00e65295318b4",
"trace_id": "d1fbe174b75a4902bcc5982a2c0c2d24",
"parent_span_id": "bcac20bc5c4688e4",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953595.851,
"timestamp": 1779953596.186,
"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": "u-8XasaoOa-f1MkPo_ac2Aw",
"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": "8af0e42101b19fe1",
"trace_id": "d1fbe174b75a4902bcc5982a2c0c2d24",
"parent_span_id": "bcac20bc5c4688e4",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953596.186,
"timestamp": 1779953596.457,
"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": "vO8XasvHEIqa9MoP6tzeAQ",
"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
}
]cloudflare/google-genai :: Conversation ID LLM Test (blocking) 19230ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
9c1951b1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c1951b1gen_ai.output.messagesMissing output messages attribute
a821d59egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a821d59egen_ai.output.messagesMissing output messages attribute
948952bagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
948952bagen_ai.output.messagesMissing output messages attribute
bbed74cegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bbed74cegen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (10)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-llm-test",
"op": "test",
"parent_span_id": "aa55d66d23f91afd",
"span_id": "88a21a081942e129",
"start_timestamp": 1779953597.96,
"timestamp": 1779953600.3,
"trace_id": "aa966408bbd6486d9a361fd6684fbc49",
"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": "9c1951b128b42753",
"span_id": "ad66b526b440be98",
"start_timestamp": 1779953597.986,
"status": "ok",
"timestamp": 1779953598.758,
"trace_id": "aa966408bbd6486d9a361fd6684fbc49",
"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": "a821d59eb42f5dcb",
"span_id": "bfbe0cf574317736",
"start_timestamp": 1779953598.776,
"status": "ok",
"timestamp": 1779953599.382,
"trace_id": "aa966408bbd6486d9a361fd6684fbc49",
"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": "948952ba1c5582c5",
"span_id": "85d1abe96a782b42",
"start_timestamp": 1779953599.383,
"status": "ok",
"timestamp": 1779953599.852,
"trace_id": "aa966408bbd6486d9a361fd6684fbc49",
"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": "bbed74ce9cc38236",
"span_id": "9797a648d40551f2",
"start_timestamp": 1779953599.854,
"status": "ok",
"timestamp": 1779953600.3,
"trace_id": "aa966408bbd6486d9a361fd6684fbc49",
"origin": "auto.http.fetch"
},
{
"span_id": "aa55d66d23f91afd",
"trace_id": "aa966408bbd6486d9a361fd6684fbc49",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953597.957,
"timestamp": 1779953600.312,
"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:47700/",
"url.port": "47700",
"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:47700",
"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": "9c1951b128b42753",
"trace_id": "aa966408bbd6486d9a361fd6684fbc49",
"parent_span_id": "88a21a081942e129",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953597.968,
"timestamp": 1779953598.76,
"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": "a821d59eb42f5dcb",
"trace_id": "aa966408bbd6486d9a361fd6684fbc49",
"parent_span_id": "88a21a081942e129",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953598.775,
"timestamp": 1779953599.382,
"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": 7,
"gen_ai.usage.total_tokens": 23,
"gen_ai.response.text": "2 + 2 = 4"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "948952ba1c5582c5",
"trace_id": "aa966408bbd6486d9a361fd6684fbc49",
"parent_span_id": "88a21a081942e129",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953599.383,
"timestamp": 1779953599.853,
"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": 8,
"gen_ai.usage.total_tokens": 36,
"gen_ai.response.text": "The capital of Germany is **Berlin**."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bbed74ce9cc38236",
"trace_id": "aa966408bbd6486d9a361fd6684fbc49",
"parent_span_id": "88a21a081942e129",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953599.853,
"timestamp": 1779953600.3,
"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 110871ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
ba1d905cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ba1d905cgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
ba1d905cgen_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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-llm-test",
"op": "test",
"parent_span_id": "88626276ecaebf29",
"span_id": "ac5394bcf52900ef",
"start_timestamp": 1779953600.553,
"timestamp": 1779953602.074,
"trace_id": "2378068a7c3d45568d3dfbb97fce1d6a",
"origin": "manual"
},
{
"span_id": "88626276ecaebf29",
"trace_id": "2378068a7c3d45568d3dfbb97fce1d6a",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953600.543,
"timestamp": 1779953602.08,
"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:47701/",
"url.port": "47701",
"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:47701",
"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": "ba1d905c0383dab0",
"trace_id": "2378068a7c3d45568d3dfbb97fce1d6a",
"parent_span_id": "ac5394bcf52900ef",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953600.573,
"timestamp": 1779953602.065,
"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 — the capital and largest city of France.\"]",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 211,
"gen_ai.usage.total_tokens": 234,
"gen_ai.response.id": "chatcmpl-DkPWy0sti6hznpBIVPeV9E3d8hmKo",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langchain :: Basic LLM Test (streaming, anthropic) 1 1 19538ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
adea7963gen_ai.usage.input_tokensSpan adea7963: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
adea7963gen_ai.usage.output_tokensSpan adea7963: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
adea7963gen_ai.usage.input_tokensinput_tokens must exist
adea7963gen_ai.usage.output_tokensoutput_tokens must exist
adea7963gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
adea7963gen_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.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-llm-test",
"op": "test",
"parent_span_id": "91e625e54cbdc503",
"span_id": "b01eaf3fb6841047",
"start_timestamp": 1779953600.478,
"timestamp": 1779953600.778,
"trace_id": "5339c2a9ac58454ab52f79f278136959",
"origin": "manual"
},
{
"span_id": "91e625e54cbdc503",
"trace_id": "5339c2a9ac58454ab52f79f278136959",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953600.463,
"timestamp": 1779953600.782,
"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:47702/",
"url.port": "47702",
"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:47702",
"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": "adea79639d5b4214",
"trace_id": "5339c2a9ac58454ab52f79f278136959",
"parent_span_id": "b01eaf3fb6841047",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953600.508,
"timestamp": 1779953600.705,
"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 113436ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
a63b4255gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a63b4255gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
a63b4255gen_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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-llm-test",
"op": "test",
"parent_span_id": "90e58e8ff3397c3d",
"span_id": "9eac21d136e09ad2",
"start_timestamp": 1779953601.632,
"timestamp": 1779953604.795,
"trace_id": "ffa13bb58ec84ce9865ce2cb04ef0e7b",
"origin": "manual"
},
{
"span_id": "90e58e8ff3397c3d",
"trace_id": "ffa13bb58ec84ce9865ce2cb04ef0e7b",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953601.629,
"timestamp": 1779953604.806,
"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:47703/",
"url.port": "47703",
"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:47703",
"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": "a63b42556af2043e",
"trace_id": "ffa13bb58ec84ce9865ce2cb04ef0e7b",
"parent_span_id": "9eac21d136e09ad2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953601.665,
"timestamp": 1779953604.789,
"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": 336,
"gen_ai.usage.total_tokens": 359,
"gen_ai.response.id": "chatcmpl-DkPWzuyCrOgaFgnYhJr3vL7kxVeSt",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langchain :: Basic LLM Test (blocking, anthropic) 1 1 19021ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
93104dc0gen_ai.usage.input_tokensSpan 93104dc0: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
93104dc0gen_ai.usage.output_tokensSpan 93104dc0: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
93104dc0gen_ai.usage.input_tokensinput_tokens must exist
93104dc0gen_ai.usage.output_tokensoutput_tokens must exist
93104dc0gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
93104dc0gen_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.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-llm-test",
"op": "test",
"parent_span_id": "aca5bb1c57bbc3db",
"span_id": "a8b17bf2647c5b57",
"start_timestamp": 1779953600.446,
"timestamp": 1779953600.707,
"trace_id": "0d91d89778c64b80b235126c46fe8d5f",
"origin": "manual"
},
{
"span_id": "aca5bb1c57bbc3db",
"trace_id": "0d91d89778c64b80b235126c46fe8d5f",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953600.436,
"timestamp": 1779953600.718,
"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:47704/",
"url.port": "47704",
"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:47704",
"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": "93104dc073543a06",
"trace_id": "0d91d89778c64b80b235126c46fe8d5f",
"parent_span_id": "a8b17bf2647c5b57",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953600.469,
"timestamp": 1779953600.647,
"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 129054ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
b9edfa2egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b9edfa2egen_ai.output.messagesMissing output messages attribute
8c03ffc2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c03ffc2gen_ai.output.messagesMissing output messages attribute
885440b2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
885440b2gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
b9edfa2egen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8c03ffc2gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
885440b2gen_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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(3 spans)Captured Spans (5)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "multi-turn-llm-test",
"op": "test",
"parent_span_id": "99cf2af4de3ee2f8",
"span_id": "bf4de8f4438f75c2",
"start_timestamp": 1779953603.343,
"timestamp": 1779953621.139,
"trace_id": "8d6567b592104cc0b8944ddcfdc90508",
"origin": "manual"
},
{
"span_id": "99cf2af4de3ee2f8",
"trace_id": "8d6567b592104cc0b8944ddcfdc90508",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953603.324,
"timestamp": 1779953621.14,
"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:47705/",
"url.port": "47705",
"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:47705",
"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": "b9edfa2ee3665dfb",
"trace_id": "8d6567b592104cc0b8944ddcfdc90508",
"parent_span_id": "bf4de8f4438f75c2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953603.392,
"timestamp": 1779953604.913,
"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-DkPX2HBRoSbVbWMzO9E6e7yhbHZq9",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8c03ffc206d3fe46",
"trace_id": "8d6567b592104cc0b8944ddcfdc90508",
"parent_span_id": "bf4de8f4438f75c2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953604.929,
"timestamp": 1779953613.884,
"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": "[\"The answer depends on what you mean by “the city”:\\n\\n- Paris city proper (the commune): about 2.1 million people.\\n- Paris urban area (the contiguous built-up area around Paris): about 10–11 million.\\n- Île-de-France region (the wider Paris region): about 12–13 million.\\n\\nIf you specify which definition and a year, I can give a precise figure.\"]",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1438,
"gen_ai.usage.total_tokens": 1486,
"gen_ai.response.id": "chatcmpl-DkPX3PG8sDNGhow4Ze6vUKwPaEViu",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "885440b22ff5f5a5",
"trace_id": "8d6567b592104cc0b8944ddcfdc90508",
"parent_span_id": "bf4de8f4438f75c2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953613.885,
"timestamp": 1779953621.138,
"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 metropolitan area in the statistical sense (the Paris urban area, or \\\"aire urbaine\\\"), it has about 12 million people today—roughly in the 12.0–12.5 million range depending on the year and the exact method used.\\n\\nIf you mean the administrative region (Île-de-France), its population is a bit higher, around 12.5–13 million.\\n\\nWant a precise figure for a specific year or source (e.g., INSEE)?\"]",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1455,
"gen_ai.usage.total_tokens": 1536,
"gen_ai.response.id": "chatcmpl-DkPXCyHfYSsuaeFJhXpIiG49oOIo9",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langchain :: Multi-Turn LLM Test (streaming, anthropic) 1 1 111807ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
a3566106gen_ai.usage.input_tokensSpan a3566106: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a3566106gen_ai.usage.output_tokensSpan a3566106: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
93dfca1agen_ai.usage.input_tokensSpan 93dfca1a: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
93dfca1agen_ai.usage.output_tokensSpan 93dfca1a: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
a212065fgen_ai.usage.input_tokensSpan a212065f: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a212065fgen_ai.usage.output_tokensSpan a212065f: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
a3566106gen_ai.usage.input_tokensinput_tokens must exist
a3566106gen_ai.usage.output_tokensoutput_tokens must exist
a3566106gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
a3566106gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
93dfca1agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a212065fgen_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.nameCaptured Spans (5)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "multi-turn-llm-test",
"op": "test",
"parent_span_id": "bc6850fbdb23dc58",
"span_id": "885bcb03fb5e646d",
"start_timestamp": 1779953604.28,
"timestamp": 1779953604.84,
"trace_id": "de544a131e244060a70133bf6b1d2d8a",
"origin": "manual"
},
{
"span_id": "bc6850fbdb23dc58",
"trace_id": "de544a131e244060a70133bf6b1d2d8a",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953604.261,
"timestamp": 1779953604.858,
"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:47706/",
"url.port": "47706",
"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:47706",
"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": "a3566106b9ac5c99",
"trace_id": "de544a131e244060a70133bf6b1d2d8a",
"parent_span_id": "885bcb03fb5e646d",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953604.33,
"timestamp": 1779953604.508,
"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": "93dfca1a3a7bda73",
"trace_id": "de544a131e244060a70133bf6b1d2d8a",
"parent_span_id": "885bcb03fb5e646d",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953604.591,
"timestamp": 1779953604.712,
"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": "a212065fb2bebecc",
"trace_id": "de544a131e244060a70133bf6b1d2d8a",
"parent_span_id": "885bcb03fb5e646d",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953604.723,
"timestamp": 1779953604.839,
"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 130299ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
aba95fc3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aba95fc3gen_ai.output.messagesMissing output messages attribute
bffb4817gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bffb4817gen_ai.output.messagesMissing output messages attribute
91eb51bdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
91eb51bdgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
aba95fc3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
bffb4817gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
91eb51bdgen_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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(3 spans)Captured Spans (5)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "multi-turn-llm-test",
"op": "test",
"parent_span_id": "b62fc8a70db6c706",
"span_id": "88dc592db255ec15",
"start_timestamp": 1779953604.541,
"timestamp": 1779953623.667,
"trace_id": "cf677698aed84b919ac49edb9c6bec4a",
"origin": "manual"
},
{
"span_id": "b62fc8a70db6c706",
"trace_id": "cf677698aed84b919ac49edb9c6bec4a",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953604.53,
"timestamp": 1779953623.673,
"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:47707/",
"url.port": "47707",
"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:47707",
"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": "aba95fc334ddb963",
"trace_id": "cf677698aed84b919ac49edb9c6bec4a",
"parent_span_id": "88dc592db255ec15",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953604.565,
"timestamp": 1779953606.473,
"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": 272,
"gen_ai.usage.total_tokens": 295,
"gen_ai.response.id": "chatcmpl-DkPX2fUt0bCuRvOmTY7jyH5VIaBZO",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bffb48170c988e1c",
"trace_id": "cf677698aed84b919ac49edb9c6bec4a",
"parent_span_id": "88dc592db255ec15",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953606.478,
"timestamp": 1779953616.547,
"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 city proper) has about 2.1–2.2 million residents (roughly 2.16 million in recent estimates).\\n\\nIf you mean the wider area:\\n- Paris metropolitan area (aire urbaine): around 12 million people.\\n- Île-de-France region (the broader region including Paris and surrounding départements): about 12–13 million.\\n\\nWhich definition and year would you like the exact figure for? I can provide a precise number if you specify.\"]",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1964,
"gen_ai.usage.total_tokens": 2012,
"gen_ai.response.id": "chatcmpl-DkPX4hD8hySVVyex9fKsTPWIwebe9",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "91eb51bde58052f9",
"trace_id": "cf677698aed84b919ac49edb9c6bec4a",
"parent_span_id": "88dc592db255ec15",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953616.551,
"timestamp": 1779953623.667,
"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": "[\"- Paris metropolitan area (the urban area around Paris, “aire urbaine”): about 12 million inhabitants (roughly 12–12.5 million, depending on the year and method of measurement).\\n- If you mean the broader Île-de-France region (admin region that includes Paris and its suburbs): about 12–13 million people.\\n\\nDefinitions vary, so exact numbers depend on which metric you use. If you have a year in mind, I can give a precise figure for that definition.\"]",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1264,
"gen_ai.usage.total_tokens": 1345,
"gen_ai.response.id": "chatcmpl-DkPXEpv3CqNPN632n3TrgOUdDTFgg",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langchain :: Multi-Turn LLM Test (blocking, anthropic) 1 1 111263ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
a8a0bf34gen_ai.usage.input_tokensSpan a8a0bf34: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a8a0bf34gen_ai.usage.output_tokensSpan a8a0bf34: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
a6f9dfe9gen_ai.usage.input_tokensSpan a6f9dfe9: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a6f9dfe9gen_ai.usage.output_tokensSpan a6f9dfe9: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
8cc72069gen_ai.usage.input_tokensSpan 8cc72069: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8cc72069gen_ai.usage.output_tokensSpan 8cc72069: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
a8a0bf34gen_ai.usage.input_tokensinput_tokens must exist
a8a0bf34gen_ai.usage.output_tokensoutput_tokens must exist
a8a0bf34gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
a8a0bf34gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a6f9dfe9gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8cc72069gen_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.nameCaptured Spans (5)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "multi-turn-llm-test",
"op": "test",
"parent_span_id": "8074b770852be4f9",
"span_id": "bde88e422273dfd2",
"start_timestamp": 1779953605.044,
"timestamp": 1779953605.5,
"trace_id": "9af300f9c778440ca336a4a352d27f61",
"origin": "manual"
},
{
"span_id": "8074b770852be4f9",
"trace_id": "9af300f9c778440ca336a4a352d27f61",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953605.035,
"timestamp": 1779953605.509,
"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:47708/",
"url.port": "47708",
"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:47708",
"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": "a8a0bf34253c2742",
"trace_id": "9af300f9c778440ca336a4a352d27f61",
"parent_span_id": "bde88e422273dfd2",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953605.05,
"timestamp": 1779953605.214,
"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": "a6f9dfe90908856e",
"trace_id": "9af300f9c778440ca336a4a352d27f61",
"parent_span_id": "bde88e422273dfd2",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953605.258,
"timestamp": 1779953605.368,
"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": "8cc72069d96aecdb",
"trace_id": "9af300f9c778440ca336a4a352d27f61",
"parent_span_id": "bde88e422273dfd2",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953605.385,
"timestamp": 1779953605.499,
"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 19304ms
Critical
checkChatSpanAttributes
8fdbc601gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8fdbc601gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
8fdbc601gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-llm-test",
"op": "test",
"parent_span_id": "bcf3c84c2c260f73",
"span_id": "aa6847836b722f78",
"start_timestamp": 1779953608.928,
"timestamp": 1779953609.985,
"trace_id": "e8459c3af1cc4acc8dfe4fdbd7d0253a",
"origin": "manual"
},
{
"span_id": "bcf3c84c2c260f73",
"trace_id": "e8459c3af1cc4acc8dfe4fdbd7d0253a",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953608.921,
"timestamp": 1779953609.987,
"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:47713/",
"url.port": "47713",
"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:47713",
"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": "8fdbc6011c7b270c",
"trace_id": "e8459c3af1cc4acc8dfe4fdbd7d0253a",
"parent_span_id": "aa6847836b722f78",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953608.943,
"timestamp": 1779953609.976,
"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-DkPX7ay9jHwR2wutYzXOgBfGPmuPW",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langchain :: Vision LLM Test (streaming, anthropic) 1 1 18674ms
Critical
checkChatSpanAttributes
bddb2c86gen_ai.usage.input_tokensSpan bddb2c86: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
bddb2c86gen_ai.usage.output_tokensSpan bddb2c86: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
bddb2c86gen_ai.usage.input_tokensinput_tokens must exist
bddb2c86gen_ai.usage.output_tokensoutput_tokens must exist
bddb2c86gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
bddb2c86gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-llm-test",
"op": "test",
"parent_span_id": "8153886805de07bd",
"span_id": "a6cf5f90cb1a8eb5",
"start_timestamp": 1779953609.253,
"timestamp": 1779953609.455,
"trace_id": "45009b8edf50461794709f12f2b3119b",
"origin": "manual"
},
{
"span_id": "8153886805de07bd",
"trace_id": "45009b8edf50461794709f12f2b3119b",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953609.249,
"timestamp": 1779953609.457,
"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:47714/",
"url.port": "47714",
"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:47714",
"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": "bddb2c8613dc7317",
"trace_id": "45009b8edf50461794709f12f2b3119b",
"parent_span_id": "a6cf5f90cb1a8eb5",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953609.268,
"timestamp": 1779953609.418,
"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 19179ms
Critical
checkChatSpanAttributes
8f6a384fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f6a384fgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
8f6a384fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-llm-test",
"op": "test",
"parent_span_id": "8b8a77897db5a691",
"span_id": "99bacd2225809268",
"start_timestamp": 1779953610.143,
"timestamp": 1779953611.231,
"trace_id": "809305090b114620b7d5b88000432bb3",
"origin": "manual"
},
{
"span_id": "8b8a77897db5a691",
"trace_id": "809305090b114620b7d5b88000432bb3",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953610.141,
"timestamp": 1779953611.237,
"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:47715/",
"url.port": "47715",
"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:47715",
"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": "8f6a384ff5de6a24",
"trace_id": "809305090b114620b7d5b88000432bb3",
"parent_span_id": "99bacd2225809268",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953610.152,
"timestamp": 1779953611.227,
"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-DkPX89UQAczUEjGcwApg7n3j7r7vl",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langchain :: Vision LLM Test (blocking, anthropic) 1 1 18818ms
Critical
checkChatSpanAttributes
a6af8edcgen_ai.usage.input_tokensSpan a6af8edc: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a6af8edcgen_ai.usage.output_tokensSpan a6af8edc: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
a6af8edcgen_ai.usage.input_tokensinput_tokens must exist
a6af8edcgen_ai.usage.output_tokensoutput_tokens must exist
a6af8edcgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
a6af8edcgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-llm-test",
"op": "test",
"parent_span_id": "b3e493f797ced707",
"span_id": "aac1091dd486e019",
"start_timestamp": 1779953613.397,
"timestamp": 1779953613.674,
"trace_id": "51aeee5a009d4f63988960bef73f707c",
"origin": "manual"
},
{
"span_id": "b3e493f797ced707",
"trace_id": "51aeee5a009d4f63988960bef73f707c",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953613.392,
"timestamp": 1779953613.675,
"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:47716/",
"url.port": "47716",
"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:47716",
"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": "a6af8edce96bb1d4",
"trace_id": "51aeee5a009d4f63988960bef73f707c",
"parent_span_id": "aac1091dd486e019",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953613.412,
"timestamp": 1779953613.586,
"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 19140ms
Critical
checkChatSpanAttributes
b4f8cdcbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b4f8cdcbgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
b4f8cdcbgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-llm-test",
"op": "test",
"parent_span_id": "b67d2442c858cdac",
"span_id": "87e1dd293e53a969",
"start_timestamp": 1779953612.94,
"timestamp": 1779953613.966,
"trace_id": "456572aa2350401383db1f0eba741ed1",
"origin": "manual"
},
{
"span_id": "b67d2442c858cdac",
"trace_id": "456572aa2350401383db1f0eba741ed1",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953612.937,
"timestamp": 1779953613.969,
"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:47717/",
"url.port": "47717",
"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:47717",
"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": "b4f8cdcb23cc11be",
"trace_id": "456572aa2350401383db1f0eba741ed1",
"parent_span_id": "87e1dd293e53a969",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953612.948,
"timestamp": 1779953613.956,
"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 message is a test statement that is being repeated multiple times to generate a long input.\"]",
"gen_ai.usage.input_tokens": 5429,
"gen_ai.usage.output_tokens": 18,
"gen_ai.usage.total_tokens": 5447,
"gen_ai.response.id": "chatcmpl-DkPXBmhdFeqVAqYHCWDMaSqltR1mp",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langchain :: Long Input LLM Test (streaming, anthropic) 1 18333ms
Critical
checkChatSpanAttributes
aa2d7fc0gen_ai.usage.input_tokensSpan aa2d7fc0: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
aa2d7fc0gen_ai.usage.output_tokensSpan aa2d7fc0: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
aa2d7fc0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-llm-test",
"op": "test",
"parent_span_id": "b22ec48dd8d1ee2b",
"span_id": "93bd8af1d3fa5de2",
"start_timestamp": 1779953613.502,
"timestamp": 1779953613.789,
"trace_id": "38fa048024bc4eca9cd54ea60f357519",
"origin": "manual"
},
{
"span_id": "b22ec48dd8d1ee2b",
"trace_id": "38fa048024bc4eca9cd54ea60f357519",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953613.497,
"timestamp": 1779953613.804,
"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:47718/",
"url.port": "47718",
"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:47718",
"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": "aa2d7fc07df9685c",
"trace_id": "38fa048024bc4eca9cd54ea60f357519",
"parent_span_id": "93bd8af1d3fa5de2",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953613.518,
"timestamp": 1779953613.718,
"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 110769ms
Critical
checkChatSpanAttributes
ab917700gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ab917700gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
ab917700gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-llm-test",
"op": "test",
"parent_span_id": "9bcb6991507b22ba",
"span_id": "a029d30679114a04",
"start_timestamp": 1779953614.564,
"timestamp": 1779953616.247,
"trace_id": "d2a90fc0e7c04794bc7ad5ded9a8e64c",
"origin": "manual"
},
{
"span_id": "9bcb6991507b22ba",
"trace_id": "d2a90fc0e7c04794bc7ad5ded9a8e64c",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953614.559,
"timestamp": 1779953616.253,
"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:47719/",
"url.port": "47719",
"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:47719",
"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": "ab91770039a6a53c",
"trace_id": "d2a90fc0e7c04794bc7ad5ded9a8e64c",
"parent_span_id": "a029d30679114a04",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953614.578,
"timestamp": 1779953616.246,
"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 message is a repeated statement designed to create a very long input text.\"]",
"gen_ai.usage.input_tokens": 5429,
"gen_ai.usage.output_tokens": 15,
"gen_ai.usage.total_tokens": 5444,
"gen_ai.response.id": "chatcmpl-DkPXCRjSZ02Fv1rTFbqwaHxm32QYD",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langchain :: Long Input LLM Test (blocking, anthropic) 1 19726ms
Critical
checkChatSpanAttributes
af369bcagen_ai.usage.input_tokensSpan af369bca: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
af369bcagen_ai.usage.output_tokensSpan af369bca: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
af369bcagen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-llm-test",
"op": "test",
"parent_span_id": "82edd309135cbc89",
"span_id": "90160220657d3512",
"start_timestamp": 1779953615.595,
"timestamp": 1779953615.853,
"trace_id": "643174abf85c4bf785c587d647a596e4",
"origin": "manual"
},
{
"span_id": "82edd309135cbc89",
"trace_id": "643174abf85c4bf785c587d647a596e4",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953615.585,
"timestamp": 1779953615.858,
"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:47720/",
"url.port": "47720",
"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:47720",
"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": "af369bca0a12bd25",
"trace_id": "643174abf85c4bf785c587d647a596e4",
"parent_span_id": "90160220657d3512",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953615.629,
"timestamp": 1779953615.814,
"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 118359ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
8c61373dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c61373dgen_ai.output.messagesMissing output messages attribute
aac406bagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aac406bagen_ai.output.messagesMissing output messages attribute
a4ac2e36gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a4ac2e36gen_ai.output.messagesMissing output messages attribute
a7812ad0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a7812ad0gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
8c61373dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
aac406bagen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a4ac2e36gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a7812ad0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(4 spans)Captured Spans (6)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-llm-test",
"op": "test",
"parent_span_id": "ba596784c9dcabb8",
"span_id": "b14d2adb21ea2b26",
"start_timestamp": 1779953616.038,
"timestamp": 1779953625.364,
"trace_id": "f3dca5b1ade34386b3db194f40ee3401",
"origin": "manual"
},
{
"span_id": "ba596784c9dcabb8",
"trace_id": "f3dca5b1ade34386b3db194f40ee3401",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953616.035,
"timestamp": 1779953625.366,
"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:47721/",
"url.port": "47721",
"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:47721",
"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": "8c61373d88f9f29e",
"trace_id": "f3dca5b1ade34386b3db194f40ee3401",
"parent_span_id": "b14d2adb21ea2b26",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953616.045,
"timestamp": 1779953617.945,
"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-DkPXEOOhIkSKI2p5CSWCjNMGzTp86",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "aac406ba77dbea8d",
"trace_id": "f3dca5b1ade34386b3db194f40ee3401",
"parent_span_id": "b14d2adb21ea2b26",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953617.956,
"timestamp": 1779953620.934,
"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 want a quick check: 2 apples + 2 apples = 4 apples. Want to see a quick visual or explore how it works in a different base (like binary)?\"]",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 497,
"gen_ai.usage.total_tokens": 521,
"gen_ai.response.id": "chatcmpl-DkPXG3Fn8m4iG1eRWNuoVYs1oGBWy",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a4ac2e36388f40e4",
"trace_id": "f3dca5b1ade34386b3db194f40ee3401",
"parent_span_id": "b14d2adb21ea2b26",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953620.938,
"timestamp": 1779953622.496,
"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-DkPXJhUfEozVMItrZXuMzVHgOMxT0",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a7812ad04f178459",
"trace_id": "f3dca5b1ade34386b3db194f40ee3401",
"parent_span_id": "b14d2adb21ea2b26",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953622.497,
"timestamp": 1779953625.364,
"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.\\n\\nReason: adding 3 twice brings you to 6 (count 3, then another 3: 3, 6). If you want more practice, I can give you a few problems.\"]",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 442,
"gen_ai.usage.total_tokens": 492,
"gen_ai.response.id": "chatcmpl-DkPXKyrEGmvHkR0eJhoCrOxndOFiu",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langchain :: Conversation ID LLM Test (streaming, anthropic) 1 1 19484ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
82d7d5a1gen_ai.usage.input_tokensSpan 82d7d5a1: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
82d7d5a1gen_ai.usage.output_tokensSpan 82d7d5a1: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9060e3efgen_ai.usage.input_tokensSpan 9060e3ef: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9060e3efgen_ai.usage.output_tokensSpan 9060e3ef: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
a256fcc0gen_ai.usage.input_tokensSpan a256fcc0: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a256fcc0gen_ai.usage.output_tokensSpan a256fcc0: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
aac690abgen_ai.usage.input_tokensSpan aac690ab: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
aac690abgen_ai.usage.output_tokensSpan aac690ab: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
82d7d5a1gen_ai.usage.input_tokensinput_tokens must exist
82d7d5a1gen_ai.usage.output_tokensoutput_tokens must exist
82d7d5a1gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
82d7d5a1gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9060e3efgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a256fcc0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
aac690abgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (6)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-llm-test",
"op": "test",
"parent_span_id": "95e2205f98cf8932",
"span_id": "a50a55bdae48011f",
"start_timestamp": 1779953617.592,
"timestamp": 1779953618.335,
"trace_id": "492ecd67ef6446c99a5f38f0443dd15a",
"origin": "manual"
},
{
"span_id": "95e2205f98cf8932",
"trace_id": "492ecd67ef6446c99a5f38f0443dd15a",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953617.582,
"timestamp": 1779953618.34,
"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:47722/",
"url.port": "47722",
"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:47722",
"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": "82d7d5a16df3e148",
"trace_id": "492ecd67ef6446c99a5f38f0443dd15a",
"parent_span_id": "a50a55bdae48011f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953617.611,
"timestamp": 1779953617.779,
"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": "9060e3efd0302c3c",
"trace_id": "492ecd67ef6446c99a5f38f0443dd15a",
"parent_span_id": "a50a55bdae48011f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953617.8,
"timestamp": 1779953617.909,
"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": "a256fcc0ba4d6a69",
"trace_id": "492ecd67ef6446c99a5f38f0443dd15a",
"parent_span_id": "a50a55bdae48011f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953617.921,
"timestamp": 1779953618.224,
"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": "aac690abf436efdf",
"trace_id": "492ecd67ef6446c99a5f38f0443dd15a",
"parent_span_id": "a50a55bdae48011f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953618.226,
"timestamp": 1779953618.332,
"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 117126ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
82f81ae5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82f81ae5gen_ai.output.messagesMissing output messages attribute
bb590238gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bb590238gen_ai.output.messagesMissing output messages attribute
9e74ca9agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9e74ca9agen_ai.output.messagesMissing output messages attribute
9f1a64ffgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f1a64ffgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
82f81ae5gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
bb590238gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9e74ca9agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9f1a64ffgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(4 spans)Captured Spans (6)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-llm-test",
"op": "test",
"parent_span_id": "bfbc036434d6bc02",
"span_id": "bc5c21f2462cfe3e",
"start_timestamp": 1779953617.942,
"timestamp": 1779953626.596,
"trace_id": "f15b0407d8b0431fb9950905b089b3df",
"origin": "manual"
},
{
"span_id": "bfbc036434d6bc02",
"trace_id": "f15b0407d8b0431fb9950905b089b3df",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953617.938,
"timestamp": 1779953626.598,
"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:47723/",
"url.port": "47723",
"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:47723",
"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": "82f81ae5d804a778",
"trace_id": "f15b0407d8b0431fb9950905b089b3df",
"parent_span_id": "bc5c21f2462cfe3e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953617.964,
"timestamp": 1779953619.545,
"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-DkPXGy5W2jBp6OEvjtnHVhSrFz1R1",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bb590238b4ded5cb",
"trace_id": "f15b0407d8b0431fb9950905b089b3df",
"parent_span_id": "bc5c21f2462cfe3e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953619.554,
"timestamp": 1779953622.188,
"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 check: start at 2 on a number line and move 2 more steps—you land on 4.\"]",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 360,
"gen_ai.usage.total_tokens": 384,
"gen_ai.response.id": "chatcmpl-DkPXHC9g08x8GITflbAWn2dbp6qOn",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9e74ca9adfa47375",
"trace_id": "f15b0407d8b0431fb9950905b089b3df",
"parent_span_id": "bc5c21f2462cfe3e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953622.189,
"timestamp": 1779953623.83,
"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 a bit more about Berlin or Germany?\"]",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 155,
"gen_ai.usage.total_tokens": 199,
"gen_ai.response.id": "chatcmpl-DkPXKhjcKYkP4wECmwO4MPReu6tak",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9f1a64ffb9e498d3",
"trace_id": "f15b0407d8b0431fb9950905b089b3df",
"parent_span_id": "bc5c21f2462cfe3e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953623.831,
"timestamp": 1779953626.596,
"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. You can think of it as two groups of three making six. Want to try a few more?\"]",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 357,
"gen_ai.usage.total_tokens": 407,
"gen_ai.response.id": "chatcmpl-DkPXMcEAtpeOCWCovkv3MgEyhu3lg",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]cloudflare/langchain :: Conversation ID LLM Test (blocking, anthropic) 1 1 18725ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
bab70467gen_ai.usage.input_tokensSpan bab70467: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
bab70467gen_ai.usage.output_tokensSpan bab70467: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
bb2cb0d0gen_ai.usage.input_tokensSpan bb2cb0d0: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
bb2cb0d0gen_ai.usage.output_tokensSpan bb2cb0d0: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
8a6ed717gen_ai.usage.input_tokensSpan 8a6ed717: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8a6ed717gen_ai.usage.output_tokensSpan 8a6ed717: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
903e871agen_ai.usage.input_tokensSpan 903e871a: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
903e871agen_ai.usage.output_tokensSpan 903e871a: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
bab70467gen_ai.usage.input_tokensinput_tokens must exist
bab70467gen_ai.usage.output_tokensoutput_tokens must exist
bab70467gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
bab70467gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
bb2cb0d0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8a6ed717gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
903e871agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (6)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-llm-test",
"op": "test",
"parent_span_id": "902c51b61c5ef59f",
"span_id": "a1773d9a742a7b73",
"start_timestamp": 1779953618.168,
"timestamp": 1779953618.76,
"trace_id": "5bf18241cef040e0b50935f70a0ad247",
"origin": "manual"
},
{
"span_id": "902c51b61c5ef59f",
"trace_id": "5bf18241cef040e0b50935f70a0ad247",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953618.166,
"timestamp": 1779953618.766,
"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:47724/",
"url.port": "47724",
"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:47724",
"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": "bab7046757a218d8",
"trace_id": "5bf18241cef040e0b50935f70a0ad247",
"parent_span_id": "a1773d9a742a7b73",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953618.174,
"timestamp": 1779953618.339,
"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": "bb2cb0d0c580fd60",
"trace_id": "5bf18241cef040e0b50935f70a0ad247",
"parent_span_id": "a1773d9a742a7b73",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953618.414,
"timestamp": 1779953618.53,
"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": "8a6ed717d8731758",
"trace_id": "5bf18241cef040e0b50935f70a0ad247",
"parent_span_id": "a1773d9a742a7b73",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953618.537,
"timestamp": 1779953618.647,
"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": "903e871afd95a73c",
"trace_id": "5bf18241cef040e0b50935f70a0ad247",
"parent_span_id": "a1773d9a742a7b73",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953618.651,
"timestamp": 1779953618.757,
"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) 18816ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
900e9f6dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
900e9f6dgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-llm-test",
"op": "test",
"parent_span_id": "81fddf62a0e33eac",
"span_id": "8ef01dcf955009d4",
"start_timestamp": 1779953619.001,
"timestamp": 1779953620.056,
"trace_id": "73c13c24fdf140549fcc2cb623d16f4f",
"origin": "manual"
},
{
"span_id": "81fddf62a0e33eac",
"trace_id": "73c13c24fdf140549fcc2cb623d16f4f",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953618.997,
"timestamp": 1779953620.058,
"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:47725/",
"url.port": "47725",
"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:47725",
"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": "900e9f6d7b5582e8",
"trace_id": "73c13c24fdf140549fcc2cb623d16f4f",
"parent_span_id": "8ef01dcf955009d4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953619.002,
"timestamp": 1779953620.046,
"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-DkPXHoDDHulZS2ql6bffS6Yb0U6q4",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 91,
"gen_ai.usage.total_tokens": 114,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "Paris. If you'd like more details about the city, I can share a few facts."
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Basic LLM Test (streaming, responses) 19543ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b6688b0agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b6688b0agen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-llm-test",
"op": "test",
"parent_span_id": "88e0dc363b6a50b4",
"span_id": "8d3beb0a1cbb4abb",
"start_timestamp": 1779953620.669,
"timestamp": 1779953623.219,
"trace_id": "463caeb1cb7846aea4e2fe85c1504b26",
"origin": "manual"
},
{
"span_id": "88e0dc363b6a50b4",
"trace_id": "463caeb1cb7846aea4e2fe85c1504b26",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953620.658,
"timestamp": 1779953623.222,
"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:47726/",
"url.port": "47726",
"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:47726",
"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": "b6688b0ae07308e1",
"trace_id": "463caeb1cb7846aea4e2fe85c1504b26",
"parent_span_id": "8d3beb0a1cbb4abb",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953620.676,
"timestamp": 1779953623.218,
"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_02b896f7a233b579006a17efd4e2888194965c46bfb7ddcb06",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 361,
"gen_ai.usage.total_tokens": 384,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Paris. Would you like a quick overview of the city?",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_02b896f7a233b579006a17efd52a14819485a8b691029254dd\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_02b896f7a233b579006a17efd6d83881948c700c56fa433871\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris. Would you like a quick overview of the city?\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Basic LLM Test (blocking, chat) 18365ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
a01d92e9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a01d92e9gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-llm-test",
"op": "test",
"parent_span_id": "a020029c4ae71f0c",
"span_id": "af508b0721413d76",
"start_timestamp": 1779953620.845,
"timestamp": 1779953622.176,
"trace_id": "685bd3cb3d7241958b5548593a8aad8c",
"origin": "manual"
},
{
"span_id": "a020029c4ae71f0c",
"trace_id": "685bd3cb3d7241958b5548593a8aad8c",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953620.841,
"timestamp": 1779953622.178,
"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:47727/",
"url.port": "47727",
"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:47727",
"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": "a01d92e9a8649749",
"trace_id": "685bd3cb3d7241958b5548593a8aad8c",
"parent_span_id": "af508b0721413d76",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953620.845,
"timestamp": 1779953622.175,
"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-DkPXJ9lAkZbLfiDfAbF55Cb8gRPxx",
"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
}
]cloudflare/openai :: Basic LLM Test (blocking, responses) 18395ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
bc49bf92gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bc49bf92gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "basic-llm-test",
"op": "test",
"parent_span_id": "ae0b30cc92bd48cb",
"span_id": "98b7ea0d12be80df",
"start_timestamp": 1779953620.976,
"timestamp": 1779953622.39,
"trace_id": "f19a0fb9e5bb45a5b0290047c8fb89c2",
"origin": "manual"
},
{
"span_id": "ae0b30cc92bd48cb",
"trace_id": "f19a0fb9e5bb45a5b0290047c8fb89c2",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953620.972,
"timestamp": 1779953622.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:47728/",
"url.port": "47728",
"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:47728",
"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": "bc49bf921d6e7391",
"trace_id": "f19a0fb9e5bb45a5b0290047c8fb89c2",
"parent_span_id": "98b7ea0d12be80df",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953620.977,
"timestamp": 1779953622.388,
"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_0749eb00921a7381006a17efd5127081979da624eb79684cc7",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 110,
"gen_ai.usage.total_tokens": 133,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Paris."
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Multi-Turn LLM Test (streaming, chat) 123259ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
a45fccf6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a45fccf6gen_ai.output.messagesMissing output messages attribute
997b6d01gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
997b6d01gen_ai.output.messagesMissing output messages attribute
858bfc01gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
858bfc01gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(3 spans)Captured Spans (5)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "multi-turn-llm-test",
"op": "test",
"parent_span_id": "a826acdc7b0b8ef9",
"span_id": "a26ab32100af173b",
"start_timestamp": 1779953622.111,
"timestamp": 1779953639.109,
"trace_id": "cd07369a1f30412dab145aae74f43320",
"origin": "manual"
},
{
"span_id": "a826acdc7b0b8ef9",
"trace_id": "cd07369a1f30412dab145aae74f43320",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953622.107,
"timestamp": 1779953639.114,
"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:47729/",
"url.port": "47729",
"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:47729",
"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": "a45fccf699e5df54",
"trace_id": "cd07369a1f30412dab145aae74f43320",
"parent_span_id": "a26ab32100af173b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953622.111,
"timestamp": 1779953623.739,
"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-DkPXKTwXmv6KZbntGiQ8K4IUI94zs",
"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": "997b6d01372f6e2b",
"trace_id": "cd07369a1f30412dab145aae74f43320",
"parent_span_id": "a26ab32100af173b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953623.745,
"timestamp": 1779953630.287,
"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-DkPXLVyPH7ei6B6wbGNWnaVAyz2Ch",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1322,
"gen_ai.usage.total_tokens": 1370,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "Paris, the city proper, has about 2.1 million residents (roughly 2.15–2.16 million in recent counts).\n\nIf you meant the wider Paris area:\n- Paris metropolitan area (the urban agglomeration) is about 12 million people.\n- Île-de-France region (greater Paris region) is around 12–13 million.\n\nWould you like the exact latest figure for a specific definition (city proper vs. metro area) and year?"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "858bfc015d8cc6b5",
"trace_id": "cd07369a1f30412dab145aae74f43320",
"parent_span_id": "a26ab32100af173b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953630.288,
"timestamp": 1779953639.109,
"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-DkPXSi1ly2djaqUoVeHVeIH9AQZ0c",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1665,
"gen_ai.usage.total_tokens": 1746,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "Definitions matter, but here are the common figures for the Paris metropolitan area:\n\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 million to 12.5 million people.\n- Métropole du Grand Paris (administrative/metropolitan government area, 131 communes): about 7 million people.\n\nThese numbers vary by year and by the exact definition used. If you tell me which definition you want (and a year), I can give a more precise figure."
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Multi-Turn LLM Test (streaming, responses) 117564ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
b8cdf936gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8cdf936gen_ai.output.messagesMissing output messages attribute
b7f818f6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7f818f6gen_ai.output.messagesMissing output messages attribute
9f89a712gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f89a712gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.tool_calls(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(3 spans)Captured Spans (5)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "multi-turn-llm-test",
"op": "test",
"parent_span_id": "b1989ff7543c9841",
"span_id": "ace1389af677e890",
"start_timestamp": 1779953622.382,
"timestamp": 1779953633.842,
"trace_id": "011bd772ae8b4a1c8b3bb9fe48671f5e",
"origin": "manual"
},
{
"span_id": "b1989ff7543c9841",
"trace_id": "011bd772ae8b4a1c8b3bb9fe48671f5e",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953622.377,
"timestamp": 1779953633.846,
"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:47730/",
"url.port": "47730",
"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:47730",
"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": "b8cdf936197beb10",
"trace_id": "011bd772ae8b4a1c8b3bb9fe48671f5e",
"parent_span_id": "ace1389af677e890",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953622.383,
"timestamp": 1779953623.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-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_02a59e5eaf35111f006a17efd67d648190951b8777b8c92d4c",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 129,
"gen_ai.usage.total_tokens": 152,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Paris.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_02a59e5eaf35111f006a17efd712a08190b0383fa774095145\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_02a59e5eaf35111f006a17efd79b18819094dae6b1e951e31a\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b7f818f60fa14b20",
"trace_id": "011bd772ae8b4a1c8b3bb9fe48671f5e",
"parent_span_id": "ace1389af677e890",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953623.84,
"timestamp": 1779953629.694,
"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_05b6f2245628712c006a17efd7e3908190a710f3019b222c0e",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 848,
"gen_ai.usage.total_tokens": 896,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Paris, France:\n\n- City proper (the commune): about 2.1 million people (roughly 2.14–2.16 million in recent years, per INSEE).\n- Metropolitan area (Île-de-France region): about 12 million people.\n\nIf you want the exact latest figures, tell me the year or source you prefer and I can look up the precise numbers.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_05b6f2245628712c006a17efd82dd88190ba7ab6da407c2d41\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_05b6f2245628712c006a17efdcfed48190945725efd6a43530\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris, France:\\n\\n- City proper (the commune): about 2.1 million people (roughly 2.14–2.16 million in recent years, per INSEE).\\n- Metropolitan area (Île-de-France region): about 12 million people.\\n\\nIf you want the exact latest figures, tell me the year or source you prefer and I can look up the precise numbers.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9f89a712b52c48f0",
"trace_id": "011bd772ae8b4a1c8b3bb9fe48671f5e",
"parent_span_id": "ace1389af677e890",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953629.694,
"timestamp": 1779953633.842,
"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_0cdad249ee0d6e9d006a17efddbf4481969fc5670c6f7408d1",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 828,
"gen_ai.usage.total_tokens": 909,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "If you mean the Paris metropolitan area (the Île-de-France region), it has roughly 12 million inhabitants (about 12.3–12.5 million in recent years). \n\nNotes:\n- City proper (Paris): ~2.2 million.\n- Paris urban area (aire urbaine) is a bit larger, around 12–13 million, depending on the exact definition and year.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0cdad249ee0d6e9d006a17efde02088196940803c12869fa89\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0cdad249ee0d6e9d006a17efe1317081968be90e326e699c87\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"If you mean the Paris metropolitan area (the Île-de-France region), it has roughly 12 million inhabitants (about 12.3–12.5 million in recent years). \\n\\nNotes:\\n- City proper (Paris): ~2.2 million.\\n- Paris urban area (aire urbaine) is a bit larger, around 12–13 million, depending on the exact definition and year.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Multi-Turn LLM Test (blocking, chat) 122933ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
bb5665e2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bb5665e2gen_ai.output.messagesMissing output messages attribute
93466c13gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
93466c13gen_ai.output.messagesMissing output messages attribute
80903b6bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
80903b6bgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (5)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "multi-turn-llm-test",
"op": "test",
"parent_span_id": "a3c15b7b7c572b21",
"span_id": "8aeb5481f2ae1ab5",
"start_timestamp": 1779953623.754,
"timestamp": 1779953641.281,
"trace_id": "65ff872980dd4958b5995f65514a14a6",
"origin": "manual"
},
{
"span_id": "a3c15b7b7c572b21",
"trace_id": "65ff872980dd4958b5995f65514a14a6",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953623.749,
"timestamp": 1779953641.282,
"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:47731/",
"url.port": "47731",
"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:47731",
"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": "bb5665e2ab4c91b6",
"trace_id": "65ff872980dd4958b5995f65514a14a6",
"parent_span_id": "8aeb5481f2ae1ab5",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953623.754,
"timestamp": 1779953624.822,
"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-DkPXLSgjQWNs1NzJyVyiGRSxhjbhX",
"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": "93466c13fcadf062",
"trace_id": "65ff872980dd4958b5995f65514a14a6",
"parent_span_id": "8aeb5481f2ae1ab5",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953624.827,
"timestamp": 1779953631.216,
"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-DkPXNgpESAqsqMy4xAYJujSgNSzhG",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1034,
"gen_ai.usage.total_tokens": 1082,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"- Paris city proper: about 2.1 million people.\\n- Paris metropolitan area (Île-de-France): about 12 million people.\\n\\nIf you want a precise figure for a specific year or for a different definition (e.g., the urban area vs. the metropolitan area), tell me and I’ll provide it.\"]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "80903b6b23c03bfc",
"trace_id": "65ff872980dd4958b5995f65514a14a6",
"parent_span_id": "8aeb5481f2ae1ab5",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953631.22,
"timestamp": 1779953641.28,
"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-DkPXTA7jmL20T9ZiweEnWoCxYbxuX",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 2042,
"gen_ai.usage.total_tokens": 2123,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"The Paris metropolitan area (the Paris urban area, or “aire urbaine”) has about 12 million inhabitants. Estimates vary by year and definition, typically ranging roughly from 11.8 to 12.5 million.\\n\\nFor comparison, the Île-de-France region (Greater Paris) has a similar order of magnitude, typically cited around 12.5–13 million in recent counts.\\n\\nIf you’d like a precise figure for a specific year or dataset (e.g., INSEE definitions), tell me which one you want and I’ll provide it.\"]"
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Multi-Turn LLM Test (blocking, responses) 128272ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
908f3d83gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
908f3d83gen_ai.output.messagesMissing output messages attribute
b0b9fd01gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0b9fd01gen_ai.output.messagesMissing output messages attribute
aad10deagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aad10deagen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (5)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "multi-turn-llm-test",
"op": "test",
"parent_span_id": "a3d57952cc302b7e",
"span_id": "b57bb7d94ed99e1c",
"start_timestamp": 1779953624.072,
"timestamp": 1779953647.019,
"trace_id": "44fbdc9627884dba833031f0f70eed31",
"origin": "manual"
},
{
"span_id": "a3d57952cc302b7e",
"trace_id": "44fbdc9627884dba833031f0f70eed31",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953624.069,
"timestamp": 1779953647.023,
"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:47733/",
"url.port": "47733",
"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:47733",
"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": "908f3d838c52fb37",
"trace_id": "44fbdc9627884dba833031f0f70eed31",
"parent_span_id": "b57bb7d94ed99e1c",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953624.072,
"timestamp": 1779953625.602,
"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_0ad48982099e3bf5006a17efd82bbc81949ed0491b04ff5aed",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 174,
"gen_ai.usage.total_tokens": 197,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Paris."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b0b9fd01a4a44cfb",
"trace_id": "44fbdc9627884dba833031f0f70eed31",
"parent_span_id": "b57bb7d94ed99e1c",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953625.603,
"timestamp": 1779953637.274,
"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_059d8d5cd8db954a006a17efd9ae30819686fedb8a14143b26",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1378,
"gen_ai.usage.total_tokens": 1426,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Paris (the city proper) has about 2.1 million residents.\n\nIf you mean the larger Paris area:\n- Paris metropolitan/urban area: roughly 12 million people.\n- Île-de-France region (Paris and surrounding departments): about 12.5–12.8 million.\n\nWould you like the exact figures for a specific year or source (e.g., INSEE)?"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "aad10deaa5f2cfad",
"trace_id": "44fbdc9627884dba833031f0f70eed31",
"parent_span_id": "b57bb7d94ed99e1c",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953637.274,
"timestamp": 1779953647.019,
"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_0d2001e9c258db7f006a17efe552bc8194a8c870aaec182e5d",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 2066,
"gen_ai.usage.total_tokens": 2147,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "It depends on which definition you use. Here are the main ones people cite for Paris:\n\n- Paris urban area (aire urbaine): about 12–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 entity of central suburbs around Paris): about 7 million.\n\nIf you tell me which definition you want (and a year), I can give a more precise figure."
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Vision LLM Test (streaming, chat) 16374ms
Critical
checkChatSpanAttributes
a0b2d376gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a0b2d376gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-llm-test",
"op": "test",
"parent_span_id": "9d543148bd23a169",
"span_id": "8a090275e2964469",
"start_timestamp": 1779953629.031,
"timestamp": 1779953629.582,
"trace_id": "a684a7575fce4b0799ca50b9a21e2483",
"origin": "manual"
},
{
"span_id": "9d543148bd23a169",
"trace_id": "a684a7575fce4b0799ca50b9a21e2483",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953629.027,
"timestamp": 1779953629.588,
"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:47738/",
"url.port": "47738",
"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:47738",
"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": "a0b2d376d8fd331d",
"trace_id": "a684a7575fce4b0799ca50b9a21e2483",
"parent_span_id": "8a090275e2964469",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953629.032,
"timestamp": 1779953629.581,
"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-DkPXRgN402f2wLMwucSosdWfR49oV",
"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) 17074ms
Critical
checkChatSpanAttributes
a0b71419gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a0b71419gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-llm-test",
"op": "test",
"parent_span_id": "b6488b4fe39dfb60",
"span_id": "b0693383aa54919b",
"start_timestamp": 1779953629.807,
"timestamp": 1779953630.719,
"trace_id": "b61fa99cef174d7799010a859f3f6b52",
"origin": "manual"
},
{
"span_id": "b6488b4fe39dfb60",
"trace_id": "b61fa99cef174d7799010a859f3f6b52",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953629.804,
"timestamp": 1779953630.721,
"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:47739/",
"url.port": "47739",
"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:47739",
"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": "a0b714192833abbe",
"trace_id": "b61fa99cef174d7799010a859f3f6b52",
"parent_span_id": "b0693383aa54919b",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953629.807,
"timestamp": 1779953630.71,
"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_01ae72328e167f44006a17efdde5088195ae5ce7efdf427c41",
"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_01ae72328e167f44006a17efde7b308195a74e150b5eca857c\",\"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) 16755ms
Critical
checkChatSpanAttributes
a00e60cbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a00e60cbgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-llm-test",
"op": "test",
"parent_span_id": "b5954ce901a82946",
"span_id": "b6bb613b37a8d88f",
"start_timestamp": 1779953631.518,
"timestamp": 1779953632.103,
"trace_id": "524e69f45e104720be1d11bf0bbc1c73",
"origin": "manual"
},
{
"span_id": "b5954ce901a82946",
"trace_id": "524e69f45e104720be1d11bf0bbc1c73",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953631.514,
"timestamp": 1779953632.105,
"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:47740/",
"url.port": "47740",
"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:47740",
"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": "a00e60cb25d8fd7a",
"trace_id": "524e69f45e104720be1d11bf0bbc1c73",
"parent_span_id": "b6bb613b37a8d88f",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953631.518,
"timestamp": 1779953632.095,
"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-DkPXTEmCdRO6N9A0yHa7KHHeWezoR",
"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) 110388ms
Critical
checkChatSpanAttributes
b92ba7fcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b92ba7fcgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "vision-llm-test",
"op": "test",
"parent_span_id": "a54a96aaf57af753",
"span_id": "a8d9c102199ea3cf",
"start_timestamp": 1779953631.525,
"timestamp": 1779953635.773,
"trace_id": "fbfeaeebcdf14a8abfd2e95075d6134c",
"origin": "manual"
},
{
"span_id": "a54a96aaf57af753",
"trace_id": "fbfeaeebcdf14a8abfd2e95075d6134c",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953631.521,
"timestamp": 1779953635.775,
"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:47741/",
"url.port": "47741",
"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:47741",
"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": "b92ba7fc30b8ffe0",
"trace_id": "fbfeaeebcdf14a8abfd2e95075d6134c",
"parent_span_id": "a8d9c102199ea3cf",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953631.526,
"timestamp": 1779953635.77,
"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_09a7abcb6785447e006a17efdfa1548194841603b0593320d0",
"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) 16846ms
Critical
checkChatSpanAttributes
931eca24gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
931eca24gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-llm-test",
"op": "test",
"parent_span_id": "bae5144fba0935af",
"span_id": "90456ead73ddce17",
"start_timestamp": 1779953632.563,
"timestamp": 1779953633.414,
"trace_id": "ec6c208720f741f0a95c84616b2fd3a9",
"origin": "manual"
},
{
"span_id": "bae5144fba0935af",
"trace_id": "ec6c208720f741f0a95c84616b2fd3a9",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953632.558,
"timestamp": 1779953633.416,
"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:47742/",
"url.port": "47742",
"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:47742",
"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": "931eca248dc68830",
"trace_id": "ec6c208720f741f0a95c84616b2fd3a9",
"parent_span_id": "90456ead73ddce17",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953632.564,
"timestamp": 1779953633.405,
"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-DkPXUhiexvOo8J1FrczIbNRWBHFKe",
"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": "[\"stop\"]",
"gen_ai.response.text": "This is a repetitive test message designed to produce a very long input."
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Long Input LLM Test (streaming, responses) 17134ms
Critical
checkChatSpanAttributes
abae9d9agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
abae9d9agen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-llm-test",
"op": "test",
"parent_span_id": "8af3816206954a8b",
"span_id": "94b9a384809c7a6c",
"start_timestamp": 1779953632.929,
"timestamp": 1779953633.976,
"trace_id": "3a235cede52944608cfe154d7334f2d8",
"origin": "manual"
},
{
"span_id": "8af3816206954a8b",
"trace_id": "3a235cede52944608cfe154d7334f2d8",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953632.925,
"timestamp": 1779953633.977,
"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:47743/",
"url.port": "47743",
"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:47743",
"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": "abae9d9a54890c5d",
"trace_id": "3a235cede52944608cfe154d7334f2d8",
"parent_span_id": "94b9a384809c7a6c",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953632.93,
"timestamp": 1779953633.975,
"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_0c39657a991f20a4006a17efe10e4c819783dbb5241102d003",
"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": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "The repeated test message is designed to create a lengthy input.",
"gen_ai.response.tool_calls": "[{\"id\":\"msg_0c39657a991f20a4006a17efe19b5c81978b4e09f020656c1e\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The repeated test message is designed to create a lengthy input.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Long Input LLM Test (blocking, chat) 16506ms
Critical
checkChatSpanAttributes
bdb36518gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bdb36518gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-llm-test",
"op": "test",
"parent_span_id": "850af2d0fabbb075",
"span_id": "be7f0088306d7558",
"start_timestamp": 1779953633.852,
"timestamp": 1779953634.726,
"trace_id": "7d35ee2b18cf4087b69fd9e4b902cea9",
"origin": "manual"
},
{
"span_id": "850af2d0fabbb075",
"trace_id": "7d35ee2b18cf4087b69fd9e4b902cea9",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953633.848,
"timestamp": 1779953634.728,
"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:47744/",
"url.port": "47744",
"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:47744",
"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": "bdb36518ff88e38c",
"trace_id": "7d35ee2b18cf4087b69fd9e4b902cea9",
"parent_span_id": "be7f0088306d7558",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953633.852,
"timestamp": 1779953634.725,
"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-DkPXWpHAvGlUge1g9bOSktX7qBcMU",
"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": "[\"stop\"]",
"gen_ai.response.text": "[\"This is a repetitive test message designed to create a very long input.\"]"
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Long Input LLM Test (blocking, responses) 17397ms
Critical
checkChatSpanAttributes
b268d2ddgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b268d2ddgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "long-input-llm-test",
"op": "test",
"parent_span_id": "a52885e3b3c5a761",
"span_id": "86fe1277db5691b7",
"start_timestamp": 1779953634.88,
"timestamp": 1779953636.99,
"trace_id": "40dd847f2206480da33a94ab9c45a4cd",
"origin": "manual"
},
{
"span_id": "a52885e3b3c5a761",
"trace_id": "40dd847f2206480da33a94ab9c45a4cd",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953634.877,
"timestamp": 1779953636.993,
"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:47745/",
"url.port": "47745",
"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:47745",
"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": "b268d2ddcdadecd0",
"trace_id": "40dd847f2206480da33a94ab9c45a4cd",
"parent_span_id": "86fe1277db5691b7",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953634.88,
"timestamp": 1779953636.987,
"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_065e7b3b40c67616006a17efe2fe508193a125431f03d53b9e",
"gen_ai.response.model": "gpt-4o-mini-2024-07-18",
"gen_ai.usage.input_tokens": 5429,
"gen_ai.usage.output_tokens": 19,
"gen_ai.usage.total_tokens": 5448,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "This repeated test message is designed to create a very long input by being reiterated multiple times."
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Conversation ID LLM Test (streaming, chat) 112675ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
8fb9c3a6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8fb9c3a6gen_ai.output.messagesMissing output messages attribute
9142d5c1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9142d5c1gen_ai.output.messagesMissing output messages attribute
8d88dfc6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8d88dfc6gen_ai.output.messagesMissing output messages attribute
a83f60b2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a83f60b2gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(4 spans)Captured Spans (6)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-llm-test",
"op": "test",
"parent_span_id": "a56858813d8fe5ae",
"span_id": "85aca7c40e0957b9",
"start_timestamp": 1779953635.819,
"timestamp": 1779953643.435,
"trace_id": "4506e4db46444a2cbcfae2956d5ae2fc",
"origin": "manual"
},
{
"span_id": "a56858813d8fe5ae",
"trace_id": "4506e4db46444a2cbcfae2956d5ae2fc",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953635.814,
"timestamp": 1779953643.437,
"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:47746/",
"url.port": "47746",
"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:47746",
"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": "8fb9c3a67d6f1b51",
"trace_id": "4506e4db46444a2cbcfae2956d5ae2fc",
"parent_span_id": "85aca7c40e0957b9",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953635.82,
"timestamp": 1779953637.216,
"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-DkPXYHDtzwHDtGapjm33oKtD3SQaV",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 214,
"gen_ai.usage.total_tokens": 237,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "Paris. Would you like a few quick facts about the city?"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9142d5c168e202f4",
"trace_id": "4506e4db46444a2cbcfae2956d5ae2fc",
"parent_span_id": "85aca7c40e0957b9",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953637.218,
"timestamp": 1779953639.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-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-DkPXZFP5YT2tUmuj9rXQLrA31Viu1",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 381,
"gen_ai.usage.total_tokens": 405,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "4\n\nReason: In standard arithmetic, 2 plus 2 equals 4. For example, two apples plus two apples makes four apples. (You can also see this on a number line by starting at 2 and moving two steps to 4.)"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8d88dfc6dfc29b5d",
"trace_id": "4506e4db46444a2cbcfae2956d5ae2fc",
"parent_span_id": "85aca7c40e0957b9",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953639.475,
"timestamp": 1779953640.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.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-DkPXbh7LQ4I7tcoRHb7iS98TDhpKQ",
"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": "a83f60b2269c9399",
"trace_id": "4506e4db46444a2cbcfae2956d5ae2fc",
"parent_span_id": "85aca7c40e0957b9",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953640.985,
"timestamp": 1779953643.435,
"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-DkPXdRweJQA5IC3zRyHZlVTAF7jE2",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 371,
"gen_ai.usage.total_tokens": 421,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "3 + 3 = 6.\n\nIf you like, think of it as two groups of three: 3 apples plus 3 apples equals 6 apples. Want a few more quick ones to practice?"
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Conversation ID LLM Test (streaming, responses) 112190ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
bac211c3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bac211c3gen_ai.output.messagesMissing output messages attribute
9d56c3fbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d56c3fbgen_ai.output.messagesMissing output messages attribute
90cdc662gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
90cdc662gen_ai.output.messagesMissing output messages attribute
b9601565gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b9601565gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(4 spans)Captured Spans (6)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-llm-test",
"op": "test",
"parent_span_id": "bf55871c93418341",
"span_id": "84f58ef6d6f417ad",
"start_timestamp": 1779953637.065,
"timestamp": 1779953644.289,
"trace_id": "1ad66c915232490496fedb473117d9cf",
"origin": "manual"
},
{
"span_id": "bf55871c93418341",
"trace_id": "1ad66c915232490496fedb473117d9cf",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953637.062,
"timestamp": 1779953644.29,
"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:47747/",
"url.port": "47747",
"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:47747",
"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": "bac211c36e461316",
"trace_id": "1ad66c915232490496fedb473117d9cf",
"parent_span_id": "84f58ef6d6f417ad",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953637.066,
"timestamp": 1779953638.067,
"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_0b52d3f894795532006a17efe52c1881908da0ae5b2b601881",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 94,
"gen_ai.usage.total_tokens": 117,
"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_0b52d3f894795532006a17efe570448190b170d0950d67d465\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0b52d3f894795532006a17efe5cf8881908c7dde1b4bd28f0c\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The capital of France is Paris.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9d56c3fb712210ca",
"trace_id": "1ad66c915232490496fedb473117d9cf",
"parent_span_id": "84f58ef6d6f417ad",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953638.068,
"timestamp": 1779953640.696,
"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_06de2c89561b97de006a17efe61e348195864f1ec0f0c79264",
"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.total_tokens": 347,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "4. In base-10 arithmetic, 2 + 2 = 4. You can think of it as two objects plus two objects equals four objects. Want a few quick practice problems?",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_06de2c89561b97de006a17efe67e088195a921588d211d1fd3\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_06de2c89561b97de006a17efe7f7708195b4e6663018a7a9b7\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"4. In base-10 arithmetic, 2 + 2 = 4. You can think of it as two objects plus two objects equals four objects. Want a few quick practice problems?\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "90cdc662d9331152",
"trace_id": "1ad66c915232490496fedb473117d9cf",
"parent_span_id": "84f58ef6d6f417ad",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953640.696,
"timestamp": 1779953642.682,
"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_062328e867bcc01e006a17efe8bdb08193980b00de74168699",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 298,
"gen_ai.usage.total_tokens": 342,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "The capital of Germany is Berlin. Would you like more details about Germany?",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_062328e867bcc01e006a17efe8fec88193b2f3f38245857082\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_062328e867bcc01e006a17efea53908193b23e3e52d548388f\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The capital of Germany is Berlin. Would you like more details about Germany?\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b9601565e65ae095",
"trace_id": "1ad66c915232490496fedb473117d9cf",
"parent_span_id": "84f58ef6d6f417ad",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953642.682,
"timestamp": 1779953644.288,
"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_0ea42b5f8dd26fad006a17efeaba44819786b3d37e0910f117",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 235,
"gen_ai.usage.total_tokens": 285,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "6. (Two groups of three make six.) If you want, I can show quick mental-math tricks for this kind of addition.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0ea42b5f8dd26fad006a17efeae88c819797fc35dea57fd39c\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0ea42b5f8dd26fad006a17efebe6f88197bd16e9ddf969dc43\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"6. (Two groups of three make six.) If you want, I can show quick mental-math tricks for this kind of addition.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Conversation ID LLM Test (blocking, chat) 113932ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
bfb61f7dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bfb61f7dgen_ai.output.messagesMissing output messages attribute
946fcce5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
946fcce5gen_ai.output.messagesMissing output messages attribute
902b9991gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
902b9991gen_ai.output.messagesMissing output messages attribute
99c67c78gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
99c67c78gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (6)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-llm-test",
"op": "test",
"parent_span_id": "8b8d022ad6d00acf",
"span_id": "ae1ed7ed220ea27b",
"start_timestamp": 1779953639.261,
"timestamp": 1779953647.336,
"trace_id": "3ca425e4cbdb4dfb91158df645032f06",
"origin": "manual"
},
{
"span_id": "8b8d022ad6d00acf",
"trace_id": "3ca425e4cbdb4dfb91158df645032f06",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953639.259,
"timestamp": 1779953647.347,
"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:47748/",
"url.port": "47748",
"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:47748",
"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": "bfb61f7d4aed69b1",
"trace_id": "3ca425e4cbdb4dfb91158df645032f06",
"parent_span_id": "ae1ed7ed220ea27b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953639.262,
"timestamp": 1779953641.236,
"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-DkPXbXMYKDArSX1qEUNn9UMMSc93h",
"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": "946fcce5ab25c3f5",
"trace_id": "3ca425e4cbdb4dfb91158df645032f06",
"parent_span_id": "ae1ed7ed220ea27b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953641.237,
"timestamp": 1779953643.221,
"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-DkPXdmqUWgvaGnrpCMExoyHrr6mZW",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 234,
"gen_ai.usage.total_tokens": 258,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"4\\n\\n2 + 2 equals 4. If you’d like a quick visual or a quick explanation, I can show it with objects or a number line.\"]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "902b999164ed0ece",
"trace_id": "3ca425e4cbdb4dfb91158df645032f06",
"parent_span_id": "ae1ed7ed220ea27b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953643.222,
"timestamp": 1779953644.814,
"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-DkPXfaOzC1G2OeNI1QRgN24qCsZ68",
"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 Germany, I can share a bit more.\"]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "99c67c7862221b6e",
"trace_id": "3ca425e4cbdb4dfb91158df645032f06",
"parent_span_id": "ae1ed7ed220ea27b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953644.814,
"timestamp": 1779953647.336,
"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-DkPXh5v63NpbSjfi6xvNLNqIEg3gB",
"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": "[\"stop\"]",
"gen_ai.response.text": "[\"3 + 3 = 6.\\n\\nYou can think of it as two groups of three: 3, 4, 5, 6. Want to try a few more?\"]"
},
"status": "ok",
"is_segment": false
}
]cloudflare/openai :: Conversation ID LLM Test (blocking, responses) 113711ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
a029f429gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a029f429gen_ai.output.messagesMissing output messages attribute
ab5903f1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ab5903f1gen_ai.output.messagesMissing output messages attribute
9bcf825egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9bcf825egen_ai.output.messagesMissing output messages attribute
94c51bddgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94c51bddgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (6)
[
{
"data": {
"sentry.origin": "manual",
"sentry.op": "test"
},
"description": "conversation-id-llm-test",
"op": "test",
"parent_span_id": "b522775e22533e7a",
"span_id": "91b2ddf185df7c68",
"start_timestamp": 1779953639.338,
"timestamp": 1779953647.207,
"trace_id": "81dd686889f84f2f93c3ccf72ff22640",
"origin": "manual"
},
{
"span_id": "b522775e22533e7a",
"trace_id": "81dd686889f84f2f93c3ccf72ff22640",
"op": "http.server",
"description": "GET /",
"start_timestamp": 1779953639.333,
"timestamp": 1779953647.217,
"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:47749/",
"url.port": "47749",
"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:47749",
"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": "a029f429dbe09480",
"trace_id": "81dd686889f84f2f93c3ccf72ff22640",
"parent_span_id": "91b2ddf185df7c68",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953639.339,
"timestamp": 1779953641.418,
"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_0a6996c9940bf136006a17efe76e548195b1e7da74df070dec",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 324,
"gen_ai.usage.total_tokens": 347,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Paris is the capital of France."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ab5903f176bdbb46",
"trace_id": "81dd686889f84f2f93c3ccf72ff22640",
"parent_span_id": "91b2ddf185df7c68",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953641.42,
"timestamp": 1779953643.839,
"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_037458a8deeb5df5006a17efe9777c8190a8996e673b6d71dc",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 353,
"gen_ai.usage.total_tokens": 377,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "4. Explanation: adding two and two gives four — for example, two apples plus two apples makes four apples. Want to try a few more addition problems?"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9bcf825e7c2987f4",
"trace_id": "81dd686889f84f2f93c3ccf72ff22640",
"parent_span_id": "91b2ddf185df7c68",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953643.839,
"timestamp": 1779953645.053,
"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_0522f35b3ece4d24006a17efebe2c881969f05b028a2c16a6e",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 143,
"gen_ai.usage.total_tokens": 187,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Berlin."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "94c51bdd5de9ee61",
"trace_id": "81dd686889f84f2f93c3ccf72ff22640",
"parent_span_id": "91b2ddf185df7c68",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953645.054,
"timestamp": 1779953647.206,
"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_037fdd4e8f273a89006a17efed19e08195a4bc6468fe232550",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 309,
"gen_ai.usage.total_tokens": 359,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "3 + 3 = 6.\n\nYou can think of it as two groups of three objects, or move three steps twice on a number line to reach 6."
},
"status": "ok",
"is_segment": false
}
]nextjs/anthropic :: Basic LLM Test (streaming) 11987ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b43572f1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b43572f1gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "857b406e06191b0e",
"trace_id": "881144e33de8f4c428fae13a58b8e49b",
"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": "b43572f1b6531fe8",
"start_timestamp": 1779953638.125,
"timestamp": 1779953638.7278662,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "2e0987bad7f3ec93",
"trace_id": "881144e33de8f4c428fae13a58b8e49b",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953638.101,
"timestamp": 1779953638.7493498,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "b43572f1b6531fe8",
"trace_id": "881144e33de8f4c428fae13a58b8e49b",
"parent_span_id": "2e0987bad7f3ec93",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953638.105,
"timestamp": 1779953638.7465367,
"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_01FCvzwByYF3dwmKjiGNEqXt",
"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) 11937ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
0daedab9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0daedab9gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "f71fb711a92ca8de",
"trace_id": "45a235640f7b6c2710dc3eb460b3d4fe",
"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": "0daedab94ec07e65",
"start_timestamp": 1779953638.124,
"timestamp": 1779953638.8426251,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "ae8b3d8859494aff",
"trace_id": "45a235640f7b6c2710dc3eb460b3d4fe",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953638.101,
"timestamp": 1779953638.8594773,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "0daedab94ec07e65",
"trace_id": "45a235640f7b6c2710dc3eb460b3d4fe",
"parent_span_id": "ae8b3d8859494aff",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953638.104,
"timestamp": 1779953638.8586082,
"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_01FQWaMJpHFExfpvUrpUcjbS",
"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
}
]nextjs/anthropic :: Multi-Turn LLM Test (streaming) 14047ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
34eddae6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
34eddae6gen_ai.output.messagesMissing output messages attribute
aef61d4egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aef61d4egen_ai.output.messagesMissing output messages attribute
95ace90bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
95ace90bgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"span_id": "f0caaec3ee5cc79d",
"trace_id": "1d408dc8eb82b58267b35522676f7bd6",
"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": "34eddae64178fa3c",
"start_timestamp": 1779953638.947,
"timestamp": 1779953639.6824288,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "92bb13c9f19674ae",
"trace_id": "1d408dc8eb82b58267b35522676f7bd6",
"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": "aef61d4e42556f08",
"start_timestamp": 1779953639.69,
"timestamp": 1779953641.0845182,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "78acf166f825f1f1",
"trace_id": "1d408dc8eb82b58267b35522676f7bd6",
"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": "95ace90bb3cad3ab",
"start_timestamp": 1779953641.086,
"timestamp": 1779953641.7786038,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "cea9d89a37e4249b",
"trace_id": "1d408dc8eb82b58267b35522676f7bd6",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953638.916,
"timestamp": 1779953641.7793682,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "34eddae64178fa3c",
"trace_id": "1d408dc8eb82b58267b35522676f7bd6",
"parent_span_id": "cea9d89a37e4249b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953638.92,
"timestamp": 1779953639.6863694,
"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_018KvTAB8UQWVWYXWJdWyDcm",
"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": "aef61d4e42556f08",
"trace_id": "1d408dc8eb82b58267b35522676f7bd6",
"parent_span_id": "cea9d89a37e4249b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953639.688,
"timestamp": 1779953641.085428,
"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_01LiU4wHvTN5CbwKvNsfm2bw",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 41,
"gen_ai.usage.output_tokens": 87,
"gen_ai.usage.total_tokens": 128,
"gen_ai.response.text": "Paris has a population of approximately 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 depending on the source and how city boundaries are defined, but these are the current approximate numbers."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "95ace90bb3cad3ab",
"trace_id": "1d408dc8eb82b58267b35522676f7bd6",
"parent_span_id": "cea9d89a37e4249b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953641.085,
"timestamp": 1779953641.7790976,
"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_019V1rDgfWAp5h42MBUiUdBL",
"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) 15151ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
6080e7c3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
6080e7c3gen_ai.output.messagesMissing output messages attribute
1b8ff350gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
1b8ff350gen_ai.output.messagesMissing output messages attribute
5df3e97cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5df3e97cgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"span_id": "e6354a60c59baeb5",
"trace_id": "426bef34e0a035401b20a1735de1174c",
"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": "6080e7c3af41097b",
"start_timestamp": 1779953639.831,
"timestamp": 1779953640.6036425,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "bfa9b2605f50f621",
"trace_id": "426bef34e0a035401b20a1735de1174c",
"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": "1b8ff3507fadd58b",
"start_timestamp": 1779953640.61,
"timestamp": 1779953641.9386642,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "23a0262cfa2b86e5",
"trace_id": "426bef34e0a035401b20a1735de1174c",
"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": "5df3e97c9eccade5",
"start_timestamp": 1779953641.941,
"timestamp": 1779953643.9350157,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "da9d1fbc02bd87a3",
"trace_id": "426bef34e0a035401b20a1735de1174c",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953639.797,
"timestamp": 1779953643.9358711,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "6080e7c3af41097b",
"trace_id": "426bef34e0a035401b20a1735de1174c",
"parent_span_id": "da9d1fbc02bd87a3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953639.8,
"timestamp": 1779953640.6071188,
"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 by population.",
"gen_ai.response.id": "msg_0126T1o5nzHmpX1FCZaxbM3F",
"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
},
"status": "ok",
"is_segment": false
},
{
"span_id": "1b8ff3507fadd58b",
"trace_id": "426bef34e0a035401b20a1735de1174c",
"parent_span_id": "da9d1fbc02bd87a3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953640.608,
"timestamp": 1779953641.9394748,
"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), the population is much larger at around 12 million people, making it one of the largest metropolitan areas in Europe.",
"gen_ai.response.id": "msg_018KsvGNfUBFepccmuYWKPtY",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 41,
"gen_ai.usage.output_tokens": 63,
"gen_ai.usage.total_tokens": 104
},
"status": "ok",
"is_segment": false
},
{
"span_id": "5df3e97c9eccade5",
"trace_id": "426bef34e0a035401b20a1735de1174c",
"parent_span_id": "da9d1fbc02bd87a3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953641.94,
"timestamp": 1779953643.9354372,
"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_01RRNnEpEhwHCxt4L3qYUEZu",
"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) 11854ms
Critical
checkChatSpanAttributes
7b507320gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7b507320gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "0c77efc6c6484c64",
"trace_id": "7c636f9fcdb73d2f1e7e055f5658050b",
"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": "7b5073201748ac7f",
"start_timestamp": 1779953640.941,
"timestamp": 1779953641.840753,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "95f37b1a26448069",
"trace_id": "7c636f9fcdb73d2f1e7e055f5658050b",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953640.924,
"timestamp": 1779953641.8440838,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "7b5073201748ac7f",
"trace_id": "7c636f9fcdb73d2f1e7e055f5658050b",
"parent_span_id": "95f37b1a26448069",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953640.926,
"timestamp": 1779953641.8434663,
"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_016UMXXRbGu6iyov4NWVjn8K",
"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) 11781ms
Critical
checkChatSpanAttributes
910cce6agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
910cce6agen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "9e591ee7fb56acf8",
"trace_id": "168a1500b8a5a7de2958c70e15402309",
"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": "910cce6af4cc2ffe",
"start_timestamp": 1779953641.024,
"timestamp": 1779953641.83129,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "d7dae8b8410fe127",
"trace_id": "168a1500b8a5a7de2958c70e15402309",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953641.008,
"timestamp": 1779953641.8343825,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "910cce6af4cc2ffe",
"trace_id": "168a1500b8a5a7de2958c70e15402309",
"parent_span_id": "d7dae8b8410fe127",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953641.01,
"timestamp": 1779953641.83412,
"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_012DQ3jhHgHpR8WEGkLvtqvx",
"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) 11654ms
Critical
checkChatSpanAttributes
91ca76degen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
91ca76degen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "4d759387edefa98b",
"trace_id": "01de49339a45b4c09826b8074700de8a",
"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": "91ca76deebca80f2",
"start_timestamp": 1779953641.059,
"timestamp": 1779953641.7595897,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "63fcfd66fbb9b8a9",
"trace_id": "01de49339a45b4c09826b8074700de8a",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953641.043,
"timestamp": 1779953641.7624805,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "91ca76deebca80f2",
"trace_id": "01de49339a45b4c09826b8074700de8a",
"parent_span_id": "63fcfd66fbb9b8a9",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953641.045,
"timestamp": 1779953641.7619214,
"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_01R9VgAViP8iLuVfrCh9bCnq",
"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,
"gen_ai.response.text": "This is a test message repeated many times to create a lengthy input."
},
"status": "ok",
"is_segment": false
}
]nextjs/anthropic :: Long Input LLM Test (blocking) 11877ms
Critical
checkChatSpanAttributes
28187206gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
28187206gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "16d1af36d2000e83",
"trace_id": "d5f9df0cf1e4e1b1dd9141f33651f434",
"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": "2818720608fe60c2",
"start_timestamp": 1779953642.824,
"timestamp": 1779953643.635927,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "af730e44fca57eea",
"trace_id": "d5f9df0cf1e4e1b1dd9141f33651f434",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953642.8,
"timestamp": 1779953643.6388683,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "2818720608fe60c2",
"trace_id": "d5f9df0cf1e4e1b1dd9141f33651f434",
"parent_span_id": "af730e44fca57eea",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953642.803,
"timestamp": 1779953643.6385708,
"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 is repeated many times to create a lengthy input.",
"gen_ai.response.id": "msg_01Dc2ZUFiQtFV8R8DfMVomfn",
"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
},
"status": "ok",
"is_segment": false
}
]nextjs/anthropic :: Conversation ID LLM Test (streaming) 14843ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
dbb3b2d0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
dbb3b2d0gen_ai.output.messagesMissing output messages attribute
49224622gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
49224622gen_ai.output.messagesMissing output messages attribute
7bf0b004gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7bf0b004gen_ai.output.messagesMissing output messages attribute
89b953a7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
89b953a7gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "126fcfa191dc7d98",
"trace_id": "16ca164bf86650aeece50a04bbed695e",
"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": "dbb3b2d08d5de09c",
"start_timestamp": 1779953642.886,
"timestamp": 1779953643.6201477,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "511e09c97e95e4e4",
"trace_id": "16ca164bf86650aeece50a04bbed695e",
"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": "49224622e8247c1d",
"start_timestamp": 1779953643.625,
"timestamp": 1779953644.4497628,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "aaed64fb80157e11",
"trace_id": "16ca164bf86650aeece50a04bbed695e",
"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": "7bf0b004f55f91b1",
"start_timestamp": 1779953644.457,
"timestamp": 1779953644.9348378,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "8d10cd454f7754a5",
"trace_id": "16ca164bf86650aeece50a04bbed695e",
"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": "89b953a7e487523d",
"start_timestamp": 1779953644.938,
"timestamp": 1779953646.614114,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "8af88c4fb9e08614",
"trace_id": "16ca164bf86650aeece50a04bbed695e",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953642.861,
"timestamp": 1779953646.615566,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "dbb3b2d08d5de09c",
"trace_id": "16ca164bf86650aeece50a04bbed695e",
"parent_span_id": "8af88c4fb9e08614",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953642.864,
"timestamp": 1779953643.6222658,
"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_01NSM5DH1NDCZLrp5pfNGncP",
"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": "49224622e8247c1d",
"trace_id": "16ca164bf86650aeece50a04bbed695e",
"parent_span_id": "8af88c4fb9e08614",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953643.623,
"timestamp": 1779953644.4536233,
"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_01NZXUzMQ3wXUdp5kNf4F4L2",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 50,
"gen_ai.usage.total_tokens": 73,
"gen_ai.response.text": "2 + 2 = **4**\n\nThis is a basic addition problem. When you add 2 and 2 together, you get 4.\n\nIs there anything else you'd like help with?"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "7bf0b004f55f91b1",
"trace_id": "16ca164bf86650aeece50a04bbed695e",
"parent_span_id": "8af88c4fb9e08614",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953644.455,
"timestamp": 1779953644.9361157,
"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_014X47WxNgGCYVY2GoRCCe99",
"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": "89b953a7e487523d",
"trace_id": "16ca164bf86650aeece50a04bbed695e",
"parent_span_id": "8af88c4fb9e08614",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953644.937,
"timestamp": 1779953646.615145,
"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_015x9WsSdRjnCXPE3LaeKzHX",
"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) 14270ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
22c594bbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
22c594bbgen_ai.output.messagesMissing output messages attribute
166466b1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
166466b1gen_ai.output.messagesMissing output messages attribute
12465092gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
12465092gen_ai.output.messagesMissing output messages attribute
a26ecc6bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a26ecc6bgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "dd94bef2a25ebc42",
"trace_id": "3b6799f0002c2acf7d45828c53c61a5d",
"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": "22c594bbfa7cf263",
"start_timestamp": 1779953642.941,
"timestamp": 1779953643.6421702,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "f11fe17d0506aefe",
"trace_id": "3b6799f0002c2acf7d45828c53c61a5d",
"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": "166466b1c4bd0105",
"start_timestamp": 1779953643.646,
"timestamp": 1779953644.92545,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "bc665865d3cfe948",
"trace_id": "3b6799f0002c2acf7d45828c53c61a5d",
"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": "1246509245144567",
"start_timestamp": 1779953644.929,
"timestamp": 1779953645.4225357,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "63f434e086969100",
"trace_id": "3b6799f0002c2acf7d45828c53c61a5d",
"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": "a26ecc6b76ae41ab",
"start_timestamp": 1779953645.425,
"timestamp": 1779953646.1033978,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "9faa374b5cda2a34",
"trace_id": "3b6799f0002c2acf7d45828c53c61a5d",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953642.916,
"timestamp": 1779953646.1033711,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "22c594bbfa7cf263",
"trace_id": "3b6799f0002c2acf7d45828c53c61a5d",
"parent_span_id": "9faa374b5cda2a34",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953642.92,
"timestamp": 1779953643.6449502,
"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.",
"gen_ai.response.id": "msg_019scDFGW5H8DLSG58azGVT7",
"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": "166466b1c4bd0105",
"trace_id": "3b6799f0002c2acf7d45828c53c61a5d",
"parent_span_id": "9faa374b5cda2a34",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953643.645,
"timestamp": 1779953644.9268959,
"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 basic addition facts! 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.response.id": "msg_01BR9SPYZJL9vTe49ZM4BCDp",
"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": "1246509245144567",
"trace_id": "3b6799f0002c2acf7d45828c53c61a5d",
"parent_span_id": "9faa374b5cda2a34",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953644.928,
"timestamp": 1779953645.423476,
"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_012geQG5pNvfdDUneFkzzYuQ",
"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": "a26ecc6b76ae41ab",
"trace_id": "3b6799f0002c2acf7d45828c53c61a5d",
"parent_span_id": "9faa374b5cda2a34",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953645.424,
"timestamp": 1779953646.1036978,
"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_014o7kxfkjyMfcEHNYyXMDyr",
"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) 12027ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
6ca7cbfcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
6ca7cbfcgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "9ee371993ae28097",
"trace_id": "6f25f26f6f4b36fbbcfe3d7993fb9480",
"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.108.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": "6ca7cbfcbdd5b0c7",
"start_timestamp": 1779953643.203,
"timestamp": 1779953643.864113,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "250f22fa7daf1898",
"trace_id": "6f25f26f6f4b36fbbcfe3d7993fb9480",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953643.178,
"timestamp": 1779953643.8658662,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "6ca7cbfcbdd5b0c7",
"trace_id": "6f25f26f6f4b36fbbcfe3d7993fb9480",
"parent_span_id": "250f22fa7daf1898",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953643.181,
"timestamp": 1779953643.8665733,
"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": "6-8Xaqq6FsOt1MkP2oqsmA0",
"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) 11604ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
a48d717cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a48d717cgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "2a92586d063dd931",
"trace_id": "3166b795e065c7f003570da4f1276824",
"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.108.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": "a48d717ca8260fe8",
"start_timestamp": 1779953643.203,
"timestamp": 1779953643.6970153,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "d2d92c942926e836",
"trace_id": "3166b795e065c7f003570da4f1276824",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953643.178,
"timestamp": 1779953643.7016356,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "a48d717ca8260fe8",
"trace_id": "3166b795e065c7f003570da4f1276824",
"parent_span_id": "d2d92c942926e836",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953643.181,
"timestamp": 1779953643.7020507,
"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
}
]nextjs/google-genai :: Multi-Turn LLM Test (streaming) 12655ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
9f9042c7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f9042c7gen_ai.output.messagesMissing output messages attribute
dfc9bf4agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
dfc9bf4agen_ai.output.messagesMissing output messages attribute
1b9de456gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
1b9de456gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"span_id": "1e8274b9646811f8",
"trace_id": "ac179a87b9d0aa71fb0f87dd7c9ca27c",
"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.108.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": "9f9042c7c4ce12fe",
"start_timestamp": 1779953644.624,
"timestamp": 1779953645.031028,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "2821c55018bfb857",
"trace_id": "ac179a87b9d0aa71fb0f87dd7c9ca27c",
"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.142.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": "dfc9bf4a9b7a4441",
"start_timestamp": 1779953645.037,
"timestamp": 1779953645.8066976,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "03d4a2dbfa9e6ab2",
"trace_id": "ac179a87b9d0aa71fb0f87dd7c9ca27c",
"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.108.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": "1b9de456ce39fd9a",
"start_timestamp": 1779953645.809,
"timestamp": 1779953646.2770283,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "c2ff3b602d752c9c",
"trace_id": "ac179a87b9d0aa71fb0f87dd7c9ca27c",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953644.586,
"timestamp": 1779953646.2776752,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "9f9042c7c4ce12fe",
"trace_id": "ac179a87b9d0aa71fb0f87dd7c9ca27c",
"parent_span_id": "c2ff3b602d752c9c",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953644.589,
"timestamp": 1779953645.0341156,
"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": "7O8XauWtLojG1MkPn_nCmQ8",
"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": "dfc9bf4a9b7a4441",
"trace_id": "ac179a87b9d0aa71fb0f87dd7c9ca27c",
"parent_span_id": "c2ff3b602d752c9c",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953645.035,
"timestamp": 1779953645.8065658,
"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": "7e8XavOvEYGdjMcPo8-F4AE",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"gen_ai.usage.input_tokens": 32,
"gen_ai.usage.output_tokens": 62,
"gen_ai.usage.total_tokens": 94,
"gen_ai.response.finish_reasons": "[\"STOP\"]",
"gen_ai.response.text": "The population of Paris is approximately **2.1 million** within the city limits (also known as \"intra-muros\").\n\nHowever, if you consider the **greater Paris metropolitan area** (which includes the suburbs), the population is much larger, estimated to be around **11 million** people."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "1b9de456ce39fd9a",
"trace_id": "ac179a87b9d0aa71fb0f87dd7c9ca27c",
"parent_span_id": "c2ff3b602d752c9c",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953645.807,
"timestamp": 1779953646.2770352,
"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": "7e8Xat60NsOt1MkP2oqsmA0",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"gen_ai.usage.input_tokens": 57,
"gen_ai.usage.output_tokens": 44,
"gen_ai.usage.total_tokens": 101,
"gen_ai.response.finish_reasons": "[\"STOP\"]",
"gen_ai.response.text": "The metropolitan area of Paris, also known as the Île-de-France region, has a much larger population. It's estimated to be around **12.2 million people** as of recent data."
},
"status": "ok",
"is_segment": false
}
]nextjs/google-genai :: Multi-Turn LLM Test (blocking) 12929ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
22cd9c5dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
22cd9c5dgen_ai.output.messagesMissing output messages attribute
a21981e3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a21981e3gen_ai.output.messagesMissing output messages attribute
029d7355gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
029d7355gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"span_id": "53dd2784006cceb0",
"trace_id": "7924d824d96e7858581f91f00553e308",
"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.108.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": "22cd9c5d9a034999",
"start_timestamp": 1779953644.766,
"timestamp": 1779953645.2124622,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "1169e638b956d35a",
"trace_id": "7924d824d96e7858581f91f00553e308",
"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.108.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": "a21981e308360354",
"start_timestamp": 1779953645.217,
"timestamp": 1779953645.965803,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "eeb4bddb3f8bb9c1",
"trace_id": "7924d824d96e7858581f91f00553e308",
"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.108.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": "029d735532f96712",
"start_timestamp": 1779953645.969,
"timestamp": 1779953646.6399245,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "e75c421c8c1902e4",
"trace_id": "7924d824d96e7858581f91f00553e308",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953644.728,
"timestamp": 1779953646.6411433,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "22cd9c5d9a034999",
"trace_id": "7924d824d96e7858581f91f00553e308",
"parent_span_id": "e75c421c8c1902e4",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953644.731,
"timestamp": 1779953645.2151265,
"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": "a21981e308360354",
"trace_id": "7924d824d96e7858581f91f00553e308",
"parent_span_id": "e75c421c8c1902e4",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953645.216,
"timestamp": 1779953645.96677,
"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": 77,
"gen_ai.usage.total_tokens": 109,
"gen_ai.response.text": "The population of Paris is approximately **2.1 million people** within the administrative city limits (Ville de Paris).\n\nHowever, if you consider the larger **metropolitan area** (the urban unit or \"aire d'attraction\"), the population is much higher, estimated to be around **11 to 13 million people**. This includes the surrounding suburbs and commuter towns."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "029d735532f96712",
"trace_id": "7924d824d96e7858581f91f00553e308",
"parent_span_id": "e75c421c8c1902e4",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953645.967,
"timestamp": 1779953646.6405437,
"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": 64,
"gen_ai.usage.total_tokens": 121,
"gen_ai.response.text": "The population of the Paris metropolitan area is significantly larger, estimated to be around **11.2 million people**.\n\nThis figure includes the city of Paris itself and its surrounding suburbs and commuter towns. Metropolitan areas are generally defined by economic and social ties, so people often commute into the city for work or other activities."
},
"status": "ok",
"is_segment": false
}
]nextjs/google-genai :: Vision LLM Test (streaming) 11442ms
Critical
checkChatSpanAttributes
31400fccgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
31400fccgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "15c6d50b1c502bae",
"trace_id": "0a629acb6f0460b6af858595ac42a4d9",
"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.121.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": "31400fcc4eb4e8a8",
"start_timestamp": 1779953645.247,
"timestamp": 1779953645.684657,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "5181f9773e2a2e27",
"trace_id": "0a629acb6f0460b6af858595ac42a4d9",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953645.218,
"timestamp": 1779953645.687884,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "31400fcc4eb4e8a8",
"trace_id": "0a629acb6f0460b6af858595ac42a4d9",
"parent_span_id": "5181f9773e2a2e27",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953645.221,
"timestamp": 1779953645.6875532,
"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": "7e8XatfaF9ib_uMP34KDyAw",
"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) 11603ms
Critical
checkChatSpanAttributes
3f813d18gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
3f813d18gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "38cf13f7d01399c3",
"trace_id": "59b044abeb5dbfa8b16cd407f49af75d",
"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.121.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": "3f813d18ca725fe2",
"start_timestamp": 1779953646.017,
"timestamp": 1779953646.663916,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "6a95746d66f81f4b",
"trace_id": "59b044abeb5dbfa8b16cd407f49af75d",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953645.988,
"timestamp": 1779953646.6679926,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "3f813d18ca725fe2",
"trace_id": "59b044abeb5dbfa8b16cd407f49af75d",
"parent_span_id": "6a95746d66f81f4b",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953645.99,
"timestamp": 1779953646.6675026,
"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) 11624ms
Critical
checkChatSpanAttributes
2b8f12edgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
2b8f12edgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "40bad2d746449939",
"trace_id": "84aa41a4ab23812bed62ad857e551a70",
"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.142.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": "2b8f12edb10360d2",
"start_timestamp": 1779953646.099,
"timestamp": 1779953646.783645,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "ec96a7a9ba59082c",
"trace_id": "84aa41a4ab23812bed62ad857e551a70",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953646.074,
"timestamp": 1779953646.7866993,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "2b8f12edb10360d2",
"trace_id": "84aa41a4ab23812bed62ad857e551a70",
"parent_span_id": "ec96a7a9ba59082c",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953646.076,
"timestamp": 1779953646.7862027,
"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": "7u8Xaou7D__WjMcPiYmX2QM",
"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.finish_reasons": "[\"STOP\"]",
"gen_ai.response.text": "This is a test message that will be repeated many times to create a very long input."
},
"status": "ok",
"is_segment": false
}
]nextjs/google-genai :: Long Input LLM Test (blocking) 11577ms
Critical
checkChatSpanAttributes
d73f45adgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d73f45adgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "ece7d89860817ba5",
"trace_id": "3b329d3342b74ad99c8309cacaee3029",
"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.108.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": "d73f45adfe4fcb08",
"start_timestamp": 1779953646.59,
"timestamp": 1779953647.1867983,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "b780c92f154d94bd",
"trace_id": "3b329d3342b74ad99c8309cacaee3029",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953646.566,
"timestamp": 1779953647.1982114,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "d73f45adfe4fcb08",
"trace_id": "3b329d3342b74ad99c8309cacaee3029",
"parent_span_id": "b780c92f154d94bd",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953646.568,
"timestamp": 1779953647.1967397,
"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 will be repeated many times to create a very long input."
},
"status": "ok",
"is_segment": false
}
]nextjs/google-genai :: Conversation ID LLM Test (streaming) 12807ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
0af0b9cegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0af0b9cegen_ai.output.messagesMissing output messages attribute
e1ef1338gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e1ef1338gen_ai.output.messagesMissing output messages attribute
20d907a3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
20d907a3gen_ai.output.messagesMissing output messages attribute
5ed5883agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5ed5883agen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "d99f94faa41aa9d8",
"trace_id": "07eeec925153bc3190cf6d8cfce7247a",
"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.108.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": "0af0b9ce354c6823",
"start_timestamp": 1779953647.037,
"timestamp": 1779953647.4627743,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "d0a6e61221829ab3",
"trace_id": "07eeec925153bc3190cf6d8cfce7247a",
"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.108.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": "e1ef1338713e5469",
"start_timestamp": 1779953647.48,
"timestamp": 1779953647.9671364,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "5b40806418cdd92a",
"trace_id": "07eeec925153bc3190cf6d8cfce7247a",
"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.108.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": "20d907a3bfbd837d",
"start_timestamp": 1779953647.977,
"timestamp": 1779953648.437163,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "4b8fc7c22faab94b",
"trace_id": "07eeec925153bc3190cf6d8cfce7247a",
"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.108.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": "5ed5883a6b75985a",
"start_timestamp": 1779953648.445,
"timestamp": 1779953648.8083582,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "00b324244e754f51",
"trace_id": "07eeec925153bc3190cf6d8cfce7247a",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953646.993,
"timestamp": 1779953648.8084433,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "0af0b9ce354c6823",
"trace_id": "07eeec925153bc3190cf6d8cfce7247a",
"parent_span_id": "00b324244e754f51",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953646.997,
"timestamp": 1779953647.4734163,
"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": "7-8XaoeKCtuK1MkPhNuZ0Qw",
"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": "e1ef1338713e5469",
"trace_id": "07eeec925153bc3190cf6d8cfce7247a",
"parent_span_id": "00b324244e754f51",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953647.479,
"timestamp": 1779953647.9680018,
"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": "7-8XaojRJc_D1MkPiIrTKA",
"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.response.finish_reasons": "[\"STOP\"]",
"gen_ai.response.text": "That's a classic! 2 + 2 equals 4."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "20d907a3bfbd837d",
"trace_id": "07eeec925153bc3190cf6d8cfce7247a",
"parent_span_id": "00b324244e754f51",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953647.971,
"timestamp": 1779953648.4405305,
"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": "8O8XasebA8Ks1MkPt9GzgQ0",
"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": "5ed5883a6b75985a",
"trace_id": "07eeec925153bc3190cf6d8cfce7247a",
"parent_span_id": "00b324244e754f51",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953648.441,
"timestamp": 1779953648.8086028,
"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": "8O8XaoHSIcHjugfK7JTYCw",
"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
}
]nextjs/google-genai :: Conversation ID LLM Test (blocking) 12870ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
01ad2cc5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
01ad2cc5gen_ai.output.messagesMissing output messages attribute
97c5dc27gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
97c5dc27gen_ai.output.messagesMissing output messages attribute
5e777c1cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5e777c1cgen_ai.output.messagesMissing output messages attribute
b1ed0405gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1ed0405gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "1c3233bd9856ec3d",
"trace_id": "ac115d0eb5a1011e1f82940ccc5c36cc",
"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.121.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": "01ad2cc5583bf70c",
"start_timestamp": 1779953647.294,
"timestamp": 1779953647.9048681,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "4b1fbb4d1b278645",
"trace_id": "ac115d0eb5a1011e1f82940ccc5c36cc",
"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.121.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": "97c5dc279f313121",
"start_timestamp": 1779953647.923,
"timestamp": 1779953648.3346531,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "87f4bd133496773d",
"trace_id": "ac115d0eb5a1011e1f82940ccc5c36cc",
"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.121.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": "5e777c1c23a118cd",
"start_timestamp": 1779953648.35,
"timestamp": 1779953648.766497,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "c6a4eb57f1f114db",
"trace_id": "ac115d0eb5a1011e1f82940ccc5c36cc",
"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.121.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": "b1ed040537adef65",
"start_timestamp": 1779953648.772,
"timestamp": 1779953649.1338916,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "bd9a1452968360d2",
"trace_id": "ac115d0eb5a1011e1f82940ccc5c36cc",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953647.219,
"timestamp": 1779953649.1392543,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "01ad2cc5583bf70c",
"trace_id": "ac115d0eb5a1011e1f82940ccc5c36cc",
"parent_span_id": "bd9a1452968360d2",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953647.228,
"timestamp": 1779953647.9154863,
"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": "97c5dc279f313121",
"trace_id": "ac115d0eb5a1011e1f82940ccc5c36cc",
"parent_span_id": "bd9a1452968360d2",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953647.92,
"timestamp": 1779953648.3420916,
"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 = 4."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "5e777c1c23a118cd",
"trace_id": "ac115d0eb5a1011e1f82940ccc5c36cc",
"parent_span_id": "bd9a1452968360d2",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953648.345,
"timestamp": 1779953648.767709,
"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": "b1ed040537adef65",
"trace_id": "ac115d0eb5a1011e1f82940ccc5c36cc",
"parent_span_id": "bd9a1452968360d2",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953648.771,
"timestamp": 1779953649.1395516,
"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) 14336ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
ced01f57gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ced01f57gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"span_id": "6d71146602ec1216",
"trace_id": "c337ad338e87fb94ac0d41c35820acf5",
"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": "dd7aad5687af64f4",
"start_timestamp": 1779953649.087,
"timestamp": 1779953650.6595266,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "dd7aad5687af64f4",
"trace_id": "c337ad338e87fb94ac0d41c35820acf5",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953648.96,
"timestamp": 1779953650.6664555,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "ced01f574d73cf65",
"trace_id": "c337ad338e87fb94ac0d41c35820acf5",
"parent_span_id": "dd7aad5687af64f4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953648.997,
"timestamp": 1779953650.6651697,
"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": 203,
"gen_ai.usage.total_tokens": 226,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.id": "chatcmpl-DkPXljrBFDenT9NDIVU0CXZGIHKcx",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Basic LLM Test (streaming, anthropic) 1 1 13001ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
c2f7fb4bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c2f7fb4bgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
c2f7fb4bgen_ai.usage.input_tokensinput_tokens must be > 0 but is 0
checkInputMessagesSchema
Warnings
checkResponseModel
c2f7fb4bgen_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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "54caae181b348b10",
"trace_id": "193641d70e2fe2cc9d5d5714cb2408b0",
"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.95.2",
"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": "83aa89547104a736",
"start_timestamp": 1779953648.907,
"timestamp": 1779953649.60497,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "83aa89547104a736",
"trace_id": "193641d70e2fe2cc9d5d5714cb2408b0",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953648.808,
"timestamp": 1779953649.6097488,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "c2f7fb4b6a873f6d",
"trace_id": "193641d70e2fe2cc9d5d5714cb2408b0",
"parent_span_id": "83aa89547104a736",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953648.827,
"timestamp": 1779953649.6083047,
"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_01C9CfgZ7Dnaus8vSKiS389K"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Basic LLM Test (blocking, openai) 13460ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
0da29aadgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0da29aadgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"span_id": "3fcfb7e058fe8887",
"trace_id": "d2c12765956b3759c812bd1f9a7c318e",
"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": "8b2600aaeb4772e2",
"start_timestamp": 1779953649.056,
"timestamp": 1779953650.0754373,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "8b2600aaeb4772e2",
"trace_id": "d2c12765956b3759c812bd1f9a7c318e",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953648.908,
"timestamp": 1779953650.0809836,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "0da29aad68d902d1",
"trace_id": "d2c12765956b3759c812bd1f9a7c318e",
"parent_span_id": "8b2600aaeb4772e2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953648.939,
"timestamp": 1779953650.0804133,
"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-DkPXlxcbqqsR8VyrBaNsUI4xMWYoP",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Basic LLM Test (blocking, anthropic) 14133ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
26c4ad28gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
26c4ad28gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)gen_ai.usage.cache_creation_input_tokens(1 span)gen_ai.usage.cache_read_input_tokens(1 span)Captured Spans (3)
[
{
"span_id": "d220bd4e5751c988",
"trace_id": "93170a1fceb97e8baae83bee555b6862",
"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.95.2",
"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": "84fb2711183a5129",
"start_timestamp": 1779953648.881,
"timestamp": 1779953650.7054229,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "84fb2711183a5129",
"trace_id": "93170a1fceb97e8baae83bee555b6862",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953648.8,
"timestamp": 1779953650.718206,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "26c4ad28735479f0",
"trace_id": "93170a1fceb97e8baae83bee555b6862",
"parent_span_id": "84fb2711183a5129",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953648.81,
"timestamp": 1779953650.7170904,
"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 also the largest city in France and has been the country's capital since the 12th century.\"]",
"gen_ai.usage.input_tokens": 20,
"gen_ai.usage.output_tokens": 34,
"gen_ai.usage.total_tokens": 54,
"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_01HRSA58v2pUHArvj2hABDAH",
"gen_ai.response.stop_reason": "end_turn"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Multi-Turn LLM Test (streaming, openai) 116777ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
d2f092c4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d2f092c4gen_ai.output.messagesMissing output messages attribute
e3e4fe50gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e3e4fe50gen_ai.output.messagesMissing output messages attribute
cf03b55dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
cf03b55dgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(3 spans)Captured Spans (7)
[
{
"span_id": "c91cca6a02c4b6b4",
"trace_id": "050ea350ab75158db907142e66946ee9",
"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": "c59b903568bd9c35",
"start_timestamp": 1779953649.074,
"timestamp": 1779953650.4063778,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "763a9c6c1785b732",
"trace_id": "050ea350ab75158db907142e66946ee9",
"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": "c59b903568bd9c35",
"start_timestamp": 1779953650.413,
"timestamp": 1779953655.7943256,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "c9af430100da165b",
"trace_id": "050ea350ab75158db907142e66946ee9",
"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": "c59b903568bd9c35",
"start_timestamp": 1779953655.798,
"timestamp": 1779953663.5503566,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "c59b903568bd9c35",
"trace_id": "050ea350ab75158db907142e66946ee9",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953648.943,
"timestamp": 1779953663.5513327,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "d2f092c455f90f65",
"trace_id": "050ea350ab75158db907142e66946ee9",
"parent_span_id": "c59b903568bd9c35",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953648.954,
"timestamp": 1779953650.4082868,
"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-DkPXl3gE6yZ0yoCJRfWz1TihodcYk",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "e3e4fe50ee057c1e",
"trace_id": "050ea350ab75158db907142e66946ee9",
"parent_span_id": "c59b903568bd9c35",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953650.411,
"timestamp": 1779953655.7952166,
"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, the capital of France, has about 2.1 million people in the city proper (the commune of Paris). The wider Paris metropolitan area (the urban area / Île-de-France) has around 12 million residents.\\n\\nIf you want a precise figure for a specific year or for a particular definition (city proper vs. metro vs. urban area), tell me and I’ll provide it.\"]",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1114,
"gen_ai.usage.total_tokens": 1162,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.id": "chatcmpl-DkPXmz4qOuvowzYY9aumNZRDjVwTq",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "cf03b55db1459ad3",
"trace_id": "050ea350ab75158db907142e66946ee9",
"parent_span_id": "c59b903568bd9c35",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953655.796,
"timestamp": 1779953663.550868,
"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": "[\"Around 12 million people live in the Paris metropolitan area (the larger urban region around Paris). \\n\\nNote: exact numbers vary by definition:\\n- Paris urban area (aire urbaine) is usually cited around 12.5–12.8 million.\\n- The Île-de-France region (the wider region including Paris) is also in the roughly 12–13 million range, depending on year and methodology.\\n\\nIf you have a specific definition or year in mind, I can give a precise figure.\"]",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1455,
"gen_ai.usage.total_tokens": 1536,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.id": "chatcmpl-DkPXrr0W4J2cmrqVyAg6oISz9kRVH",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Multi-Turn LLM Test (streaming, anthropic) 1 1 14702ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
d7e81e05gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d7e81e05gen_ai.output.messagesMissing output messages attribute
79d71a71gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
79d71a71gen_ai.output.messagesMissing output messages attribute
e2c8ac73gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e2c8ac73gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
d7e81e05gen_ai.usage.input_tokensinput_tokens must be > 0 but is 0
checkInputMessagesSchema
Warnings
checkResponseModel
d7e81e05gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
79d71a71gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
e2c8ac73gen_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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"span_id": "2f21d2df6e1c8271",
"trace_id": "d994ec29ad87ff9d9c99f7d1109a7843",
"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.95.2",
"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": "77a96c85bab71315",
"start_timestamp": 1779953649.169,
"timestamp": 1779953649.7363253,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "364b6df4ed1d8b16",
"trace_id": "d994ec29ad87ff9d9c99f7d1109a7843",
"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.95.2",
"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": "77a96c85bab71315",
"start_timestamp": 1779953649.745,
"timestamp": 1779953651.023409,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "ef62233fc293f71d",
"trace_id": "d994ec29ad87ff9d9c99f7d1109a7843",
"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.95.2",
"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": "77a96c85bab71315",
"start_timestamp": 1779953651.035,
"timestamp": 1779953651.8612628,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "77a96c85bab71315",
"trace_id": "d994ec29ad87ff9d9c99f7d1109a7843",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953649.095,
"timestamp": 1779953651.863074,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "d7e81e053e4a2ce9",
"trace_id": "d994ec29ad87ff9d9c99f7d1109a7843",
"parent_span_id": "77a96c85bab71315",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953649.116,
"timestamp": 1779953649.7402956,
"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_01TTFxkqXH9sDfCr3dL6zJqw"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "79d71a71866b1d23",
"trace_id": "d994ec29ad87ff9d9c99f7d1109a7843",
"parent_span_id": "77a96c85bab71315",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953649.743,
"timestamp": 1779953651.029532,
"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 depends on which area you're referring to:\\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 city proper refers to Paris within its administrative boundaries, while the metropolitan area includes the surrounding suburbs and towns. The metropolitan area figure is often used when discussing Paris's total urban population.\"]",
"gen_ai.usage.input_tokens": 0,
"gen_ai.usage.output_tokens": 96,
"gen_ai.usage.total_tokens": 96,
"gen_ai.response.id": "msg_01CEP4a3MfPfbmd3dAu1t8m7"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "e2c8ac734ac81e8a",
"trace_id": "d994ec29ad87ff9d9c99f7d1109a7843",
"parent_span_id": "77a96c85bab71315",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953651.033,
"timestamp": 1779953651.8623793,
"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 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": 38,
"gen_ai.usage.total_tokens": 38,
"gen_ai.response.id": "msg_017uPXArMw3YmdnNGQnBorCb"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Multi-Turn LLM Test (blocking, openai) 119028ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
879c6ddbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
879c6ddbgen_ai.output.messagesMissing output messages attribute
35b97aa4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
35b97aa4gen_ai.output.messagesMissing output messages attribute
af23b3bdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af23b3bdgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(3 spans)Captured Spans (7)
[
{
"span_id": "490be8902ef784f8",
"trace_id": "81626f3e2ffd5b13173e1973c26189f5",
"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": "396b8c1e272388fe",
"start_timestamp": 1779953649.341,
"timestamp": 1779953650.5018988,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "67e71ab416798beb",
"trace_id": "81626f3e2ffd5b13173e1973c26189f5",
"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": "396b8c1e272388fe",
"start_timestamp": 1779953650.511,
"timestamp": 1779953657.8887286,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "661ea46c47f87386",
"trace_id": "81626f3e2ffd5b13173e1973c26189f5",
"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": "396b8c1e272388fe",
"start_timestamp": 1779953657.893,
"timestamp": 1779953666.3287175,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "396b8c1e272388fe",
"trace_id": "81626f3e2ffd5b13173e1973c26189f5",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953649.304,
"timestamp": 1779953666.3300502,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "879c6ddb756c5e0f",
"trace_id": "81626f3e2ffd5b13173e1973c26189f5",
"parent_span_id": "396b8c1e272388fe",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953649.31,
"timestamp": 1779953650.5070288,
"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-DkPXla8i5vlQVS7zOEHXwssWai0C3",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "35b97aa4f1bbbdd5",
"trace_id": "81626f3e2ffd5b13173e1973c26189f5",
"parent_span_id": "396b8c1e272388fe",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953650.509,
"timestamp": 1779953657.890145,
"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": "[\"The population depends on how you define “Paris”:\\n\\n- Paris city proper (the commune): about 2.2 million people.\\n- Paris metropolitan area (the urban area around Paris): about 12 million people.\\n- Île-de-France region (greater Paris area): around 12–13 million people.\\n\\nWould you like the exact latest figures for a specific definition or year?\"]",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1494,
"gen_ai.usage.total_tokens": 1542,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.id": "chatcmpl-DkPXmtasPYn6WLhDVDfGxsHDTXrfh",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "af23b3bd7f80738d",
"trace_id": "81626f3e2ffd5b13173e1973c26189f5",
"parent_span_id": "396b8c1e272388fe",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953657.891,
"timestamp": 1779953666.3293738,
"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": "[\"Different definitions give different numbers, but here are the common ones:\\n\\n- Paris urban area (aire urbaine): about 12 million people.\\n- Île-de-France region (the administrative region around Paris): roughly 12–13 million people.\\n\\nSo, the Paris metropolitan area is generally cited as around 12 million, but it can vary depending on which definition you use. If you have a specific source or definition in mind, tell me and I’ll give a precise figure.\"]",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1706,
"gen_ai.usage.total_tokens": 1787,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.id": "chatcmpl-DkPXuE6cLKkqCKsrqwhJ8Ce2nRQjD",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Multi-Turn LLM Test (blocking, anthropic) 14370ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
e065b93fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e065b93fgen_ai.output.messagesMissing output messages attribute
fdcf428dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
fdcf428dgen_ai.output.messagesMissing output messages attribute
ae4f3a55gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ae4f3a55gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(3 spans)gen_ai.usage.cache_creation_input_tokens(3 spans)gen_ai.usage.cache_read_input_tokens(3 spans)Captured Spans (7)
[
{
"span_id": "b9a8e9cb02fa79da",
"trace_id": "38c4a11ec8c3e885fe9da61d84202f64",
"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.95.2",
"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": "0545b669b2843702",
"start_timestamp": 1779953650.029,
"timestamp": 1779953650.7357829,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "f10afa1475879574",
"trace_id": "38c4a11ec8c3e885fe9da61d84202f64",
"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.95.2",
"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": "0545b669b2843702",
"start_timestamp": 1779953650.762,
"timestamp": 1779953652.1414366,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "18245bdc70634157",
"trace_id": "38c4a11ec8c3e885fe9da61d84202f64",
"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.95.2",
"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": "0545b669b2843702",
"start_timestamp": 1779953652.157,
"timestamp": 1779953653.1695654,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "0545b669b2843702",
"trace_id": "38c4a11ec8c3e885fe9da61d84202f64",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953649.998,
"timestamp": 1779953653.1762936,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "e065b93ff22f6319",
"trace_id": "38c4a11ec8c3e885fe9da61d84202f64",
"parent_span_id": "0545b669b2843702",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953650.004,
"timestamp": 1779953650.7535272,
"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_01LjanRQX9AcmMdDCPbJdndc",
"gen_ai.response.stop_reason": "end_turn"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "fdcf428d266bcdb2",
"trace_id": "38c4a11ec8c3e885fe9da61d84202f64",
"parent_span_id": "0545b669b2843702",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953650.76,
"timestamp": 1779953652.142831,
"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 proper (the city itself within its administrative boundaries) is approximately 2.1 to 2.2 million people, 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.\"]",
"gen_ai.usage.input_tokens": 41,
"gen_ai.usage.output_tokens": 83,
"gen_ai.usage.total_tokens": 124,
"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_016EWBNYXykRXvoVfYdPfrkM",
"gen_ai.response.stop_reason": "end_turn"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ae4f3a55e2f1fa72",
"trace_id": "38c4a11ec8c3e885fe9da61d84202f64",
"parent_span_id": "0545b669b2843702",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953652.148,
"timestamp": 1779953653.1758277,
"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 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,
"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_01VXVqP3MYMCcTkdX3RX3gNH",
"gen_ai.response.stop_reason": "end_turn"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Vision LLM Test (streaming, openai) 13072ms
Critical
checkChatSpanAttributes
af50fae8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af50fae8gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"span_id": "4cd193b5fedc5195",
"trace_id": "b0c7a9f3fc28d2952dc972c2acfab0fa",
"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": "4f4213580630f2ca",
"start_timestamp": 1779953652.63,
"timestamp": 1779953653.2071989,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "4f4213580630f2ca",
"trace_id": "b0c7a9f3fc28d2952dc972c2acfab0fa",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953652.441,
"timestamp": 1779953653.2117443,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "af50fae8cc8f6bfd",
"trace_id": "b0c7a9f3fc28d2952dc972c2acfab0fa",
"parent_span_id": "4f4213580630f2ca",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953652.483,
"timestamp": 1779953653.210209,
"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-DkPXoXMwlaOSZJuueBeQrUUA7FQrY",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Vision LLM Test (streaming, anthropic) 1 1 13423ms
Critical
checkChatSpanAttributes
c61e3effgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c61e3effgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
c61e3effgen_ai.usage.input_tokensinput_tokens must be > 0 but is 0
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
c61e3effgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "ca26871242df5e93",
"trace_id": "7eb4480a76e395ffdeb371adf1914cb3",
"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.95.2",
"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": "8c4286b2f7d830b1",
"start_timestamp": 1779953652.973,
"timestamp": 1779953653.7260122,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "8c4286b2f7d830b1",
"trace_id": "7eb4480a76e395ffdeb371adf1914cb3",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953652.889,
"timestamp": 1779953653.7343206,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "c61e3eff0ea383c7",
"trace_id": "7eb4480a76e395ffdeb371adf1914cb3",
"parent_span_id": "8c4286b2f7d830b1",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953652.908,
"timestamp": 1779953653.7337022,
"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": "[\"Red\"]",
"gen_ai.usage.input_tokens": 0,
"gen_ai.usage.output_tokens": 4,
"gen_ai.usage.total_tokens": 4,
"gen_ai.response.id": "msg_014gs2NKzdkGS8bS2EntRpN2"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Vision LLM Test (blocking, openai) 13248ms
Critical
checkChatSpanAttributes
83fb2e16gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
83fb2e16gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"span_id": "0f63ae7ac0061f7e",
"trace_id": "273bb52a3e6fdbc9108910131d1fca67",
"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": "4fa47713fddfee7d",
"start_timestamp": 1779953652.944,
"timestamp": 1779953653.6383047,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "4fa47713fddfee7d",
"trace_id": "273bb52a3e6fdbc9108910131d1fca67",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953652.845,
"timestamp": 1779953653.648553,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "83fb2e165147c7dc",
"trace_id": "273bb52a3e6fdbc9108910131d1fca67",
"parent_span_id": "4fa47713fddfee7d",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953652.858,
"timestamp": 1779953653.6479568,
"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-DkPXpdVnWgdxZm1NtCVqQBZd3lWyk",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Vision LLM Test (blocking, anthropic) 12965ms
Critical
checkChatSpanAttributes
b1b883e0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1b883e0gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)gen_ai.usage.cache_creation_input_tokens(1 span)gen_ai.usage.cache_read_input_tokens(1 span)Captured Spans (3)
[
{
"span_id": "7cb506aa084fdde9",
"trace_id": "711ac49dedb2b5d910f88f18be802087",
"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.95.2",
"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": "4f9ec6d97044acd9",
"start_timestamp": 1779953652.912,
"timestamp": 1779953653.5816517,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "4f9ec6d97044acd9",
"trace_id": "711ac49dedb2b5d910f88f18be802087",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953652.85,
"timestamp": 1779953653.5907168,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "b1b883e06664ad02",
"trace_id": "711ac49dedb2b5d910f88f18be802087",
"parent_span_id": "4f9ec6d97044acd9",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953652.859,
"timestamp": 1779953653.5872257,
"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_01Qh4BYePThAhrWmwXqxjhSx",
"gen_ai.response.stop_reason": "end_turn"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Long Input LLM Test (streaming, openai) 13461ms
Critical
checkChatSpanAttributes
c432cbd8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c432cbd8gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"span_id": "a35faa3fa59ffb10",
"trace_id": "096209d1e4c179b220aaf19a10e3bfa9",
"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": "d5782d673485576c",
"start_timestamp": 1779953653.137,
"timestamp": 1779953654.1914816,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "d5782d673485576c",
"trace_id": "096209d1e4c179b220aaf19a10e3bfa9",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953653.074,
"timestamp": 1779953654.196128,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "c432cbd8160c183b",
"trace_id": "096209d1e4c179b220aaf19a10e3bfa9",
"parent_span_id": "d5782d673485576c",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953653.081,
"timestamp": 1779953654.1952846,
"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": "[\"The repeated text states that it is a test message intended to be replicated numerous times to produce a long input.\"]",
"gen_ai.usage.input_tokens": 5429,
"gen_ai.usage.output_tokens": 22,
"gen_ai.usage.total_tokens": 5451,
"gen_ai.response.model": "gpt-4o-mini-2024-07-18",
"gen_ai.response.id": "chatcmpl-DkPXp8L5zCUWxmGHxzAwEIGwGRwua",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Long Input LLM Test (streaming, anthropic) 1 13168ms
Critical
checkChatSpanAttributes
3523f5a9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
3523f5a9gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
3523f5a9gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "b66cf67a6dda0885",
"trace_id": "ff91f9e787fec731461e0e7c07f4f38c",
"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.95.2",
"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": "ec982ac4e0898d09",
"start_timestamp": 1779953653.461,
"timestamp": 1779953654.3243134,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "ec982ac4e0898d09",
"trace_id": "ff91f9e787fec731461e0e7c07f4f38c",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953653.412,
"timestamp": 1779953654.3520188,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "3523f5a9d355da73",
"trace_id": "ff91f9e787fec731461e0e7c07f4f38c",
"parent_span_id": "ec982ac4e0898d09",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953653.423,
"timestamp": 1779953654.3423576,
"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": "[\"This is a test message that has been repeated many times to create a long input.\"]",
"gen_ai.usage.input_tokens": 0,
"gen_ai.usage.output_tokens": 20,
"gen_ai.usage.total_tokens": 20,
"gen_ai.response.id": "msg_01APN4n5Akd7H18G5JpFosKy"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Long Input LLM Test (blocking, openai) 13104ms
Critical
checkChatSpanAttributes
2802ce41gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
2802ce41gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"span_id": "a646b5ab340b6fb9",
"trace_id": "9b3781f14797f5519a62808df394725c",
"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": "17d36f8674412008",
"start_timestamp": 1779953653.9,
"timestamp": 1779953654.9056375,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "17d36f8674412008",
"trace_id": "9b3781f14797f5519a62808df394725c",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953653.823,
"timestamp": 1779953654.9247794,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "2802ce41ee7ec193",
"trace_id": "9b3781f14797f5519a62808df394725c",
"parent_span_id": "17d36f8674412008",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953653.833,
"timestamp": 1779953654.9240081,
"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 repeatedly states that it is a test message designed to generate a very long input.\"]",
"gen_ai.usage.input_tokens": 5429,
"gen_ai.usage.output_tokens": 18,
"gen_ai.usage.total_tokens": 5447,
"gen_ai.response.model": "gpt-4o-mini-2024-07-18",
"gen_ai.response.id": "chatcmpl-DkPXqsQCHgP78fVTPkNCiCxvvAHaB",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Long Input LLM Test (blocking, anthropic) 12798ms
Critical
checkChatSpanAttributes
3a4e3446gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
3a4e3446gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)gen_ai.usage.cache_creation_input_tokens(1 span)gen_ai.usage.cache_read_input_tokens(1 span)Captured Spans (3)
[
{
"span_id": "f6e7a916d2cc23b3",
"trace_id": "2ad9d0660d0719f7ee396b9303a0a9c1",
"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.95.2",
"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": "c5df63fedc6db455",
"start_timestamp": 1779953654.402,
"timestamp": 1779953655.2526057,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "c5df63fedc6db455",
"trace_id": "2ad9d0660d0719f7ee396b9303a0a9c1",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953654.324,
"timestamp": 1779953655.2657049,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "3a4e34464e778cf8",
"trace_id": "2ad9d0660d0719f7ee396b9303a0a9c1",
"parent_span_id": "c5df63fedc6db455",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953654.352,
"timestamp": 1779953655.2647562,
"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": "[\"This is a test message repeated numerous times to create a lengthy input.\"]",
"gen_ai.usage.input_tokens": 5426,
"gen_ai.usage.output_tokens": 17,
"gen_ai.usage.total_tokens": 5443,
"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_01X6ow2hqzLmU9fZkxyL2zoD",
"gen_ai.response.stop_reason": "end_turn"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Conversation ID LLM Test (streaming, openai) 110261ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
aa230e91gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aa230e91gen_ai.output.messagesMissing output messages attribute
d7d57a60gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d7d57a60gen_ai.output.messagesMissing output messages attribute
23bd7b0cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
23bd7b0cgen_ai.output.messagesMissing output messages attribute
982665c3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
982665c3gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(4 spans)Captured Spans (9)
[
{
"span_id": "a1e0c3a346068f82",
"trace_id": "4c42116623f5d434616e681d20d0a8c4",
"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": "8ae9773a75d8e495",
"start_timestamp": 1779953654.465,
"timestamp": 1779953656.1494505,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "6cbe02a0c9074c54",
"trace_id": "4c42116623f5d434616e681d20d0a8c4",
"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": "8ae9773a75d8e495",
"start_timestamp": 1779953656.156,
"timestamp": 1779953658.233758,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "cc2bb633b5c3c4a7",
"trace_id": "4c42116623f5d434616e681d20d0a8c4",
"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": "8ae9773a75d8e495",
"start_timestamp": 1779953658.238,
"timestamp": 1779953660.2526572,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "5924e6366b62a9fa",
"trace_id": "4c42116623f5d434616e681d20d0a8c4",
"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": "8ae9773a75d8e495",
"start_timestamp": 1779953660.256,
"timestamp": 1779953662.8826685,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "8ae9773a75d8e495",
"trace_id": "4c42116623f5d434616e681d20d0a8c4",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953654.384,
"timestamp": 1779953662.8829877,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "aa230e91aed098e5",
"trace_id": "4c42116623f5d434616e681d20d0a8c4",
"parent_span_id": "8ae9773a75d8e495",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953654.395,
"timestamp": 1779953656.1523001,
"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": 139,
"gen_ai.usage.total_tokens": 162,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.id": "chatcmpl-DkPXqVAB1HldLvVsD3BfkEDxgM1AU",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "d7d57a60ab223075",
"trace_id": "4c42116623f5d434616e681d20d0a8c4",
"parent_span_id": "8ae9773a75d8e495",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953656.154,
"timestamp": 1779953658.2345915,
"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. Two plus two equals four. Would you like a quick explanation or more practice problems?\"]",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 220,
"gen_ai.usage.total_tokens": 244,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.id": "chatcmpl-DkPXsR7E7rcNBZ4J4YGgy7muwio9u",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "23bd7b0c4ed06f48",
"trace_id": "4c42116623f5d434616e681d20d0a8c4",
"parent_span_id": "8ae9773a75d8e495",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953658.236,
"timestamp": 1779953660.2532728,
"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. 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.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.id": "chatcmpl-DkPXuuzi79dv6FWYzpq7VSMow9z6W",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "982665c33f62a625",
"trace_id": "4c42116623f5d434616e681d20d0a8c4",
"parent_span_id": "8ae9773a75d8e495",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953660.254,
"timestamp": 1779953662.8824103,
"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 adding two groups of three, giving six. Want a couple more practice problems?\"]",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 291,
"gen_ai.usage.total_tokens": 341,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.id": "chatcmpl-DkPXwlADYnJa82efkg9DdaCWohX6I",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Conversation ID LLM Test (streaming, anthropic) 1 1 14370ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
bfc81a7fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bfc81a7fgen_ai.output.messagesMissing output messages attribute
7795f093gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7795f093gen_ai.output.messagesMissing output messages attribute
95d45e57gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
95d45e57gen_ai.output.messagesMissing output messages attribute
bf6015b4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bf6015b4gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
bfc81a7fgen_ai.usage.input_tokensinput_tokens must be > 0 but is 0
checkInputMessagesSchema
Warnings
checkResponseModel
bfc81a7fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
7795f093gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
95d45e57gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
bf6015b4gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "3d9b48c803e129af",
"trace_id": "82a5f603f36fa50880d78de24da1a67c",
"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.95.2",
"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": "76b1b91af5d08dfb",
"start_timestamp": 1779953654.966,
"timestamp": 1779953655.5858219,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "197c5a20a751a493",
"trace_id": "82a5f603f36fa50880d78de24da1a67c",
"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.95.2",
"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": "76b1b91af5d08dfb",
"start_timestamp": 1779953655.6,
"timestamp": 1779953656.4573872,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "36701071536f5240",
"trace_id": "82a5f603f36fa50880d78de24da1a67c",
"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.95.2",
"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": "76b1b91af5d08dfb",
"start_timestamp": 1779953656.461,
"timestamp": 1779953657.070164,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "339bc686bdeb4992",
"trace_id": "82a5f603f36fa50880d78de24da1a67c",
"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.95.2",
"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": "76b1b91af5d08dfb",
"start_timestamp": 1779953657.072,
"timestamp": 1779953657.6310196,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "76b1b91af5d08dfb",
"trace_id": "82a5f603f36fa50880d78de24da1a67c",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953654.861,
"timestamp": 1779953657.6326482,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "bfc81a7f1a943ae2",
"trace_id": "82a5f603f36fa50880d78de24da1a67c",
"parent_span_id": "76b1b91af5d08dfb",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953654.88,
"timestamp": 1779953655.5963488,
"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": 0,
"gen_ai.usage.output_tokens": 10,
"gen_ai.usage.total_tokens": 10,
"gen_ai.response.id": "msg_01AJJ3w2FPQVUGMnLD7gzUcQ"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "7795f093120baccc",
"trace_id": "82a5f603f36fa50880d78de24da1a67c",
"parent_span_id": "76b1b91af5d08dfb",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953655.598,
"timestamp": 1779953656.4581573,
"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 most basic addition facts! When you combine 2 groups of 2 items, you get 4 items total.\"]",
"gen_ai.usage.input_tokens": 0,
"gen_ai.usage.output_tokens": 46,
"gen_ai.usage.total_tokens": 46,
"gen_ai.response.id": "msg_01Mj2KKBNftYre2yNVcBCPmL"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "95d45e5770ad2884",
"trace_id": "82a5f603f36fa50880d78de24da1a67c",
"parent_span_id": "76b1b91af5d08dfb",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953656.459,
"timestamp": 1779953657.0701983,
"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_01UFFVRr3yoeqeHiCwFMFdGt"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bf6015b4fa7a0e2c",
"trace_id": "82a5f603f36fa50880d78de24da1a67c",
"parent_span_id": "76b1b91af5d08dfb",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953657.071,
"timestamp": 1779953657.6317275,
"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_01JnuT3iZbD5VV9NjifimYjE"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Conversation ID LLM Test (blocking, openai) 110426ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
6b4a802fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
6b4a802fgen_ai.output.messagesMissing output messages attribute
fdfca3f8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
fdfca3f8gen_ai.output.messagesMissing output messages attribute
238752c9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
238752c9gen_ai.output.messagesMissing output messages attribute
c9ba68ecgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c9ba68ecgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(4 spans)Captured Spans (9)
[
{
"span_id": "c467c547c5e70494",
"trace_id": "1697a9fb6109b411e0acd72e6ee1cdde",
"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": "94767d817f0899a1",
"start_timestamp": 1779953655.36,
"timestamp": 1779953657.085649,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "053aa3b44202e0ae",
"trace_id": "1697a9fb6109b411e0acd72e6ee1cdde",
"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": "94767d817f0899a1",
"start_timestamp": 1779953657.092,
"timestamp": 1779953660.159549,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "9958fa2826d40030",
"trace_id": "1697a9fb6109b411e0acd72e6ee1cdde",
"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": "94767d817f0899a1",
"start_timestamp": 1779953660.163,
"timestamp": 1779953662.2474854,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "acf1e4643ad8baf1",
"trace_id": "1697a9fb6109b411e0acd72e6ee1cdde",
"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": "94767d817f0899a1",
"start_timestamp": 1779953662.25,
"timestamp": 1779953663.7338681,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "94767d817f0899a1",
"trace_id": "1697a9fb6109b411e0acd72e6ee1cdde",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953655.21,
"timestamp": 1779953663.7353249,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "6b4a802f7b9175d4",
"trace_id": "1697a9fb6109b411e0acd72e6ee1cdde",
"parent_span_id": "94767d817f0899a1",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953655.225,
"timestamp": 1779953657.0895267,
"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": 203,
"gen_ai.usage.total_tokens": 226,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.id": "chatcmpl-DkPXrphYLbi58g9Ucj2PDCaVW2nyg",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "fdfca3f81a1ea844",
"trace_id": "1697a9fb6109b411e0acd72e6ee1cdde",
"parent_span_id": "94767d817f0899a1",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953657.091,
"timestamp": 1779953660.1610072,
"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. In base-10 arithmetic, 2 + 2 = 4. (In other bases, the representation can differ; e.g., in base 3, 2 + 2 = 11_3, which equals 4 in decimal.)\"]",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 447,
"gen_ai.usage.total_tokens": 471,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.id": "chatcmpl-DkPXtA0tYsfku583Gk9ayOhZaRsJ0",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "238752c99782cdec",
"trace_id": "1697a9fb6109b411e0acd72e6ee1cdde",
"parent_span_id": "94767d817f0899a1",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953660.162,
"timestamp": 1779953662.248539,
"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": 144,
"gen_ai.usage.total_tokens": 188,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.id": "chatcmpl-DkPXwsdFYNEVhXm5wkI0oZeXTdT6w",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "c9ba68ecc1c72c5d",
"trace_id": "1697a9fb6109b411e0acd72e6ee1cdde",
"parent_span_id": "94767d817f0899a1",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953662.249,
"timestamp": 1779953663.7348998,
"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.\\n\\nReason: combining two groups of three gives six. If you want, I can give more examples or a quick practice set.\"]",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 170,
"gen_ai.usage.total_tokens": 220,
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.response.id": "chatcmpl-DkPXynKG58H6sO2hm1t09hem092NU",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]nextjs/langchain :: Conversation ID LLM Test (blocking, anthropic) 14777ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
27f78562gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
27f78562gen_ai.output.messagesMissing output messages attribute
a0ac6c84gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a0ac6c84gen_ai.output.messagesMissing output messages attribute
2878506bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
2878506bgen_ai.output.messagesMissing output messages attribute
3eed1dbcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
3eed1dbcgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(4 spans)gen_ai.usage.cache_creation_input_tokens(4 spans)gen_ai.usage.cache_read_input_tokens(4 spans)Captured Spans (9)
[
{
"span_id": "a5cc0ae647721c7b",
"trace_id": "12f12db0c6afe2c4eaad7c7d0b60ca4e",
"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.95.2",
"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": "7c9d2a33b66809f1",
"start_timestamp": 1779953655.696,
"timestamp": 1779953656.2940898,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "3e2fbb3e23a93391",
"trace_id": "12f12db0c6afe2c4eaad7c7d0b60ca4e",
"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.95.2",
"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": "7c9d2a33b66809f1",
"start_timestamp": 1779953656.3,
"timestamp": 1779953657.3113413,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "9cbee3267c188daf",
"trace_id": "12f12db0c6afe2c4eaad7c7d0b60ca4e",
"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.95.2",
"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": "7c9d2a33b66809f1",
"start_timestamp": 1779953657.314,
"timestamp": 1779953657.8677661,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "88ebc4c85c6ae5b3",
"trace_id": "12f12db0c6afe2c4eaad7c7d0b60ca4e",
"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.95.2",
"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": "7c9d2a33b66809f1",
"start_timestamp": 1779953657.871,
"timestamp": 1779953658.4811716,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "7c9d2a33b66809f1",
"trace_id": "12f12db0c6afe2c4eaad7c7d0b60ca4e",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953655.61,
"timestamp": 1779953658.4815354,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "27f7856202db3927",
"trace_id": "12f12db0c6afe2c4eaad7c7d0b60ca4e",
"parent_span_id": "7c9d2a33b66809f1",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953655.626,
"timestamp": 1779953656.2969615,
"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_013CHE2fsgb5TXd5brxN5Yeu",
"gen_ai.response.stop_reason": "end_turn"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a0ac6c842b235799",
"trace_id": "12f12db0c6afe2c4eaad7c7d0b60ca4e",
"parent_span_id": "7c9d2a33b66809f1",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953656.298,
"timestamp": 1779953657.3115118,
"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 most basic addition facts. 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": 23,
"gen_ai.usage.output_tokens": 60,
"gen_ai.usage.total_tokens": 83,
"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_014o4TZtfqUaiAvxbJ9nLReH",
"gen_ai.response.stop_reason": "end_turn"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "2878506b1cb67a2e",
"trace_id": "12f12db0c6afe2c4eaad7c7d0b60ca4e",
"parent_span_id": "7c9d2a33b66809f1",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953657.313,
"timestamp": 1779953657.868758,
"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_011FDmW62SX2PLBPSg6qjnfM",
"gen_ai.response.stop_reason": "end_turn"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "3eed1dbcea29e751",
"trace_id": "12f12db0c6afe2c4eaad7c7d0b60ca4e",
"parent_span_id": "7c9d2a33b66809f1",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953657.869,
"timestamp": 1779953658.4812028,
"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_018qTDzcyfLCoaDsDmnpofiQ",
"gen_ai.response.stop_reason": "end_turn"
},
"status": "ok",
"is_segment": false
}
]nextjs/openai :: Basic LLM Test (streaming, chat) 13729ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
bd642648gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bd642648gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"span_id": "d4c785ab83a267e9",
"trace_id": "2c4ac6876336cd1449f6ec0d4f50d6cb",
"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": "bd642648a2812f78",
"start_timestamp": 1779953655.658,
"timestamp": 1779953657.5244403,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "aab39abcc5659ac6",
"trace_id": "2c4ac6876336cd1449f6ec0d4f50d6cb",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953655.635,
"timestamp": 1779953657.5272598,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "bd642648a2812f78",
"trace_id": "2c4ac6876336cd1449f6ec0d4f50d6cb",
"parent_span_id": "aab39abcc5659ac6",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953655.638,
"timestamp": 1779953657.5266411,
"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-DkPXrIG2SYYdwPbuW5HsGFgFmHC0O",
"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 (streaming, responses) 13293ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
eedef9e5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
eedef9e5gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"span_id": "e49c5c49f26d58d2",
"trace_id": "1446490eb8935859f3a7c8be293eb0c4",
"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": "eedef9e5bfc6fb2e",
"start_timestamp": 1779953655.67,
"timestamp": 1779953657.103193,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "13353b918047f831",
"trace_id": "1446490eb8935859f3a7c8be293eb0c4",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953655.632,
"timestamp": 1779953657.1063573,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "eedef9e5bfc6fb2e",
"trace_id": "1446490eb8935859f3a7c8be293eb0c4",
"parent_span_id": "13353b918047f831",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953655.639,
"timestamp": 1779953657.1053255,
"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_0289bdae63495278006a17eff7c6588197b430e5bf1f2d9026",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 182,
"gen_ai.usage.total_tokens": 205,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Paris.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0289bdae63495278006a17eff809a88197b12c00b55dd04f68\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0289bdae63495278006a17eff8cbec819796044fc71b1e070e\",\"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) 13318ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
cbd0aff2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
cbd0aff2gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "98b80ce8f88b6cb2",
"trace_id": "7eaf7dc36c720e9839d4de562140f8e9",
"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": "cbd0aff2d5bdba6c",
"start_timestamp": 1779953655.743,
"timestamp": 1779953657.6073785,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "c1c13f3d5eab9af3",
"trace_id": "7eaf7dc36c720e9839d4de562140f8e9",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953655.697,
"timestamp": 1779953657.6094134,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "cbd0aff2d5bdba6c",
"trace_id": "7eaf7dc36c720e9839d4de562140f8e9",
"parent_span_id": "c1c13f3d5eab9af3",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953655.701,
"timestamp": 1779953657.6096632,
"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-DkPXrJxZ56K64AtJDEIfQHWPCqNOG",
"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) 14726ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
afc8e9e4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
afc8e9e4gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "1eabb79c104bc3a0",
"trace_id": "88a6bdcdf82e24f15e42125d98ea387d",
"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": "afc8e9e40e5bfc62",
"start_timestamp": 1779953655.855,
"timestamp": 1779953659.2296271,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "6633b586080b56a4",
"trace_id": "88a6bdcdf82e24f15e42125d98ea387d",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953655.838,
"timestamp": 1779953659.2337716,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "afc8e9e40e5bfc62",
"trace_id": "88a6bdcdf82e24f15e42125d98ea387d",
"parent_span_id": "6633b586080b56a4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953655.841,
"timestamp": 1779953659.2340918,
"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_0ac53d91490b9d4f006a17eff8299c8193978d2c750f94b944",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 321,
"gen_ai.usage.total_tokens": 344,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Paris. Would you like more details about the city?"
},
"status": "ok",
"is_segment": false
}
]nextjs/openai :: Multi-Turn LLM Test (streaming, chat) 115147ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
3d8789c2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
3d8789c2gen_ai.output.messagesMissing output messages attribute
170c3565gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
170c3565gen_ai.output.messagesMissing output messages attribute
40340c87gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
40340c87gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(3 spans)Captured Spans (7)
[
{
"span_id": "04dcf5ab25587fc3",
"trace_id": "f29a473011c4688583ee16c1638c09e3",
"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": "3d8789c2112ff4a4",
"start_timestamp": 1779953656.05,
"timestamp": 1779953657.5419896,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "0ed2a985c25c807f",
"trace_id": "f29a473011c4688583ee16c1638c09e3",
"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": "170c35653f1edd05",
"start_timestamp": 1779953657.546,
"timestamp": 1779953661.8405085,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "870bf3dbd6bd60a3",
"trace_id": "f29a473011c4688583ee16c1638c09e3",
"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": "40340c876a990abd",
"start_timestamp": 1779953661.843,
"timestamp": 1779953670.2454817,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "cb7f3626a1dc2ede",
"trace_id": "f29a473011c4688583ee16c1638c09e3",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953656.034,
"timestamp": 1779953670.247149,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "3d8789c2112ff4a4",
"trace_id": "f29a473011c4688583ee16c1638c09e3",
"parent_span_id": "cb7f3626a1dc2ede",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953656.036,
"timestamp": 1779953657.5447602,
"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-DkPXsAeMNUP8KTtNoZhRZMQr7IxxE",
"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": "170c35653f1edd05",
"trace_id": "f29a473011c4688583ee16c1638c09e3",
"parent_span_id": "cb7f3626a1dc2ede",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953657.545,
"timestamp": 1779953661.841339,
"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-DkPXtugxeGmi2fD7V7lH0z6oBpMz2",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 873,
"gen_ai.usage.total_tokens": 921,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "It depends on what you mean by “Paris”:\n\n- City proper (the municipality of Paris): about 2.1–2.2 million people (latest estimates around 2020–2023).\n- Paris metropolitan area (the wider urban area / Île-de-France): about 12–13 million people.\n\nIf you want a precise figure for a specific definition (e.g., city proper as of a certain year), I can look up the latest number."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "40340c876a990abd",
"trace_id": "f29a473011c4688583ee16c1638c09e3",
"parent_span_id": "cb7f3626a1dc2ede",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953661.842,
"timestamp": 1779953670.246221,
"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-DkPXxxGBWLApYeE07ndiNOre6QfYc",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1580,
"gen_ai.usage.total_tokens": 1661,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "It depends on the definition of “metropolitan area.”\n\n- Paris urban area (aire urbaine): about 12 million people.\n- Île-de-France region (the wider metropolitan region around Paris): about 12–13 million (roughly 12.5 million in recent years).\n- Métropole du Grand Paris (the formal intermunicipal area around Paris): about 7 million.\n\nIf you have a specific definition or year in mind, I can give a more precise figure."
},
"status": "ok",
"is_segment": false
}
]nextjs/openai :: Multi-Turn LLM Test (streaming, responses) 116904ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
a0be1859gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a0be1859gen_ai.output.messagesMissing output messages attribute
23bcbf2bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
23bcbf2bgen_ai.output.messagesMissing output messages attribute
29e3455cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
29e3455cgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.tool_calls(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(3 spans)Captured Spans (7)
[
{
"span_id": "4fa53bb902224ee1",
"trace_id": "974d2a15349e7693d1948ce4ac40fa92",
"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": "a0be1859ae110602",
"start_timestamp": 1779953656.246,
"timestamp": 1779953657.3280716,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "9e9a3ef8f1d66723",
"trace_id": "974d2a15349e7693d1948ce4ac40fa92",
"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": "23bcbf2b1c3e72b5",
"start_timestamp": 1779953657.332,
"timestamp": 1779953665.054718,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "feaf64f7b5a51a56",
"trace_id": "974d2a15349e7693d1948ce4ac40fa92",
"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": "29e3455ce56f8389",
"start_timestamp": 1779953665.057,
"timestamp": 1779953672.2621527,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "77b15119ea37f1c9",
"trace_id": "974d2a15349e7693d1948ce4ac40fa92",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953656.231,
"timestamp": 1779953672.2624173,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "a0be1859ae110602",
"trace_id": "974d2a15349e7693d1948ce4ac40fa92",
"parent_span_id": "77b15119ea37f1c9",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953656.233,
"timestamp": 1779953657.3299685,
"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_032ac9788c8a4f0b006a17eff856388190809e16a5273907e8",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 121,
"gen_ai.usage.total_tokens": 144,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Paris.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_032ac9788c8a4f0b006a17eff897ac819093f36204d5f9f3ce\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_032ac9788c8a4f0b006a17eff913cc81909416c7c884c41381\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "23bcbf2b1c3e72b5",
"trace_id": "974d2a15349e7693d1948ce4ac40fa92",
"parent_span_id": "77b15119ea37f1c9",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953657.331,
"timestamp": 1779953665.0555644,
"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_0723f3f849aa875e006a17eff962888196b813f4ffcbd96c1f",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1256,
"gen_ai.usage.total_tokens": 1304,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "- Paris city proper (the municipality): about 2.1 million residents.\n- Paris metropolitan area (the greater urban area): about 12 million residents.\n\nLet me know which measure you want (city proper vs metropolitan area) and the year, and I can give a precise figure.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0723f3f849aa875e006a17eff9aa988196aac9d7658bf841cb\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0723f3f849aa875e006a17f00077d881968559b6790a647b93\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"- Paris city proper (the municipality): about 2.1 million residents.\\n- Paris metropolitan area (the greater urban area): about 12 million residents.\\n\\nLet me know which measure you want (city proper vs metropolitan area) and the year, and I can give a precise figure.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "29e3455ce56f8389",
"trace_id": "974d2a15349e7693d1948ce4ac40fa92",
"parent_span_id": "77b15119ea37f1c9",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953665.056,
"timestamp": 1779953672.2624416,
"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_053ede8c1a0258f2006a17f00119e48190b49cb1483d9accd1",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1687,
"gen_ai.usage.total_tokens": 1768,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "There isn’t a single official “Paris metropolitan area” population—the number depends on the definition used. The main ones are:\n\n- Paris urban area (aire urbaine): about 12 million people (roughly 12–13 million, depending on year).\n- Île-de-France region (the wider region including Paris and its suburbs): about 12–13 million people as well (roughly 12.5 million in recent estimates).\n- Métropole du Grand Paris (the 131 communes around Paris that form the métropole): about 7 million people.\n\nIf you tell me which definition and year you want, I can give a precise figure and source.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_053ede8c1a0258f2006a17f0015ba081908b6c967b2f51f700\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_053ede8c1a0258f2006a17f0077cec8190b2cf866e8847cc9e\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"There isn’t a single official “Paris metropolitan area” population—the number depends on the definition used. The main ones are:\\n\\n- Paris urban area (aire urbaine): about 12 million people (roughly 12–13 million, depending on year).\\n- Île-de-France region (the wider region including Paris and its suburbs): about 12–13 million people as well (roughly 12.5 million in recent estimates).\\n- Métropole du Grand Paris (the 131 communes around Paris that form the métropole): about 7 million people.\\n\\nIf you tell me which definition and year you want, I can give a precise figure and source.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]nextjs/openai :: Multi-Turn LLM Test (blocking, chat) 124225ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
0832d69agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0832d69agen_ai.output.messagesMissing output messages attribute
d5ced3b4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d5ced3b4gen_ai.output.messagesMissing output messages attribute
505ee9a2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
505ee9a2gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"span_id": "0453a137cdc67414",
"trace_id": "b31970372bc2234b2edaa96c733342ec",
"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": "0832d69a5c29c189",
"start_timestamp": 1779953657.962,
"timestamp": 1779953660.537187,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "29a2c705c3df0e76",
"trace_id": "b31970372bc2234b2edaa96c733342ec",
"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": "d5ced3b47a688249",
"start_timestamp": 1779953660.542,
"timestamp": 1779953668.8594196,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "469a9564f271039c",
"trace_id": "b31970372bc2234b2edaa96c733342ec",
"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": "505ee9a28e20194d",
"start_timestamp": 1779953668.862,
"timestamp": 1779953681.2537076,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "958c84c43d37555b",
"trace_id": "b31970372bc2234b2edaa96c733342ec",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953657.947,
"timestamp": 1779953681.2606585,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "0832d69a5c29c189",
"trace_id": "b31970372bc2234b2edaa96c733342ec",
"parent_span_id": "958c84c43d37555b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953657.949,
"timestamp": 1779953660.5396392,
"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-DkPXuGkmQiLWqngKHnhLoc2PYaEEJ",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 156,
"gen_ai.usage.total_tokens": 179,
"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.\"]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "d5ced3b47a688249",
"trace_id": "b31970372bc2234b2edaa96c733342ec",
"parent_span_id": "958c84c43d37555b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953660.54,
"timestamp": 1779953668.8597147,
"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-DkPXwHwDg2W5IlwsZw5hOTeoiIv4o",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1435,
"gen_ai.usage.total_tokens": 1483,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"Paris, the capital of France, has different population figures depending on definition:\\n\\n- City proper (the commune of Paris): about 2.1 million residents.\\n- Paris metropolitan/urban area (the wider built-up area with commuters): about 12 million residents.\\n\\nIf you’d like the exact latest numbers for a specific definition (and year), tell me which one you want and I’ll provide precise figures.\"]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "505ee9a28e20194d",
"trace_id": "b31970372bc2234b2edaa96c733342ec",
"parent_span_id": "958c84c43d37555b",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953668.861,
"timestamp": 1779953681.2607386,
"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-DkPY52StzIzpGIMR5IlxMEGytcFfn",
"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": "[\"stop\"]",
"gen_ai.response.text": "[\"In France, “metropolitan area” usually means the Paris urban area (aire urbaine de Paris), i.e., Paris plus its commuter belt. Its population is about 12 million people (roughly 12.0–12.5 million in recent years).\\n\\nIf you meant the wider administrative region that surrounds Paris, the Île-de-France region, that has a similar population—around 12–13 million, depending on the year.\\n\\nIf you want a precise figure for a specific year, tell me the year and I’ll give you the exact INSEE numbers.\"]"
},
"status": "ok",
"is_segment": false
}
]nextjs/openai :: Multi-Turn LLM Test (blocking, responses) 119560ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
f566350cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
f566350cgen_ai.output.messagesMissing output messages attribute
bc4cbbcbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bc4cbbcbgen_ai.output.messagesMissing output messages attribute
07ca0b20gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
07ca0b20gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"span_id": "e90c46c6fcebe85d",
"trace_id": "5e3fc323b90adcca76cc1323941554b7",
"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": "f566350cb14c1b4c",
"start_timestamp": 1779953658.465,
"timestamp": 1779953660.5364819,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "401b18a480390ce7",
"trace_id": "5e3fc323b90adcca76cc1323941554b7",
"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": "bc4cbbcba1e9750d",
"start_timestamp": 1779953660.542,
"timestamp": 1779953668.1665103,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "0314447611c19fad",
"trace_id": "5e3fc323b90adcca76cc1323941554b7",
"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": "07ca0b20fc586d5e",
"start_timestamp": 1779953668.168,
"timestamp": 1779953677.035384,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "4df066bd827cf584",
"trace_id": "5e3fc323b90adcca76cc1323941554b7",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953658.449,
"timestamp": 1779953677.0383344,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "f566350cb14c1b4c",
"trace_id": "5e3fc323b90adcca76cc1323941554b7",
"parent_span_id": "4df066bd827cf584",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953658.451,
"timestamp": 1779953660.5393782,
"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_0d40ea31d46d08d6006a17effa8e888193aa6e1186b8c4968b",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 285,
"gen_ai.usage.total_tokens": 308,
"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
},
{
"span_id": "bc4cbbcba1e9750d",
"trace_id": "5e3fc323b90adcca76cc1323941554b7",
"parent_span_id": "4df066bd827cf584",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953660.54,
"timestamp": 1779953668.1665528,
"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_013ef6e33f670b38006a17effc96148193a81d4746a5e90cd0",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1169,
"gen_ai.usage.total_tokens": 1217,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Paris (the city proper) has about 2.1 million residents. If you meant the larger area:\n\n- Paris metropolitan area (aire urbaine): roughly 11–12 million.\n- Île-de-France region (the surrounding greater Paris region): about 12 million.\n\nNumbers vary by year and by how the area is defined. Which definition would you like me to provide a precise figure for?"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "07ca0b20fc586d5e",
"trace_id": "5e3fc323b90adcca76cc1323941554b7",
"parent_span_id": "4df066bd827cf584",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953668.167,
"timestamp": 1779953677.0373,
"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_00fb927cc2a58571006a17f00439e081938af2b9cdf8ebf185",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1957,
"gen_ai.usage.total_tokens": 2038,
"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 (estimates typically in the 12.0–12.5 million range, depending on year and source).\n\nIf you mean the broader Île-de-France region (the entire administrative region around Paris), it’s roughly 12–13 million.\n\nIf you mean the administrative Métropole du Grand Paris (Paris plus nearby communes), it’s about 7 million.\n\nWould you like a precise figure for a specific year and definition?"
},
"status": "ok",
"is_segment": false
}
]nextjs/openai :: Vision LLM Test (streaming, chat) 11434ms
Critical
checkChatSpanAttributes
14cdf4c7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
14cdf4c7gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"span_id": "0534018c7d13ab4f",
"trace_id": "30f884e9e4e969a2c635c8248f51275b",
"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": "14cdf4c71c85fe0d",
"start_timestamp": 1779953659.741,
"timestamp": 1779953660.2492766,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "4108edb30537e00c",
"trace_id": "30f884e9e4e969a2c635c8248f51275b",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953659.726,
"timestamp": 1779953660.2530603,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "14cdf4c71c85fe0d",
"trace_id": "30f884e9e4e969a2c635c8248f51275b",
"parent_span_id": "4108edb30537e00c",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953659.728,
"timestamp": 1779953660.2525554,
"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-DkPXvOv2JQzDuYE73p9DDdw0uIAhK",
"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) 11659ms
Critical
checkChatSpanAttributes
db9ceca3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
db9ceca3gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"span_id": "c5f8575e5154cbe5",
"trace_id": "0b031fe349406b98985385b43e9b85df",
"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": "db9ceca30ccf4bc3",
"start_timestamp": 1779953660.091,
"timestamp": 1779953660.898612,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "74ee1be98e41f532",
"trace_id": "0b031fe349406b98985385b43e9b85df",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953660.074,
"timestamp": 1779953660.9016874,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "db9ceca30ccf4bc3",
"trace_id": "0b031fe349406b98985385b43e9b85df",
"parent_span_id": "74ee1be98e41f532",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953660.076,
"timestamp": 1779953660.9012156,
"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_039dd897084d4827006a17effc32588196a5fb832d0f1125b4",
"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_039dd897084d4827006a17effca79c8196b98ea77ba26c8263\",\"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) 11585ms
Critical
checkChatSpanAttributes
c1467adcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c1467adcgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "675e8db4b8e9db12",
"trace_id": "fce60d2f05677311832638f54e927f91",
"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": "c1467adcebfd0ce7",
"start_timestamp": 1779953660.374,
"timestamp": 1779953661.0971434,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "1a79ebec71774b93",
"trace_id": "fce60d2f05677311832638f54e927f91",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953660.359,
"timestamp": 1779953661.1001008,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "c1467adcebfd0ce7",
"trace_id": "fce60d2f05677311832638f54e927f91",
"parent_span_id": "1a79ebec71774b93",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953660.361,
"timestamp": 1779953661.099817,
"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-DkPXwsnjLO4XQyZLM4WBV8URHQhtU",
"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) 11913ms
Critical
checkChatSpanAttributes
1689db10gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
1689db10gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "1b86c1740490ab46",
"trace_id": "e0bc0da91930def950d85f528c54ff8b",
"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": "1689db101d85d2f5",
"start_timestamp": 1779953661.113,
"timestamp": 1779953662.1668468,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "b112f93d856c92ab",
"trace_id": "e0bc0da91930def950d85f528c54ff8b",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953661.097,
"timestamp": 1779953662.170159,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "1689db101d85d2f5",
"trace_id": "e0bc0da91930def950d85f528c54ff8b",
"parent_span_id": "b112f93d856c92ab",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953661.099,
"timestamp": 1779953662.169829,
"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_0fee2d9dc8eaea1e006a17effd36208193aa4f26ceaec1d8ca",
"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) 11853ms
Critical
checkChatSpanAttributes
7022010egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7022010egen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"span_id": "31b0d32669550d82",
"trace_id": "bf41a948b4ecdfe02c4e744fc2b9ccb4",
"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": "7022010e3b7068f0",
"start_timestamp": 1779953661.762,
"timestamp": 1779953662.7471056,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "e080b827fbf94b4c",
"trace_id": "bf41a948b4ecdfe02c4e744fc2b9ccb4",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953661.745,
"timestamp": 1779953662.7492561,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "7022010e3b7068f0",
"trace_id": "bf41a948b4ecdfe02c4e744fc2b9ccb4",
"parent_span_id": "e080b827fbf94b4c",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953661.747,
"timestamp": 1779953662.748677,
"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-DkPXxzJLMJzOH17oj4VMDTzzHdwyH",
"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": "[\"stop\"]",
"gen_ai.response.text": "This message is a repeated test statement used to generate a lengthy input."
},
"status": "ok",
"is_segment": false
}
]nextjs/openai :: Long Input LLM Test (streaming, responses) 13758ms
Critical
checkChatSpanAttributes
4be7a2fegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
4be7a2fegen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"span_id": "fb790360d2843ab4",
"trace_id": "1decf63cf0abe5af56addf77e1c0548f",
"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": "4be7a2fe38a55b8c",
"start_timestamp": 1779953661.964,
"timestamp": 1779953664.8554652,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "396bb22d3af7cf47",
"trace_id": "1decf63cf0abe5af56addf77e1c0548f",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953661.948,
"timestamp": 1779953664.857588,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "4be7a2fe38a55b8c",
"trace_id": "1decf63cf0abe5af56addf77e1c0548f",
"parent_span_id": "396bb22d3af7cf47",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953661.95,
"timestamp": 1779953664.8571486,
"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_00f77d4fd8e5d507006a17effe13ec8190a52d385a50a540b6",
"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 message is a repeated phrase intended to generate a long input.",
"gen_ai.response.tool_calls": "[{\"id\":\"msg_00f77d4fd8e5d507006a17f0001d988190b5927f4289d5e978\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"This message is a repeated phrase intended to generate a long input.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]nextjs/openai :: Long Input LLM Test (blocking, chat) 12465ms
Critical
checkChatSpanAttributes
5e682903gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5e682903gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "3f415e1770bc422b",
"trace_id": "e562e8270f5b582e65327f1eea013500",
"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": "5e6829036eec37b8",
"start_timestamp": 1779953663.026,
"timestamp": 1779953664.6294458,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "0b80fbf4fd43a99f",
"trace_id": "e562e8270f5b582e65327f1eea013500",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953663.01,
"timestamp": 1779953664.632079,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "5e6829036eec37b8",
"trace_id": "e562e8270f5b582e65327f1eea013500",
"parent_span_id": "0b80fbf4fd43a99f",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953663.012,
"timestamp": 1779953664.6317177,
"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-DkPXzmJljo1cRpGSsMYRvLWEO6pi6",
"gen_ai.response.model": "gpt-4o-mini-2024-07-18",
"gen_ai.usage.input_tokens": 5429,
"gen_ai.usage.output_tokens": 23,
"gen_ai.usage.total_tokens": 5452,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"The message is a repeated test statement designed to generate a very long input by reiterating the same phrase multiple times.\"]"
},
"status": "ok",
"is_segment": false
}
]nextjs/openai :: Long Input LLM Test (blocking, responses) 12494ms
Critical
checkChatSpanAttributes
abbeb553gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
abbeb553gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "a93ab970345291b6",
"trace_id": "c78d1070098c9b7dffeeba639e7fc0d0",
"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": "abbeb553576aa0e3",
"start_timestamp": 1779953663.646,
"timestamp": 1779953665.2434144,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "8f3cf9f6708c8f58",
"trace_id": "c78d1070098c9b7dffeeba639e7fc0d0",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953663.625,
"timestamp": 1779953665.2466867,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "abbeb553576aa0e3",
"trace_id": "c78d1070098c9b7dffeeba639e7fc0d0",
"parent_span_id": "8f3cf9f6708c8f58",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953663.628,
"timestamp": 1779953665.246117,
"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_0a8fe3cb828b9591006a17efffc0348196be7308a31ec909aa",
"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": "[\"completed\"]",
"gen_ai.response.text": "This message repeatedly emphasizes that it is a test message designed to create an extensive input."
},
"status": "ok",
"is_segment": false
}
]nextjs/openai :: Conversation ID LLM Test (streaming, chat) 19548ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
edd336a2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
edd336a2gen_ai.output.messagesMissing output messages attribute
ac057d4cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac057d4cgen_ai.output.messagesMissing output messages attribute
58186657gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
58186657gen_ai.output.messagesMissing output messages attribute
08444dacgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
08444dacgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(4 spans)Captured Spans (9)
[
{
"span_id": "26555917baee29b5",
"trace_id": "c485f0202cff9a282a4d798466e6e8c0",
"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": "edd336a2ebce2450",
"start_timestamp": 1779953663.795,
"timestamp": 1779953665.8220344,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "681ad1ff797a44a9",
"trace_id": "c485f0202cff9a282a4d798466e6e8c0",
"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": "ac057d4cd257b67c",
"start_timestamp": 1779953665.828,
"timestamp": 1779953667.5124207,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "d034715517c6cf0c",
"trace_id": "c485f0202cff9a282a4d798466e6e8c0",
"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": "581866573b546082",
"start_timestamp": 1779953667.514,
"timestamp": 1779953669.8847818,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "22819da23cc933da",
"trace_id": "c485f0202cff9a282a4d798466e6e8c0",
"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": "08444dac00cb1f37",
"start_timestamp": 1779953669.886,
"timestamp": 1779953672.437596,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "28e67768fc524910",
"trace_id": "c485f0202cff9a282a4d798466e6e8c0",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953663.78,
"timestamp": 1779953672.4383824,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "edd336a2ebce2450",
"trace_id": "c485f0202cff9a282a4d798466e6e8c0",
"parent_span_id": "28e67768fc524910",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953663.783,
"timestamp": 1779953665.8256114,
"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-DkPXzkmAm77S9xrxDYS61Js08w0Am",
"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": "ac057d4cd257b67c",
"trace_id": "c485f0202cff9a282a4d798466e6e8c0",
"parent_span_id": "28e67768fc524910",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953665.826,
"timestamp": 1779953667.512792,
"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-DkPY1Gnh5OpImqlnx14O0F3BW5iop",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 256,
"gen_ai.usage.total_tokens": 280,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "4\n\nYou can see it by counting: start with 2, add 2 more, you reach 4. Or on a number line, move two steps from 0 to 2, then two more to 4. Want a quick practice with similar problems?"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "581866573b546082",
"trace_id": "c485f0202cff9a282a4d798466e6e8c0",
"parent_span_id": "28e67768fc524910",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953667.513,
"timestamp": 1779953669.8850965,
"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-DkPY37mHlelJNwJhbtJyeloZhuKOR",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 271,
"gen_ai.usage.total_tokens": 315,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "Germany's capital is Berlin."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "08444dac00cb1f37",
"trace_id": "c485f0202cff9a282a4d798466e6e8c0",
"parent_span_id": "28e67768fc524910",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953669.886,
"timestamp": 1779953672.438917,
"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-DkPY6wkPDJwX2hQVzerLpLojECOYX",
"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": "[\"stop\"]",
"gen_ai.response.text": "3 + 3 = 6.\n\nIf you like, I can explain it another way (e.g., doubling 3, or using a number line) or give more practice problems."
},
"status": "ok",
"is_segment": false
}
]nextjs/openai :: Conversation ID LLM Test (streaming, responses) 18335ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
9bb4564agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9bb4564agen_ai.output.messagesMissing output messages attribute
12d13010gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
12d13010gen_ai.output.messagesMissing output messages attribute
f61e4564gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
f61e4564gen_ai.output.messagesMissing output messages attribute
948a536agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
948a536agen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(4 spans)Captured Spans (9)
[
{
"span_id": "7f43c0edd77ba431",
"trace_id": "e677515425ddccedc7a9de0870cd5b25",
"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": "9bb4564ab903eddd",
"start_timestamp": 1779953664.433,
"timestamp": 1779953665.5709455,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "fd5bc4b64e5e8f9b",
"trace_id": "e677515425ddccedc7a9de0870cd5b25",
"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": "12d13010d8c447c5",
"start_timestamp": 1779953665.583,
"timestamp": 1779953667.9566865,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "c9121061cdb399fa",
"trace_id": "e677515425ddccedc7a9de0870cd5b25",
"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": "f61e4564000a8547",
"start_timestamp": 1779953667.959,
"timestamp": 1779953669.5098007,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "52de2b767e51a9b3",
"trace_id": "e677515425ddccedc7a9de0870cd5b25",
"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": "948a536a1ce8c295",
"start_timestamp": 1779953669.512,
"timestamp": 1779953671.9102244,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "f970c1deb51ceefe",
"trace_id": "e677515425ddccedc7a9de0870cd5b25",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953664.417,
"timestamp": 1779953671.9106033,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "9bb4564ab903eddd",
"trace_id": "e677515425ddccedc7a9de0870cd5b25",
"parent_span_id": "f970c1deb51ceefe",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953664.42,
"timestamp": 1779953665.5779223,
"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_06ff71ff83c60b9a006a17f0008a708195b15b80c79bfb999f",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 106,
"gen_ai.usage.total_tokens": 129,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Paris.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_06ff71ff83c60b9a006a17f000d06481958b5549ab63c85881\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_06ff71ff83c60b9a006a17f00144148195886af39daed57c38\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "12d13010d8c447c5",
"trace_id": "e677515425ddccedc7a9de0870cd5b25",
"parent_span_id": "f970c1deb51ceefe",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953665.578,
"timestamp": 1779953667.9573786,
"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_07640d0d40283e51006a17f001a13481959f61f6157c9f6d2c",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 345,
"gen_ai.usage.total_tokens": 369,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "4\n\nExplanation: 2 + 2 means combining two and two, which totals four. If you’d like, I can give you a few quick practice problems.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_07640d0d40283e51006a17f001f82481958f559f4554fd89d7\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_07640d0d40283e51006a17f00386ec8195bf2939a31c287fb0\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"4\\n\\nExplanation: 2 + 2 means combining two and two, which totals four. If you’d like, I can give you a few quick practice problems.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "f61e4564000a8547",
"trace_id": "e677515425ddccedc7a9de0870cd5b25",
"parent_span_id": "f970c1deb51ceefe",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953667.958,
"timestamp": 1779953669.5105095,
"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_0659d3d0afd00bd1006a17f004018481909bf562b4e3c01b07",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 184,
"gen_ai.usage.total_tokens": 228,
"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_0659d3d0afd00bd1006a17f00440f4819092075a2992d9e953\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0659d3d0afd00bd1006a17f00544588190981002868dadd915\",\"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": "948a536a1ce8c295",
"trace_id": "e677515425ddccedc7a9de0870cd5b25",
"parent_span_id": "f970c1deb51ceefe",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953669.511,
"timestamp": 1779953671.9103973,
"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_0bf947faeb24705c006a17f0058e308190938eff61d8764bd0",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 371,
"gen_ai.usage.total_tokens": 421,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "3 + 3 = 6.\n\nIt's an example of doubling: two groups of three make six. Want to try a few more?",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0bf947faeb24705c006a17f005bc0881908470342f8b99311a\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0bf947faeb24705c006a17f007820c81908b3a242cefc32db3\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"3 + 3 = 6.\\n\\nIt's an example of doubling: two groups of three make six. Want to try a few more?\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]nextjs/openai :: Conversation ID LLM Test (blocking, chat) 110281ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
0d44eec9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0d44eec9gen_ai.output.messagesMissing output messages attribute
9c756a51gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c756a51gen_ai.output.messagesMissing output messages attribute
a7a66100gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a7a66100gen_ai.output.messagesMissing output messages attribute
9e1dca88gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9e1dca88gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "8d364bbfa7d7697e",
"trace_id": "8f66f7759f5e71f8bacb8f55ef708595",
"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": "0d44eec9c7172adf",
"start_timestamp": 1779953664.617,
"timestamp": 1779953666.2260542,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "b4bd1a2db786a355",
"trace_id": "8f66f7759f5e71f8bacb8f55ef708595",
"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": "9c756a510beb056a",
"start_timestamp": 1779953666.23,
"timestamp": 1779953668.5407972,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "c0d04e7066454aab",
"trace_id": "8f66f7759f5e71f8bacb8f55ef708595",
"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": "a7a661000bfbcc90",
"start_timestamp": 1779953668.543,
"timestamp": 1779953670.582408,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "da016bff8b255a17",
"trace_id": "8f66f7759f5e71f8bacb8f55ef708595",
"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": "9e1dca887f757ee5",
"start_timestamp": 1779953670.584,
"timestamp": 1779953673.9980621,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "d9cb38c4ec64bcbc",
"trace_id": "8f66f7759f5e71f8bacb8f55ef708595",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953664.601,
"timestamp": 1779953674.0040991,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "0d44eec9c7172adf",
"trace_id": "8f66f7759f5e71f8bacb8f55ef708595",
"parent_span_id": "d9cb38c4ec64bcbc",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953664.603,
"timestamp": 1779953666.2278616,
"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-DkPY0vT4DiT5APvZNGS90biERa7ID",
"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": "9c756a510beb056a",
"trace_id": "8f66f7759f5e71f8bacb8f55ef708595",
"parent_span_id": "d9cb38c4ec64bcbc",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953666.229,
"timestamp": 1779953668.5418558,
"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-DkPY2Z70Ig3fO5NEeswmC7APDHHAs",
"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": "[\"stop\"]",
"gen_ai.response.text": "[\"4. You can think of it as two objects plus two more objects, which makes four objects. If you’d like, I can show it on a number line or with a quick finger-count.\"]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a7a661000bfbcc90",
"trace_id": "8f66f7759f5e71f8bacb8f55ef708595",
"parent_span_id": "d9cb38c4ec64bcbc",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953668.542,
"timestamp": 1779953670.5829115,
"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-DkPY46Z5cfco8UUCDkfS6bkYABsIl",
"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": "9e1dca887f757ee5",
"trace_id": "8f66f7759f5e71f8bacb8f55ef708595",
"parent_span_id": "d9cb38c4ec64bcbc",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953670.583,
"timestamp": 1779953674.0029037,
"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-DkPY6sJAo3wsNjbUmko9zzSXmZPaG",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 437,
"gen_ai.usage.total_tokens": 487,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"3 + 3 equals 6.\\n\\nTip: adding two equal numbers is the same as doubling that number: 3 + 3 = 2 × 3 = 6. Want a few more practice problems?\"]"
},
"status": "ok",
"is_segment": false
}
]nextjs/openai :: Conversation ID LLM Test (blocking, responses) 116665ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
159b6b0cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
159b6b0cgen_ai.output.messagesMissing output messages attribute
c5a103bagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c5a103bagen_ai.output.messagesMissing output messages attribute
52850314gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
52850314gen_ai.output.messagesMissing output messages attribute
089a658egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
089a658egen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "539b79e2fee4ede1",
"trace_id": "2846bd92efc0bfbda1ef50cccff68703",
"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": "159b6b0cff3d7873",
"start_timestamp": 1779953665.541,
"timestamp": 1779953666.7297873,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "7498dafce7e5a3d5",
"trace_id": "2846bd92efc0bfbda1ef50cccff68703",
"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": "c5a103ba73456c8c",
"start_timestamp": 1779953666.734,
"timestamp": 1779953677.0132005,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "efd520b41fe896c3",
"trace_id": "2846bd92efc0bfbda1ef50cccff68703",
"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": "528503142439600f",
"start_timestamp": 1779953677.02,
"timestamp": 1779953678.898511,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "4719be5382e358c8",
"trace_id": "2846bd92efc0bfbda1ef50cccff68703",
"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": "089a658ecf0e55f0",
"start_timestamp": 1779953678.902,
"timestamp": 1779953681.2264328,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "f817c4ae19139d59",
"trace_id": "2846bd92efc0bfbda1ef50cccff68703",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953665.518,
"timestamp": 1779953681.2301972,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "159b6b0cff3d7873",
"trace_id": "2846bd92efc0bfbda1ef50cccff68703",
"parent_span_id": "f817c4ae19139d59",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953665.521,
"timestamp": 1779953666.7322192,
"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_0252c740dedc7338006a17f001a3708193bcd8ab08af376d0e",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 134,
"gen_ai.usage.total_tokens": 157,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Paris."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "c5a103ba73456c8c",
"trace_id": "2846bd92efc0bfbda1ef50cccff68703",
"parent_span_id": "f817c4ae19139d59",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953666.733,
"timestamp": 1779953677.0169842,
"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_0412a4db45d1bc35006a17f002c8b88195bd6258c17c0ca1f6",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 352,
"gen_ai.usage.total_tokens": 376,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "4. It’s two plus two equals four. For example, 2 apples + 2 apples = 4 apples. Want more practice problems?"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "528503142439600f",
"trace_id": "2846bd92efc0bfbda1ef50cccff68703",
"parent_span_id": "f817c4ae19139d59",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953677.018,
"timestamp": 1779953678.899138,
"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_01cf3fe7682fff13006a17f00d12e88196bf0fea1763d040bd",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 318,
"gen_ai.usage.total_tokens": 362,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "The capital of Germany is Berlin. Would you like more details about Germany?"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "089a658ecf0e55f0",
"trace_id": "2846bd92efc0bfbda1ef50cccff68703",
"parent_span_id": "f817c4ae19139d59",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953678.9,
"timestamp": 1779953681.229449,
"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_01be6fd3288783c1006a17f00ef96c8190871e9cfae4112d3e",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 328,
"gen_ai.usage.total_tokens": 378,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "3 + 3 = 6.\n\nYou can think of two groups of three objects coming together to make six. Want a few more practice problems?"
},
"status": "ok",
"is_segment": false
}
]node/anthropic :: Basic LLM Test (streaming) 11960ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
ba7b8fe7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ba7b8fe7gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "7b5ed4e963d18371",
"trace_id": "96a97a92eb663a1f2f3496a52201c1cc",
"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": "ba7b8fe7afe1fc1f",
"start_timestamp": 1779953666.083,
"timestamp": 1779953666.7716699,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "adaddc2e720a61b9",
"trace_id": "96a97a92eb663a1f2f3496a52201c1cc",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953666.059,
"timestamp": 1779953666.773486,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "ba7b8fe7afe1fc1f",
"trace_id": "96a97a92eb663a1f2f3496a52201c1cc",
"parent_span_id": "adaddc2e720a61b9",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953666.062,
"timestamp": 1779953666.768941,
"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_01Y95QsZhi4iQHfmQVHxWsMG",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 20,
"gen_ai.usage.output_tokens": 32,
"gen_ai.usage.total_tokens": 52,
"gen_ai.response.text": "The capital of France is **Paris**. It is the country's largest city and has been the political and cultural center of France for centuries."
},
"status": "ok",
"is_segment": false
}
]node/anthropic :: Basic LLM Test (blocking) 12289ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
865e9346gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
865e9346gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "4be04145b093eddd",
"trace_id": "9b7ef677a732f3c34a8afaed1a36c1ef",
"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": "865e9346fcd5dca5",
"start_timestamp": 1779953666.074,
"timestamp": 1779953667.1386802,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "7d46512addfb5ecb",
"trace_id": "9b7ef677a732f3c34a8afaed1a36c1ef",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953666.051,
"timestamp": 1779953667.1428797,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "865e9346fcd5dca5",
"trace_id": "9b7ef677a732f3c34a8afaed1a36c1ef",
"parent_span_id": "7d46512addfb5ecb",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953666.053,
"timestamp": 1779953667.1423514,
"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_01C5TDrY5dJJ3SsxZjQdCDjA",
"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) 15561ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
5f0596abgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5f0596abgen_ai.output.messagesMissing output messages attribute
9eb6ffcfgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9eb6ffcfgen_ai.output.messagesMissing output messages attribute
6e4cbf7cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
6e4cbf7cgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"span_id": "8d6158b20f5f039d",
"trace_id": "731a99028488bb61122fc3cbd073e08d",
"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": "5f0596ab98cc4a58",
"start_timestamp": 1779953666.337,
"timestamp": 1779953666.8817842,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "744cf82534fc1e19",
"trace_id": "731a99028488bb61122fc3cbd073e08d",
"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": "9eb6ffcf2a86250d",
"start_timestamp": 1779953666.886,
"timestamp": 1779953669.947255,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "a220cb86e6af06bb",
"trace_id": "731a99028488bb61122fc3cbd073e08d",
"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": "6e4cbf7c781fa710",
"start_timestamp": 1779953669.949,
"timestamp": 1779953670.783456,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "b555778a472d7668",
"trace_id": "731a99028488bb61122fc3cbd073e08d",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953666.322,
"timestamp": 1779953670.7844985,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "5f0596ab98cc4a58",
"trace_id": "731a99028488bb61122fc3cbd073e08d",
"parent_span_id": "b555778a472d7668",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953666.323,
"timestamp": 1779953666.8797648,
"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_01NMjrZsMq5qW5YWbdbyXd8m",
"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": "9eb6ffcf2a86250d",
"trace_id": "731a99028488bb61122fc3cbd073e08d",
"parent_span_id": "b555778a472d7668",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953666.884,
"timestamp": 1779953669.9452908,
"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_0187MqxxtuuHD4RG41sCqush",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 41,
"gen_ai.usage.output_tokens": 100,
"gen_ai.usage.total_tokens": 141,
"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 it includes the suburbs and surrounding areas. The city proper figure refers only to people living within Paris's administrative boundaries."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "6e4cbf7c781fa710",
"trace_id": "731a99028488bb61122fc3cbd073e08d",
"parent_span_id": "b555778a472d7668",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953669.948,
"timestamp": 1779953670.7823768,
"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_01XX6UG33bGYjkN9DBb2QaRA",
"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) 15160ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
7e27def8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7e27def8gen_ai.output.messagesMissing output messages attribute
07d20fc7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
07d20fc7gen_ai.output.messagesMissing output messages attribute
a9103318gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a9103318gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"span_id": "b8e0c7ec5ca35bfb",
"trace_id": "b74b69d6d54bb99be58ccf0f90190741",
"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": "7e27def85707b31b",
"start_timestamp": 1779953667.304,
"timestamp": 1779953667.9031096,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "a73f0367e0dfa33d",
"trace_id": "b74b69d6d54bb99be58ccf0f90190741",
"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": "07d20fc7cdf89ab0",
"start_timestamp": 1779953667.908,
"timestamp": 1779953669.358308,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "0ac99cf0d131b381",
"trace_id": "b74b69d6d54bb99be58ccf0f90190741",
"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": "a910331869c200de",
"start_timestamp": 1779953669.36,
"timestamp": 1779953671.4927287,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "f3e69c91aff131af",
"trace_id": "b74b69d6d54bb99be58ccf0f90190741",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953667.29,
"timestamp": 1779953671.4935203,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "7e27def85707b31b",
"trace_id": "b74b69d6d54bb99be58ccf0f90190741",
"parent_span_id": "f3e69c91aff131af",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953667.291,
"timestamp": 1779953667.9054496,
"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_011BoFXkjwvQHgSJ6AYpxwN7",
"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": "07d20fc7cdf89ab0",
"trace_id": "b74b69d6d54bb99be58ccf0f90190741",
"parent_span_id": "f3e69c91aff131af",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953667.907,
"timestamp": 1779953669.3591943,
"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 itself is approximately 2.1 million people within the city proper. However, the greater Paris metropolitan area (Île-de-France region) has a population of around 12 million people, making it one of the largest metropolitan areas in Europe.\n\nThese figures are based on recent estimates, as populations can change over time.",
"gen_ai.response.id": "msg_015mXf4rJEav8H8cWodtcDUC",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 41,
"gen_ai.usage.output_tokens": 76,
"gen_ai.usage.total_tokens": 117
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a910331869c200de",
"trace_id": "b74b69d6d54bb99be58ccf0f90190741",
"parent_span_id": "f3e69c91aff131af",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953669.359,
"timestamp": 1779953671.4930325,
"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 (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_01Xq2rAmAQXNXTspR7VocoTB",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 71,
"gen_ai.usage.output_tokens": 41,
"gen_ai.usage.total_tokens": 112
},
"status": "ok",
"is_segment": false
}
]node/anthropic :: Vision LLM Test (streaming) 11635ms
Critical
checkChatSpanAttributes
2398cddcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
2398cddcgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "badf63265b13d8d0",
"trace_id": "0c0a10092acc565cbfa35f32909c380b",
"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": "2398cddca014241e",
"start_timestamp": 1779953668.961,
"timestamp": 1779953669.592725,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "00735f9d08f2a385",
"trace_id": "0c0a10092acc565cbfa35f32909c380b",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953668.937,
"timestamp": 1779953669.5952065,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "2398cddca014241e",
"trace_id": "0c0a10092acc565cbfa35f32909c380b",
"parent_span_id": "00735f9d08f2a385",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953668.939,
"timestamp": 1779953669.590456,
"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_01CLRVN4FAvfJjFRJFGW4TvU",
"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) 12078ms
Critical
checkChatSpanAttributes
3ebc0c29gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
3ebc0c29gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "89ad2a3b0887e194",
"trace_id": "3189f73e19fadf092e85b60de1433dac",
"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": "3ebc0c29df27dc72",
"start_timestamp": 1779953669.338,
"timestamp": 1779953670.41017,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "0200d50bac8d7963",
"trace_id": "3189f73e19fadf092e85b60de1433dac",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953669.324,
"timestamp": 1779953670.41338,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "3ebc0c29df27dc72",
"trace_id": "3189f73e19fadf092e85b60de1433dac",
"parent_span_id": "0200d50bac8d7963",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953669.325,
"timestamp": 1779953670.4121876,
"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_01HWFtoUd2cTNM6bA4Vg1TC9",
"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) 13792ms
Critical
checkChatSpanAttributes
86bac03egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
86bac03egen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "f031cc07c0a1eb47",
"trace_id": "31fb1646f4879a4b8a9fa49ffd648f06",
"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": "86bac03e60f707bd",
"start_timestamp": 1779953670.566,
"timestamp": 1779953673.3588645,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "f203a14ce0e5ea64",
"trace_id": "31fb1646f4879a4b8a9fa49ffd648f06",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953670.55,
"timestamp": 1779953673.3634377,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "86bac03e60f707bd",
"trace_id": "31fb1646f4879a4b8a9fa49ffd648f06",
"parent_span_id": "f203a14ce0e5ea64",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953670.552,
"timestamp": 1779953673.3620212,
"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_01FxwrxWAFbAma9RwiPKZNP5",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 5426,
"gen_ai.usage.output_tokens": 21,
"gen_ai.usage.total_tokens": 5447,
"gen_ai.response.text": "This is a test message that will be repeated many times to create a very long input."
},
"status": "ok",
"is_segment": false
}
]node/anthropic :: Long Input LLM Test (blocking) 11983ms
Critical
checkChatSpanAttributes
acfeff98gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
acfeff98gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "b07e01c6c6dac5bb",
"trace_id": "312e5b27ff95ff3cfdbf2466e21a43c0",
"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": "acfeff98f81589da",
"start_timestamp": 1779953671.269,
"timestamp": 1779953672.2265334,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "f2745800509bd2fc",
"trace_id": "312e5b27ff95ff3cfdbf2466e21a43c0",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953671.251,
"timestamp": 1779953672.2289155,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "acfeff98f81589da",
"trace_id": "312e5b27ff95ff3cfdbf2466e21a43c0",
"parent_span_id": "f2745800509bd2fc",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953671.253,
"timestamp": 1779953672.2286246,
"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 is repeated many times to create a lengthy input.",
"gen_ai.response.id": "msg_01Kcsc6NM3mn1B5nH54ZSkwq",
"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
},
"status": "ok",
"is_segment": false
}
]node/anthropic :: Conversation ID LLM Test (streaming) 13949ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
7487c26egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7487c26egen_ai.output.messagesMissing output messages attribute
01d735e0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
01d735e0gen_ai.output.messagesMissing output messages attribute
10da3161gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
10da3161gen_ai.output.messagesMissing output messages attribute
1ac3aefbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
1ac3aefbgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "1e6dc2f90451d030",
"trace_id": "8e4bd8d427893a81b59884387c7921dc",
"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": "7487c26e60cd202f",
"start_timestamp": 1779953671.445,
"timestamp": 1779953671.9844048,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "0c54558a551bd939",
"trace_id": "8e4bd8d427893a81b59884387c7921dc",
"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": "01d735e00cd91440",
"start_timestamp": 1779953671.988,
"timestamp": 1779953673.1280158,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "f2788e279859bea9",
"trace_id": "8e4bd8d427893a81b59884387c7921dc",
"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": "10da3161df43f0c5",
"start_timestamp": 1779953673.133,
"timestamp": 1779953673.8423443,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "8aa0a30bb7b5e65f",
"trace_id": "8e4bd8d427893a81b59884387c7921dc",
"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": "1ac3aefb1de6f374",
"start_timestamp": 1779953673.852,
"timestamp": 1779953674.3465855,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "0d1b0182e979c2ba",
"trace_id": "8e4bd8d427893a81b59884387c7921dc",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953671.429,
"timestamp": 1779953674.3486037,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "7487c26e60cd202f",
"trace_id": "8e4bd8d427893a81b59884387c7921dc",
"parent_span_id": "0d1b0182e979c2ba",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953671.431,
"timestamp": 1779953671.9827404,
"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_01RCkgKYVwGy2jxDZVJrJsxv",
"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": "01d735e00cd91440",
"trace_id": "8e4bd8d427893a81b59884387c7921dc",
"parent_span_id": "0d1b0182e979c2ba",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953671.987,
"timestamp": 1779953673.126212,
"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_01Aq1HWn9n9hzsGC4Dcmf6ht",
"gen_ai.response.model": "claude-haiku-4-5-20251001",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 50,
"gen_ai.usage.total_tokens": 73,
"gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the most basic addition facts! When you combine 2 of something with 2 more of the same thing, you get 4 total."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "10da3161df43f0c5",
"trace_id": "8e4bd8d427893a81b59884387c7921dc",
"parent_span_id": "0d1b0182e979c2ba",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953673.129,
"timestamp": 1779953673.8455708,
"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_01PCo6Aabudpe6xMg8RD9o8E",
"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": "1ac3aefb1de6f374",
"trace_id": "8e4bd8d427893a81b59884387c7921dc",
"parent_span_id": "0d1b0182e979c2ba",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953673.848,
"timestamp": 1779953674.348365,
"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_013FVkvGWwMUYo3j8nbQfMpW",
"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) 13842ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
6bcf1524gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
6bcf1524gen_ai.output.messagesMissing output messages attribute
6029ef94gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
6029ef94gen_ai.output.messagesMissing output messages attribute
5a44f6c3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5a44f6c3gen_ai.output.messagesMissing output messages attribute
0d17d0e4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0d17d0e4gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "af09c2b8d427d47c",
"trace_id": "f9b1ff347e35a60e57d299a0b35c1335",
"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": "6bcf1524b6393dbf",
"start_timestamp": 1779953671.807,
"timestamp": 1779953672.3617854,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "5c445f7d3415773a",
"trace_id": "f9b1ff347e35a60e57d299a0b35c1335",
"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": "6029ef9417b1cd51",
"start_timestamp": 1779953672.366,
"timestamp": 1779953673.4576597,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "5b47e03a34b38db5",
"trace_id": "f9b1ff347e35a60e57d299a0b35c1335",
"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": "5a44f6c3f34c03d8",
"start_timestamp": 1779953673.461,
"timestamp": 1779953674.0354788,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "8259394cbaaa189c",
"trace_id": "f9b1ff347e35a60e57d299a0b35c1335",
"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": "0d17d0e452cb953d",
"start_timestamp": 1779953674.039,
"timestamp": 1779953674.578765,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "e32de53480c51fa3",
"trace_id": "f9b1ff347e35a60e57d299a0b35c1335",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953671.792,
"timestamp": 1779953674.582528,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "6bcf1524b6393dbf",
"trace_id": "f9b1ff347e35a60e57d299a0b35c1335",
"parent_span_id": "e32de53480c51fa3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953671.794,
"timestamp": 1779953672.363971,
"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_01NVDmpyU61rKrrQwMmQCKLd",
"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": "6029ef9417b1cd51",
"trace_id": "f9b1ff347e35a60e57d299a0b35c1335",
"parent_span_id": "e32de53480c51fa3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953672.365,
"timestamp": 1779953673.459356,
"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 basic addition problems. When you combine 2 items with 2 more items, you get a total of 4 items.\n\nIs there anything else you'd like help with?",
"gen_ai.response.id": "msg_01R2y7hhNfWVpFh79HhsPtsJ",
"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": "5a44f6c3f34c03d8",
"trace_id": "f9b1ff347e35a60e57d299a0b35c1335",
"parent_span_id": "e32de53480c51fa3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953673.46,
"timestamp": 1779953674.0373893,
"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_01HRMrQ29a4FvFGP7qF25r8a",
"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": "0d17d0e452cb953d",
"trace_id": "f9b1ff347e35a60e57d299a0b35c1335",
"parent_span_id": "e32de53480c51fa3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953674.037,
"timestamp": 1779953674.5785239,
"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_01FiMiN3rhHwhK2MmwbJ6QzL",
"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) 11831ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
868937b0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
868937b0gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "502e4956d772efe4",
"trace_id": "2a15c154800bf1c33a005520fae4d281",
"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.121.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": "868937b08e626e2b",
"start_timestamp": 1779953672.81,
"timestamp": 1779953673.2258878,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "cb8461b84ba26b1d",
"trace_id": "2a15c154800bf1c33a005520fae4d281",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953672.791,
"timestamp": 1779953673.2309134,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "868937b08e626e2b",
"trace_id": "2a15c154800bf1c33a005520fae4d281",
"parent_span_id": "cb8461b84ba26b1d",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953672.793,
"timestamp": 1779953673.2294378,
"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": "CPAXavX5Oeib_uMPoYnWwAI",
"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) 11929ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
e66c0f81gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e66c0f81gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "94baf4eec6c76044",
"trace_id": "5e91e62f2f0aab451704b2cd29b8b223",
"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.108.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": "e66c0f8193c05561",
"start_timestamp": 1779953673.382,
"timestamp": 1779953673.7672505,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "9a51703cd35e4f96",
"trace_id": "5e91e62f2f0aab451704b2cd29b8b223",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953673.365,
"timestamp": 1779953673.7727017,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "e66c0f8193c05561",
"trace_id": "5e91e62f2f0aab451704b2cd29b8b223",
"parent_span_id": "9a51703cd35e4f96",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953673.367,
"timestamp": 1779953673.7711923,
"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
}
]node/google-genai :: Multi-Turn LLM Test (streaming) 13366ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
51c8868fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
51c8868fgen_ai.output.messagesMissing output messages attribute
acebaacagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
acebaacagen_ai.output.messagesMissing output messages attribute
ddda9e7cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ddda9e7cgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"span_id": "af28618466e315be",
"trace_id": "f7735ea259f715b0cef014c087a5b421",
"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.108.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": "51c8868f7be596c2",
"start_timestamp": 1779953673.88,
"timestamp": 1779953674.2662241,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "3572e49cd69e4bf7",
"trace_id": "f7735ea259f715b0cef014c087a5b421",
"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.121.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": "acebaaca630f4352",
"start_timestamp": 1779953674.272,
"timestamp": 1779953674.9427032,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "85ab12d592ddbf39",
"trace_id": "f7735ea259f715b0cef014c087a5b421",
"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.108.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": "ddda9e7c6498a4df",
"start_timestamp": 1779953674.948,
"timestamp": 1779953675.4796484,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "d0d3bdfe76c3cf17",
"trace_id": "f7735ea259f715b0cef014c087a5b421",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953673.857,
"timestamp": 1779953675.4824078,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "51c8868f7be596c2",
"trace_id": "f7735ea259f715b0cef014c087a5b421",
"parent_span_id": "d0d3bdfe76c3cf17",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953673.86,
"timestamp": 1779953674.2692187,
"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": "CvAXat6uAYjG1MkPn_nCmQ8",
"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": "acebaaca630f4352",
"trace_id": "f7735ea259f715b0cef014c087a5b421",
"parent_span_id": "d0d3bdfe76c3cf17",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953674.271,
"timestamp": 1779953674.9458122,
"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": "CvAXap7pF8WX_uMPnsur0QI",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"gen_ai.usage.input_tokens": 32,
"gen_ai.usage.output_tokens": 57,
"gen_ai.usage.total_tokens": 89,
"gen_ai.response.finish_reasons": "[\"STOP\"]",
"gen_ai.response.text": "The population of Paris is approximately **2.1 million people** within the city limits (known as Paris proper).\n\nHowever, the **Paris metropolitan area** (which includes the suburbs and surrounding commuter towns) is much larger, with a population of over **11 million people**."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ddda9e7c6498a4df",
"trace_id": "f7735ea259f715b0cef014c087a5b421",
"parent_span_id": "d0d3bdfe76c3cf17",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953674.946,
"timestamp": 1779953675.482803,
"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": "C_AXapa_AtOk1MkPje6WIQ",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"gen_ai.usage.input_tokens": 57,
"gen_ai.usage.output_tokens": 44,
"gen_ai.usage.total_tokens": 101,
"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.2 million people** as of recent figures.\n\nThis includes the city of Paris itself and its surrounding suburbs and commuter towns."
},
"status": "ok",
"is_segment": false
}
]node/google-genai :: Multi-Turn LLM Test (blocking) 13536ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
c6b5fbf5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c6b5fbf5gen_ai.output.messagesMissing output messages attribute
cf1d63dbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
cf1d63dbgen_ai.output.messagesMissing output messages attribute
9edcebc8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9edcebc8gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"span_id": "49a10cb76b6b6847",
"trace_id": "9bc69ae6b5546d09584f4aedcfcdfe45",
"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.121.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": "c6b5fbf513599d94",
"start_timestamp": 1779953673.964,
"timestamp": 1779953674.4793544,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "cf8afcf4b5412542",
"trace_id": "9bc69ae6b5546d09584f4aedcfcdfe45",
"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.121.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": "cf1d63db6e36e194",
"start_timestamp": 1779953674.493,
"timestamp": 1779953675.2120516,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "5d454fe06f7ff9c8",
"trace_id": "9bc69ae6b5546d09584f4aedcfcdfe45",
"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.121.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": "9edcebc87b29d2a1",
"start_timestamp": 1779953675.224,
"timestamp": 1779953675.7130423,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "4280c482aa1adce2",
"trace_id": "9bc69ae6b5546d09584f4aedcfcdfe45",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953673.935,
"timestamp": 1779953675.7157695,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "c6b5fbf513599d94",
"trace_id": "9bc69ae6b5546d09584f4aedcfcdfe45",
"parent_span_id": "4280c482aa1adce2",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953673.94,
"timestamp": 1779953674.488621,
"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": "cf1d63db6e36e194",
"trace_id": "9bc69ae6b5546d09584f4aedcfcdfe45",
"parent_span_id": "4280c482aa1adce2",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953674.492,
"timestamp": 1779953675.220319,
"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": 69,
"gen_ai.usage.total_tokens": 101,
"gen_ai.response.text": "The population of Paris is approximately **2.1 million** people within the city limits (also known as the \"intramural\" city).\n\nHowever, if you consider the **greater metropolitan area of Paris**, 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": "9edcebc87b29d2a1",
"trace_id": "9bc69ae6b5546d09584f4aedcfcdfe45",
"parent_span_id": "4280c482aa1adce2",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953675.221,
"timestamp": 1779953675.7159853,
"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": 40,
"gen_ai.usage.total_tokens": 97,
"gen_ai.response.text": "The population of the Paris metropolitan area is much larger, estimated to be around **11 to 12 million people**. This includes the city of Paris itself and its surrounding suburbs and commuter towns."
},
"status": "ok",
"is_segment": false
}
]node/google-genai :: Vision LLM Test (streaming) 12163ms
Critical
checkChatSpanAttributes
10a84eb3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
10a84eb3gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "452398bb4ef8c4ba",
"trace_id": "87e0de0c236822e2cd20b0d3b8e2d0ad",
"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.142.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": "10a84eb34e2cbfde",
"start_timestamp": 1779953674.945,
"timestamp": 1779953675.34495,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "545fb9bcd5c3a181",
"trace_id": "87e0de0c236822e2cd20b0d3b8e2d0ad",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953674.925,
"timestamp": 1779953675.3632374,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "10a84eb34e2cbfde",
"trace_id": "87e0de0c236822e2cd20b0d3b8e2d0ad",
"parent_span_id": "545fb9bcd5c3a181",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953674.928,
"timestamp": 1779953675.355372,
"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": "C_AXaqLMBYGdjMcPo8-F4AE",
"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) 12642ms
Critical
checkChatSpanAttributes
b593cfacgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b593cfacgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "a41ef8cef3a765bb",
"trace_id": "0538a590698262024f4bbc472742a003",
"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.121.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": "b593cfac493d1568",
"start_timestamp": 1779953675.711,
"timestamp": 1779953676.2842443,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "a0b484516db5e84c",
"trace_id": "0538a590698262024f4bbc472742a003",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953675.692,
"timestamp": 1779953676.3040824,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "b593cfac493d1568",
"trace_id": "0538a590698262024f4bbc472742a003",
"parent_span_id": "a0b484516db5e84c",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953675.694,
"timestamp": 1779953676.3024085,
"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) 12749ms
Critical
checkChatSpanAttributes
e719af53gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e719af53gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "3495cabc4efd2c9c",
"trace_id": "38e61291407f7a039a078bc530c24bd5",
"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.142.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": "e719af535eb1b911",
"start_timestamp": 1779953676.085,
"timestamp": 1779953676.688521,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "09092139790a4625",
"trace_id": "38e61291407f7a039a078bc530c24bd5",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953676.061,
"timestamp": 1779953676.700912,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "e719af535eb1b911",
"trace_id": "38e61291407f7a039a078bc530c24bd5",
"parent_span_id": "09092139790a4625",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953676.064,
"timestamp": 1779953676.699864,
"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": "DPAXatrmEMrqjMcPoL7zyQQ",
"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.finish_reasons": "[\"STOP\"]",
"gen_ai.response.text": "This is a test message that is being repeated many times to create a very long input."
},
"status": "ok",
"is_segment": false
}
]node/google-genai :: Long Input LLM Test (blocking) 12997ms
Critical
checkChatSpanAttributes
a6b043afgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a6b043afgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "4ee2f7fed438fb59",
"trace_id": "9abfd9eb2f5ce63366193fa7821b0b96",
"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.121.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": "a6b043af87c6920d",
"start_timestamp": 1779953676.528,
"timestamp": 1779953677.1969528,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "c3050415ac0b24bb",
"trace_id": "9abfd9eb2f5ce63366193fa7821b0b96",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953676.491,
"timestamp": 1779953677.2186208,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "a6b043af87c6920d",
"trace_id": "9abfd9eb2f5ce63366193fa7821b0b96",
"parent_span_id": "c3050415ac0b24bb",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953676.495,
"timestamp": 1779953677.2104447,
"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) 13998ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
a24cb661gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a24cb661gen_ai.output.messagesMissing output messages attribute
b71ff17cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b71ff17cgen_ai.output.messagesMissing output messages attribute
99cda12agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
99cda12agen_ai.output.messagesMissing output messages attribute
3074c217gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
3074c217gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "fd2e3ba1f443dad5",
"trace_id": "147ad909539fca9fbb0c49f9943ff0f9",
"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.142.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": "a24cb6614e2c1365",
"start_timestamp": 1779953676.73,
"timestamp": 1779953677.151232,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "37d74e433b364f89",
"trace_id": "147ad909539fca9fbb0c49f9943ff0f9",
"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.121.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": "b71ff17cde04393a",
"start_timestamp": 1779953677.157,
"timestamp": 1779953677.53749,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "ec35e225d786a8ef",
"trace_id": "147ad909539fca9fbb0c49f9943ff0f9",
"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.142.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": "99cda12ab287ce20",
"start_timestamp": 1779953677.543,
"timestamp": 1779953677.905196,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "c4153d3b148917f8",
"trace_id": "147ad909539fca9fbb0c49f9943ff0f9",
"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.121.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": "3074c21775217925",
"start_timestamp": 1779953677.91,
"timestamp": 1779953678.2462983,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "98fe102f08456aa8",
"trace_id": "147ad909539fca9fbb0c49f9943ff0f9",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953676.677,
"timestamp": 1779953678.2476432,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "a24cb6614e2c1365",
"trace_id": "147ad909539fca9fbb0c49f9943ff0f9",
"parent_span_id": "98fe102f08456aa8",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953676.686,
"timestamp": 1779953677.1543593,
"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": "DPAXapOlNZP0jMcP_ZeCmAU",
"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": "b71ff17cde04393a",
"trace_id": "147ad909539fca9fbb0c49f9943ff0f9",
"parent_span_id": "98fe102f08456aa8",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953677.156,
"timestamp": 1779953677.5383544,
"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": "DfAXarfNEOrX_uMPo5uKmQ0",
"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.finish_reasons": "[\"STOP\"]",
"gen_ai.response.text": "2 + 2 = 4."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "99cda12ab287ce20",
"trace_id": "147ad909539fca9fbb0c49f9943ff0f9",
"parent_span_id": "98fe102f08456aa8",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953677.539,
"timestamp": 1779953677.9051833,
"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": "DfAXaprDJ5_GjMcPtoG-0AE",
"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": "3074c21775217925",
"trace_id": "147ad909539fca9fbb0c49f9943ff0f9",
"parent_span_id": "98fe102f08456aa8",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953677.907,
"timestamp": 1779953678.246607,
"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": "DfAXaqPePNmM_PUP79jwwQE",
"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) 14139ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
84b6d290gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84b6d290gen_ai.output.messagesMissing output messages attribute
8723529fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8723529fgen_ai.output.messagesMissing output messages attribute
0a0e2077gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0a0e2077gen_ai.output.messagesMissing output messages attribute
ad938fc5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad938fc5gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "46a984138e13d1e4",
"trace_id": "137dfff6aa6fe99d96c9e85f4720c0f7",
"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.142.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": "84b6d29075f1f32b",
"start_timestamp": 1779953676.896,
"timestamp": 1779953677.3794758,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "191b368e2898229c",
"trace_id": "137dfff6aa6fe99d96c9e85f4720c0f7",
"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.142.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": "8723529f21aa2051",
"start_timestamp": 1779953677.412,
"timestamp": 1779953677.8064263,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "95a530a9daf56c15",
"trace_id": "137dfff6aa6fe99d96c9e85f4720c0f7",
"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.142.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": "0a0e207784d3754c",
"start_timestamp": 1779953677.811,
"timestamp": 1779953678.1573563,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "f8d5f77d1a2a15e6",
"trace_id": "137dfff6aa6fe99d96c9e85f4720c0f7",
"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.142.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": "ad938fc557fdd041",
"start_timestamp": 1779953678.173,
"timestamp": 1779953678.6634414,
"status": "ok",
"op": "http.client",
"origin": "auto.http.otel.node_fetch"
},
{
"span_id": "9fcc424677ca89c5",
"trace_id": "137dfff6aa6fe99d96c9e85f4720c0f7",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953676.873,
"timestamp": 1779953678.668488,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "84b6d29075f1f32b",
"trace_id": "137dfff6aa6fe99d96c9e85f4720c0f7",
"parent_span_id": "9fcc424677ca89c5",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953676.876,
"timestamp": 1779953677.3944333,
"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": "8723529f21aa2051",
"trace_id": "137dfff6aa6fe99d96c9e85f4720c0f7",
"parent_span_id": "9fcc424677ca89c5",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953677.404,
"timestamp": 1779953677.8102129,
"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": 23,
"gen_ai.usage.total_tokens": 39,
"gen_ai.response.text": "That's a great question to start with!\n\nIn mathematics, 2 + 2 equals **4**."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "0a0e207784d3754c",
"trace_id": "137dfff6aa6fe99d96c9e85f4720c0f7",
"parent_span_id": "9fcc424677ca89c5",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953677.81,
"timestamp": 1779953678.1624746,
"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": "ad938fc557fdd041",
"trace_id": "137dfff6aa6fe99d96c9e85f4720c0f7",
"parent_span_id": "9fcc424677ca89c5",
"op": "gen_ai.generate_content",
"description": "generate_content gemini-2.5-flash-lite",
"start_timestamp": 1779953678.164,
"timestamp": 1779953678.6679897,
"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 14731ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
8e9c8cc7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8e9c8cc7gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
8e9c8cc7gen_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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"span_id": "a077fd9221c10aa6",
"trace_id": "9701f180043f9fc30d239f3cb5012778",
"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": "25c6fafb72e4e829",
"start_timestamp": 1779953678.824,
"timestamp": 1779953679.8733182,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "25c6fafb72e4e829",
"trace_id": "9701f180043f9fc30d239f3cb5012778",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953678.748,
"timestamp": 1779953679.9012868,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "8e9c8cc783f5fbc0",
"trace_id": "9701f180043f9fc30d239f3cb5012778",
"parent_span_id": "25c6fafb72e4e829",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953678.763,
"timestamp": 1779953679.8917809,
"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": 74,
"gen_ai.usage.total_tokens": 97,
"gen_ai.response.id": "chatcmpl-DkPYE77ros4dS24939oeuW3UZXlHN",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langchain :: Basic LLM Test (streaming, anthropic) 1 1 13314ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b519cd0bgen_ai.usage.input_tokensSpan b519cd0b: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b519cd0bgen_ai.usage.output_tokensSpan b519cd0b: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
b519cd0bgen_ai.usage.input_tokensinput_tokens must exist
b519cd0bgen_ai.usage.output_tokensoutput_tokens must exist
b519cd0bgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
b519cd0bgen_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.nameCaptured Spans (3)
[
{
"span_id": "9ecfb5195ac13f78",
"trace_id": "c82b84b2d4efcd7817d014165c76273e",
"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": "319f3ce2a08b0e4c",
"start_timestamp": 1779953678.557,
"timestamp": 1779953678.754828,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "319f3ce2a08b0e4c",
"trace_id": "c82b84b2d4efcd7817d014165c76273e",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953678.458,
"timestamp": 1779953678.7846773,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "b519cd0be8d46d2c",
"trace_id": "c82b84b2d4efcd7817d014165c76273e",
"parent_span_id": "319f3ce2a08b0e4c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953678.482,
"timestamp": 1779953678.7666996,
"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 14391ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
eb98320fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
eb98320fgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
eb98320fgen_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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"span_id": "b136c1493ea10fe1",
"trace_id": "441473016ced5d949a350f6540e4a36c",
"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": "26528e0de2d40d9e",
"start_timestamp": 1779953678.838,
"timestamp": 1779953679.9021192,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "26528e0de2d40d9e",
"trace_id": "441473016ced5d949a350f6540e4a36c",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953678.757,
"timestamp": 1779953679.9145775,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "eb98320fd26af20c",
"trace_id": "441473016ced5d949a350f6540e4a36c",
"parent_span_id": "26528e0de2d40d9e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953678.773,
"timestamp": 1779953679.9102037,
"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-DkPYFTmDGpuFrDX9Mjk4R3cA4G8Rt",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langchain :: Basic LLM Test (blocking, anthropic) 1 1 13049ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b72930efgen_ai.usage.input_tokensSpan b72930ef: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b72930efgen_ai.usage.output_tokensSpan b72930ef: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
b72930efgen_ai.usage.input_tokensinput_tokens must exist
b72930efgen_ai.usage.output_tokensoutput_tokens must exist
b72930efgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
b72930efgen_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.nameCaptured Spans (3)
[
{
"span_id": "13f43fd12185803c",
"trace_id": "5ae5f4390826fe9ac648ed29c894660d",
"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": "59c51e361f8584bd",
"start_timestamp": 1779953678.555,
"timestamp": 1779953678.7491088,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "59c51e361f8584bd",
"trace_id": "5ae5f4390826fe9ac648ed29c894660d",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953678.46,
"timestamp": 1779953678.7823431,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "b72930effe1c51c6",
"trace_id": "5ae5f4390826fe9ac648ed29c894660d",
"parent_span_id": "59c51e361f8584bd",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953678.484,
"timestamp": 1779953678.756479,
"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 120013ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
59c6b011gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
59c6b011gen_ai.output.messagesMissing output messages attribute
4ca79e64gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
4ca79e64gen_ai.output.messagesMissing output messages attribute
980995a4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
980995a4gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
59c6b011gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
4ca79e64gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
980995a4gen_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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(3 spans)Captured Spans (7)
[
{
"span_id": "940f15a65cd82bd3",
"trace_id": "ff0a77efb5fd273ae55eef5f02ddaca4",
"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": "df37a9c1d7c00c77",
"start_timestamp": 1779953678.907,
"timestamp": 1779953679.9154766,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "82729e7da50b64dd",
"trace_id": "ff0a77efb5fd273ae55eef5f02ddaca4",
"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": "df37a9c1d7c00c77",
"start_timestamp": 1779953679.95,
"timestamp": 1779953688.8822618,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "e1eb6b1fdb1e08b4",
"trace_id": "ff0a77efb5fd273ae55eef5f02ddaca4",
"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": "df37a9c1d7c00c77",
"start_timestamp": 1779953688.885,
"timestamp": 1779953696.4652326,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "df37a9c1d7c00c77",
"trace_id": "ff0a77efb5fd273ae55eef5f02ddaca4",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953678.873,
"timestamp": 1779953696.4662764,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "59c6b01143419423",
"trace_id": "ff0a77efb5fd273ae55eef5f02ddaca4",
"parent_span_id": "df37a9c1d7c00c77",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953678.881,
"timestamp": 1779953679.9285798,
"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-DkPYF7hTrZnQtHkG3zJTCiKIgQoVi",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "4ca79e64f0bc5fcc",
"trace_id": "ff0a77efb5fd273ae55eef5f02ddaca4",
"parent_span_id": "df37a9c1d7c00c77",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953679.942,
"timestamp": 1779953688.8828015,
"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 city proper) has about 2.1 million residents. If you mean the wider area:\\n\\n- Paris metropolitan area (Île-de-France region): roughly 12 million people.\\n- Paris urban area (aire urbaine): about 12.5–13 million.\\n\\nNumbers vary by year and definition. If you want a precise figure for a specific definition and year, tell me which one and I’ll fetch it.\"]",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1505,
"gen_ai.usage.total_tokens": 1553,
"gen_ai.response.id": "chatcmpl-DkPYHr9odMMH8TEUuiOaiSe23xeUd",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "980995a46937efed",
"trace_id": "ff0a77efb5fd273ae55eef5f02ddaca4",
"parent_span_id": "df37a9c1d7c00c77",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953688.884,
"timestamp": 1779953696.4659944,
"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 are a few ways to define \\\"metropolitan area\\\" around Paris, so the numbers vary:\\n\\n- Paris urban area / aire urbaine (the continuous built‑up area around Paris): about 12 million people.\\n- Île-de-France region (the wider metropolitan region including suburbs): about 12–13 million.\\n- Métropole du Grand Paris (the formal intercommunal metropolis around Paris): about 7 million.\\n\\nIf 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": 1651,
"gen_ai.usage.total_tokens": 1732,
"gen_ai.response.id": "chatcmpl-DkPYPGM8AJI0k7cPRyXBJoYXSV3Cg",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langchain :: Multi-Turn LLM Test (streaming, anthropic) 1 1 12489ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
6b204972gen_ai.usage.input_tokensSpan 6b204972: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
6b204972gen_ai.usage.output_tokensSpan 6b204972: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
af2c6aa5gen_ai.usage.input_tokensSpan af2c6aa5: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
af2c6aa5gen_ai.usage.output_tokensSpan af2c6aa5: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
bf0c063dgen_ai.usage.input_tokensSpan bf0c063d: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
bf0c063dgen_ai.usage.output_tokensSpan bf0c063d: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
6b204972gen_ai.usage.input_tokensinput_tokens must exist
6b204972gen_ai.usage.output_tokensoutput_tokens must exist
6b204972gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
6b204972gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
af2c6aa5gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
bf0c063dgen_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.nameCaptured Spans (7)
[
{
"span_id": "03e3727bc2d939dd",
"trace_id": "8b58190c375bfbab5e6753c46437ea1a",
"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": "64b3f68a69e8d984",
"start_timestamp": 1779953678.834,
"timestamp": 1779953679.014593,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "858bab0bd770b12b",
"trace_id": "8b58190c375bfbab5e6753c46437ea1a",
"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": "64b3f68a69e8d984",
"start_timestamp": 1779953679.03,
"timestamp": 1779953679.1361094,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "c51aaa11e4f27a9a",
"trace_id": "8b58190c375bfbab5e6753c46437ea1a",
"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": "64b3f68a69e8d984",
"start_timestamp": 1779953679.144,
"timestamp": 1779953679.2463977,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "64b3f68a69e8d984",
"trace_id": "8b58190c375bfbab5e6753c46437ea1a",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953678.766,
"timestamp": 1779953679.2500143,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "6b204972dc776761",
"trace_id": "8b58190c375bfbab5e6753c46437ea1a",
"parent_span_id": "64b3f68a69e8d984",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953678.782,
"timestamp": 1779953679.0186224,
"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": "af2c6aa5de43e788",
"trace_id": "8b58190c375bfbab5e6753c46437ea1a",
"parent_span_id": "64b3f68a69e8d984",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953679.029,
"timestamp": 1779953679.1394663,
"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": "bf0c063d5763774b",
"trace_id": "8b58190c375bfbab5e6753c46437ea1a",
"parent_span_id": "64b3f68a69e8d984",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953679.143,
"timestamp": 1779953679.2480848,
"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 122131ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
9b8f1f61gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b8f1f61gen_ai.output.messagesMissing output messages attribute
a235978fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a235978fgen_ai.output.messagesMissing output messages attribute
821ee3fegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
821ee3fegen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
9b8f1f61gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a235978fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
821ee3fegen_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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(3 spans)Captured Spans (7)
[
{
"span_id": "eb90ab53a4321ed7",
"trace_id": "c3d08c7e9044b0bbc381fb20f0f06b46",
"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": "f29b1ad80e2d1029",
"start_timestamp": 1779953679.83,
"timestamp": 1779953682.4580767,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "e36a880a4aa97541",
"trace_id": "c3d08c7e9044b0bbc381fb20f0f06b46",
"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": "f29b1ad80e2d1029",
"start_timestamp": 1779953682.488,
"timestamp": 1779953689.216939,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "8e50cb57dfe96882",
"trace_id": "c3d08c7e9044b0bbc381fb20f0f06b46",
"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": "f29b1ad80e2d1029",
"start_timestamp": 1779953689.219,
"timestamp": 1779953699.1952631,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "f29b1ad80e2d1029",
"trace_id": "c3d08c7e9044b0bbc381fb20f0f06b46",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953679.768,
"timestamp": 1779953699.1966658,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "9b8f1f612fbbe878",
"trace_id": "c3d08c7e9044b0bbc381fb20f0f06b46",
"parent_span_id": "f29b1ad80e2d1029",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953679.779,
"timestamp": 1779953682.4730322,
"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. It’s the capital and largest city of France. Would you like more details about Paris?\"]",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 349,
"gen_ai.usage.total_tokens": 372,
"gen_ai.response.id": "chatcmpl-DkPYGXcnVqexZIB6BfRMeShAmOLOe",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a235978f97cdd41c",
"trace_id": "c3d08c7e9044b0bbc381fb20f0f06b46",
"parent_span_id": "f29b1ad80e2d1029",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953682.48,
"timestamp": 1779953689.2176042,
"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- the City of Paris (the commune) — about 2.1 million people, or\\n- the Paris urban/metro area — about 12 million people?\\n\\nCommon figures:\\n- City proper (Paris commune): roughly 2.1–2.2 million (INSEE figure was about 2.14 million in 2020).\\n- Paris urban area / metropolitan area: around 12 million.\\n- Île-de-France region ( Greater Paris): about 12–13 million.\\n\\nIf you specify which definition you want, I can give a more precise current figure.\"]",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1282,
"gen_ai.usage.total_tokens": 1330,
"gen_ai.response.id": "chatcmpl-DkPYIVAp0Ibda39sDdKciTTOiAiZg",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "821ee3fefd393185",
"trace_id": "c3d08c7e9044b0bbc381fb20f0f06b46",
"parent_span_id": "f29b1ad80e2d1029",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953689.218,
"timestamp": 1779953699.1960912,
"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 by metropolitan area you mean the Paris urban area (aire urbaine), it has about 12 million inhabitants today. \\n\\nIf you instead mean the broader Île-de-France region (the administrative region that includes Paris and surrounding départements), the population is also around 12–13 million depending on the year and method of counting.\\n\\nDefinitions vary, so I can give a precise figure for a specific year if you’d like.\"]",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1824,
"gen_ai.usage.total_tokens": 1905,
"gen_ai.response.id": "chatcmpl-DkPYPTsP1iHQ3jV7mQke23z6aCIuG",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langchain :: Multi-Turn LLM Test (blocking, anthropic) 1 1 12805ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
6092ae06gen_ai.usage.input_tokensSpan 6092ae06: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
6092ae06gen_ai.usage.output_tokensSpan 6092ae06: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
8c21fbf3gen_ai.usage.input_tokensSpan 8c21fbf3: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8c21fbf3gen_ai.usage.output_tokensSpan 8c21fbf3: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
c4d79497gen_ai.usage.input_tokensSpan c4d79497: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
c4d79497gen_ai.usage.output_tokensSpan c4d79497: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
6092ae06gen_ai.usage.input_tokensinput_tokens must exist
6092ae06gen_ai.usage.output_tokensoutput_tokens must exist
6092ae06gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
6092ae06gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8c21fbf3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
c4d79497gen_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.nameCaptured Spans (7)
[
{
"span_id": "b42ef63187c0f68f",
"trace_id": "2c3d3f057792507c4f6bb42994b2b758",
"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": "cb2973bd65f90a6d",
"start_timestamp": 1779953679.623,
"timestamp": 1779953679.804694,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "cd12294d580416ba",
"trace_id": "2c3d3f057792507c4f6bb42994b2b758",
"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": "cb2973bd65f90a6d",
"start_timestamp": 1779953679.85,
"timestamp": 1779953679.9671745,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "136b1474dafecc46",
"trace_id": "2c3d3f057792507c4f6bb42994b2b758",
"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": "cb2973bd65f90a6d",
"start_timestamp": 1779953679.984,
"timestamp": 1779953680.0920436,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "cb2973bd65f90a6d",
"trace_id": "2c3d3f057792507c4f6bb42994b2b758",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953679.593,
"timestamp": 1779953680.098137,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "6092ae060d994220",
"trace_id": "2c3d3f057792507c4f6bb42994b2b758",
"parent_span_id": "cb2973bd65f90a6d",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953679.601,
"timestamp": 1779953679.8159547,
"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": "8c21fbf3b0b97cd4",
"trace_id": "2c3d3f057792507c4f6bb42994b2b758",
"parent_span_id": "cb2973bd65f90a6d",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953679.848,
"timestamp": 1779953679.970588,
"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": "c4d79497455fc93f",
"trace_id": "2c3d3f057792507c4f6bb42994b2b758",
"parent_span_id": "cb2973bd65f90a6d",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953679.982,
"timestamp": 1779953680.0932076,
"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 13421ms
Critical
checkChatSpanAttributes
1fd192dcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
1fd192dcgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
1fd192dcgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"span_id": "925442a169295eff",
"trace_id": "f83c90eba3089f93b81221c66818fee6",
"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": "1f054e5992d74da2",
"start_timestamp": 1779953681.913,
"timestamp": 1779953682.5669234,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "1f054e5992d74da2",
"trace_id": "f83c90eba3089f93b81221c66818fee6",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953681.83,
"timestamp": 1779953682.598446,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "1fd192dcdf7aa5f8",
"trace_id": "f83c90eba3089f93b81221c66818fee6",
"parent_span_id": "1f054e5992d74da2",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953681.856,
"timestamp": 1779953682.5846915,
"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-DkPYIZb9z0k3EWdXkm76oR083NLnO",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langchain :: Vision LLM Test (streaming, anthropic) 1 1 13537ms
Critical
checkChatSpanAttributes
7dfd697egen_ai.usage.input_tokensSpan 7dfd697e: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
7dfd697egen_ai.usage.output_tokensSpan 7dfd697e: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
7dfd697egen_ai.usage.input_tokensinput_tokens must exist
7dfd697egen_ai.usage.output_tokensoutput_tokens must exist
7dfd697egen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
7dfd697egen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "65ef2281dd93cd98",
"trace_id": "a9f3da2f00c15733be4ed82e64bec5b4",
"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": "8ed5ce9630a65399",
"start_timestamp": 1779953683.209,
"timestamp": 1779953683.3798318,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "8ed5ce9630a65399",
"trace_id": "a9f3da2f00c15733be4ed82e64bec5b4",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953683.171,
"timestamp": 1779953683.4147272,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "7dfd697e16ea9222",
"trace_id": "a9f3da2f00c15733be4ed82e64bec5b4",
"parent_span_id": "8ed5ce9630a65399",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953683.179,
"timestamp": 1779953683.3919277,
"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 13844ms
Critical
checkChatSpanAttributes
0e281b72gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0e281b72gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
0e281b72gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"span_id": "36d8c1aec5d2de34",
"trace_id": "ca5ded126bba5e495a0229f7384a2013",
"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": "c6023562855109f7",
"start_timestamp": 1779953683.139,
"timestamp": 1779953683.715587,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "c6023562855109f7",
"trace_id": "ca5ded126bba5e495a0229f7384a2013",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953683.108,
"timestamp": 1779953683.7414508,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "0e281b729598aafb",
"trace_id": "ca5ded126bba5e495a0229f7384a2013",
"parent_span_id": "c6023562855109f7",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953683.116,
"timestamp": 1779953683.7350175,
"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-DkPYJQdT8fBcSDmHzzRLxwTfynfJ9",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langchain :: Vision LLM Test (blocking, anthropic) 1 1 12557ms
Critical
checkChatSpanAttributes
b85c9c25gen_ai.usage.input_tokensSpan b85c9c25: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b85c9c25gen_ai.usage.output_tokensSpan b85c9c25: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
b85c9c25gen_ai.usage.input_tokensinput_tokens must exist
b85c9c25gen_ai.usage.output_tokensoutput_tokens must exist
b85c9c25gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
b85c9c25gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "dd2683ba88eacde3",
"trace_id": "aa84a8e109b1169d351c532c27d0f836",
"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": "37dfff2bedafb211",
"start_timestamp": 1779953682.392,
"timestamp": 1779953682.5719569,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "37dfff2bedafb211",
"trace_id": "aa84a8e109b1169d351c532c27d0f836",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953682.356,
"timestamp": 1779953682.5961335,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "b85c9c25fdb5c6df",
"trace_id": "aa84a8e109b1169d351c532c27d0f836",
"parent_span_id": "37dfff2bedafb211",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953682.365,
"timestamp": 1779953682.5794024,
"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 13853ms
Critical
checkChatSpanAttributes
f0b4d4f2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
f0b4d4f2gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
f0b4d4f2gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"span_id": "bf933a447b4e0b1f",
"trace_id": "8e2f5837629cf26e0c6dbdc1a0bd2f9c",
"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": "4e38ebe4dbcb749b",
"start_timestamp": 1779953683.254,
"timestamp": 1779953684.380217,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "4e38ebe4dbcb749b",
"trace_id": "8e2f5837629cf26e0c6dbdc1a0bd2f9c",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953683.208,
"timestamp": 1779953684.395524,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "f0b4d4f28c047096",
"trace_id": "8e2f5837629cf26e0c6dbdc1a0bd2f9c",
"parent_span_id": "4e38ebe4dbcb749b",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953683.22,
"timestamp": 1779953684.3892045,
"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 repeatedly states that it is a test message designed to create a very long input through continuous repetition.\"]",
"gen_ai.usage.input_tokens": 5429,
"gen_ai.usage.output_tokens": 21,
"gen_ai.usage.total_tokens": 5450,
"gen_ai.response.id": "chatcmpl-DkPYJGJHYvV3nsaLiUu8SDlbrCn8B",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langchain :: Long Input LLM Test (streaming, anthropic) 1 13630ms
Critical
checkChatSpanAttributes
49b87fd6gen_ai.usage.input_tokensSpan 49b87fd6: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
49b87fd6gen_ai.usage.output_tokensSpan 49b87fd6: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
49b87fd6gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "508b3e5f37867d66",
"trace_id": "2b1e69a06381787a4941ce03d4f9bffc",
"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": "8ecedd7d75c5e2c6",
"start_timestamp": 1779953684.506,
"timestamp": 1779953684.7401273,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "8ecedd7d75c5e2c6",
"trace_id": "2b1e69a06381787a4941ce03d4f9bffc",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953684.4,
"timestamp": 1779953684.764356,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "49b87fd6c2605742",
"trace_id": "2b1e69a06381787a4941ce03d4f9bffc",
"parent_span_id": "8ecedd7d75c5e2c6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953684.435,
"timestamp": 1779953684.7475421,
"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 14361ms
Critical
checkChatSpanAttributes
3a7bb3f1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
3a7bb3f1gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
3a7bb3f1gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(1 span)Captured Spans (3)
[
{
"span_id": "ea65093225cbe651",
"trace_id": "8c5d73bc03e922700db3330477ce62f3",
"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": "e591d244b7c5ad5a",
"start_timestamp": 1779953684.6,
"timestamp": 1779953685.61289,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "e591d244b7c5ad5a",
"trace_id": "8c5d73bc03e922700db3330477ce62f3",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953684.536,
"timestamp": 1779953685.6192644,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "3a7bb3f1d854bc9c",
"trace_id": "8c5d73bc03e922700db3330477ce62f3",
"parent_span_id": "e591d244b7c5ad5a",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953684.554,
"timestamp": 1779953685.6179178,
"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 message repeatedly emphasizes that it is a test message being repeated multiple times to generate a lengthy input.\"]",
"gen_ai.usage.input_tokens": 5429,
"gen_ai.usage.output_tokens": 20,
"gen_ai.usage.total_tokens": 5449,
"gen_ai.response.id": "chatcmpl-DkPYKw3uXLH4DQaM7GjaruLNLDjCs",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langchain :: Long Input LLM Test (blocking, anthropic) 1 13645ms
Critical
checkChatSpanAttributes
833802adgen_ai.usage.input_tokensSpan 833802ad: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
833802adgen_ai.usage.output_tokensSpan 833802ad: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
833802adgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "268d6babcef050f4",
"trace_id": "c57fa1009643b95c2bdb3cf16f99b5a4",
"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": "b8650413fd681ade",
"start_timestamp": 1779953684.653,
"timestamp": 1779953684.9194756,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "b8650413fd681ade",
"trace_id": "c57fa1009643b95c2bdb3cf16f99b5a4",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953684.62,
"timestamp": 1779953684.9343536,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "833802ad99c608cb",
"trace_id": "c57fa1009643b95c2bdb3cf16f99b5a4",
"parent_span_id": "b8650413fd681ade",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953684.63,
"timestamp": 1779953684.926663,
"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 110246ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
33ffbe3egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
33ffbe3egen_ai.output.messagesMissing output messages attribute
8df0195cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8df0195cgen_ai.output.messagesMissing output messages attribute
294aa893gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
294aa893gen_ai.output.messagesMissing output messages attribute
d1824c71gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d1824c71gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
33ffbe3egen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8df0195cgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
294aa893gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
d1824c71gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(4 spans)Captured Spans (9)
[
{
"span_id": "0d403dff4502ea9a",
"trace_id": "e69eddc65c24d18472f4e9902bbe7a0a",
"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": "7d583cde78992ba4",
"start_timestamp": 1779953684.901,
"timestamp": 1779953686.0948734,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "49f8014fa8a182f6",
"trace_id": "e69eddc65c24d18472f4e9902bbe7a0a",
"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": "7d583cde78992ba4",
"start_timestamp": 1779953686.105,
"timestamp": 1779953687.8245094,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "95c9dad98f0c146b",
"trace_id": "e69eddc65c24d18472f4e9902bbe7a0a",
"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": "7d583cde78992ba4",
"start_timestamp": 1779953687.827,
"timestamp": 1779953689.1313562,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "8450580d790704f5",
"trace_id": "e69eddc65c24d18472f4e9902bbe7a0a",
"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": "7d583cde78992ba4",
"start_timestamp": 1779953689.134,
"timestamp": 1779953691.8224132,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "7d583cde78992ba4",
"trace_id": "e69eddc65c24d18472f4e9902bbe7a0a",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953684.845,
"timestamp": 1779953691.823079,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "33ffbe3eb55ef11c",
"trace_id": "e69eddc65c24d18472f4e9902bbe7a0a",
"parent_span_id": "7d583cde78992ba4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953684.854,
"timestamp": 1779953686.0992393,
"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-DkPYLxlzVQvW1lmFyyszRvXFMwSX7",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8df0195ca445852d",
"trace_id": "e69eddc65c24d18472f4e9902bbe7a0a",
"parent_span_id": "7d583cde78992ba4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953686.103,
"timestamp": 1779953687.8250694,
"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. It’s the sum of two and two: two plus two equals four. If you’d like, I can show a quick mental math trick or a few more examples.\"]",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 237,
"gen_ai.usage.total_tokens": 261,
"gen_ai.response.id": "chatcmpl-DkPYMSSAMMoIiWYUphfz9aNkIdyqY",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "294aa8930f9639e3",
"trace_id": "e69eddc65c24d18472f4e9902bbe7a0a",
"parent_span_id": "7d583cde78992ba4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953687.826,
"timestamp": 1779953689.1317768,
"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-DkPYNTcWL14R9QlB4wxEBJA81x4cx",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "d1824c716a4932ea",
"trace_id": "e69eddc65c24d18472f4e9902bbe7a0a",
"parent_span_id": "7d583cde78992ba4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953689.133,
"timestamp": 1779953691.822743,
"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.\\n\\nReason: adding two groups of three gives six. (2 × 3 = 6). For example, if you have 3 apples and get 3 more, you have 6 apples.\"]",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 377,
"gen_ai.usage.total_tokens": 427,
"gen_ai.response.id": "chatcmpl-DkPYP0LYYtegd4kKKu0pkAU6MerRA",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langchain :: Conversation ID LLM Test (streaming, anthropic) 1 1 12669ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
2ba08ed8gen_ai.usage.input_tokensSpan 2ba08ed8: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
2ba08ed8gen_ai.usage.output_tokensSpan 2ba08ed8: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
ccbd8725gen_ai.usage.input_tokensSpan ccbd8725: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
ccbd8725gen_ai.usage.output_tokensSpan ccbd8725: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
c6f317d6gen_ai.usage.input_tokensSpan c6f317d6: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
c6f317d6gen_ai.usage.output_tokensSpan c6f317d6: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
3adf443bgen_ai.usage.input_tokensSpan 3adf443b: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
3adf443bgen_ai.usage.output_tokensSpan 3adf443b: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
2ba08ed8gen_ai.usage.input_tokensinput_tokens must exist
2ba08ed8gen_ai.usage.output_tokensoutput_tokens must exist
2ba08ed8gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
2ba08ed8gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
ccbd8725gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
c6f317d6gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
3adf443bgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "8aa4a96f2f811113",
"trace_id": "10b38ae756483fa218fa66bc56bb3830",
"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": "f498718d97c09c92",
"start_timestamp": 1779953683.855,
"timestamp": 1779953684.0364609,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "cba1810e3ec8458d",
"trace_id": "10b38ae756483fa218fa66bc56bb3830",
"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": "f498718d97c09c92",
"start_timestamp": 1779953684.053,
"timestamp": 1779953684.1684377,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "f2cb616bd43e1b3c",
"trace_id": "10b38ae756483fa218fa66bc56bb3830",
"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": "f498718d97c09c92",
"start_timestamp": 1779953684.176,
"timestamp": 1779953684.2872536,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "3852d6da2ed4ff2b",
"trace_id": "10b38ae756483fa218fa66bc56bb3830",
"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": "f498718d97c09c92",
"start_timestamp": 1779953684.299,
"timestamp": 1779953684.4047446,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "f498718d97c09c92",
"trace_id": "10b38ae756483fa218fa66bc56bb3830",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953683.81,
"timestamp": 1779953684.4117246,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "2ba08ed89a70f96f",
"trace_id": "10b38ae756483fa218fa66bc56bb3830",
"parent_span_id": "f498718d97c09c92",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953683.824,
"timestamp": 1779953684.0405557,
"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": "ccbd8725386f669b",
"trace_id": "10b38ae756483fa218fa66bc56bb3830",
"parent_span_id": "f498718d97c09c92",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953684.051,
"timestamp": 1779953684.1702094,
"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": "c6f317d67df05456",
"trace_id": "10b38ae756483fa218fa66bc56bb3830",
"parent_span_id": "f498718d97c09c92",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953684.174,
"timestamp": 1779953684.2879512,
"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": "3adf443b55b42dc9",
"trace_id": "10b38ae756483fa218fa66bc56bb3830",
"parent_span_id": "f498718d97c09c92",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953684.298,
"timestamp": 1779953684.4091656,
"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 110881ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
2798d4a8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
2798d4a8gen_ai.output.messagesMissing output messages attribute
502792begen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
502792begen_ai.output.messagesMissing output messages attribute
b43602a7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b43602a7gen_ai.output.messagesMissing output messages attribute
c09dd38fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c09dd38fgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
2798d4a8gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
502792begen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b43602a7gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
c09dd38fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.response.stop_reason(4 spans)Captured Spans (9)
[
{
"span_id": "377b1c569bea993d",
"trace_id": "a64c0587c7c7a6d7d3e6a96412f5b40d",
"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": "6f87a52d0a0b0ec4",
"start_timestamp": 1779953685.232,
"timestamp": 1779953688.0995815,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "300c14bbda059b6e",
"trace_id": "a64c0587c7c7a6d7d3e6a96412f5b40d",
"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": "6f87a52d0a0b0ec4",
"start_timestamp": 1779953688.105,
"timestamp": 1779953689.9499323,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "763303cb7a71bb72",
"trace_id": "a64c0587c7c7a6d7d3e6a96412f5b40d",
"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": "6f87a52d0a0b0ec4",
"start_timestamp": 1779953689.955,
"timestamp": 1779953691.57506,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "e167a5242eb60c14",
"trace_id": "a64c0587c7c7a6d7d3e6a96412f5b40d",
"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": "6f87a52d0a0b0ec4",
"start_timestamp": 1779953691.579,
"timestamp": 1779953693.5577157,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "6f87a52d0a0b0ec4",
"trace_id": "a64c0587c7c7a6d7d3e6a96412f5b40d",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953685.202,
"timestamp": 1779953693.5581992,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "2798d4a8ed8889d2",
"trace_id": "a64c0587c7c7a6d7d3e6a96412f5b40d",
"parent_span_id": "6f87a52d0a0b0ec4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953685.209,
"timestamp": 1779953688.102093,
"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": 331,
"gen_ai.usage.total_tokens": 354,
"gen_ai.response.id": "chatcmpl-DkPYLX4ogKc0cBYBFvWQfSTA2qF77",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "502792be00e9e6dc",
"trace_id": "a64c0587c7c7a6d7d3e6a96412f5b40d",
"parent_span_id": "6f87a52d0a0b0ec4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953688.103,
"timestamp": 1779953689.9510596,
"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, I can show a quick check (e.g., on a number line or with objects) or explore more addition examples.\"]",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 232,
"gen_ai.usage.total_tokens": 256,
"gen_ai.response.id": "chatcmpl-DkPYOPnVOugkWxe4rUpw2VFH4XDLQ",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b43602a782a4e9b4",
"trace_id": "a64c0587c7c7a6d7d3e6a96412f5b40d",
"parent_span_id": "6f87a52d0a0b0ec4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953689.953,
"timestamp": 1779953691.5757732,
"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": "[\"Berlin. Would you like more info about Germany?\"]",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 211,
"gen_ai.usage.total_tokens": 255,
"gen_ai.response.id": "chatcmpl-DkPYQ7gO6bliFWJDynthrfi924qxQ",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "c09dd38f648e8119",
"trace_id": "a64c0587c7c7a6d7d3e6a96412f5b40d",
"parent_span_id": "6f87a52d0a0b0ec4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953691.577,
"timestamp": 1779953693.558141,
"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.\\n\\nIt's the same as doubling 3. If you want, I can show more examples or explain with a number line.\"]",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 233,
"gen_ai.usage.total_tokens": 283,
"gen_ai.response.id": "chatcmpl-DkPYRlCtZsLQQHV6oTNCuxYbbHi1A",
"gen_ai.response.stop_reason": "stop"
},
"status": "ok",
"is_segment": false
}
]node/langchain :: Conversation ID LLM Test (blocking, anthropic) 1 1 13096ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
7291ad51gen_ai.usage.input_tokensSpan 7291ad51: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
7291ad51gen_ai.usage.output_tokensSpan 7291ad51: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
0bd8c121gen_ai.usage.input_tokensSpan 0bd8c121: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
0bd8c121gen_ai.usage.output_tokensSpan 0bd8c121: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
2058909cgen_ai.usage.input_tokensSpan 2058909c: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
2058909cgen_ai.usage.output_tokensSpan 2058909c: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
5900baaagen_ai.usage.input_tokensSpan 5900baaa: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
5900baaagen_ai.usage.output_tokensSpan 5900baaa: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
7291ad51gen_ai.usage.input_tokensinput_tokens must exist
7291ad51gen_ai.usage.output_tokensoutput_tokens must exist
7291ad51gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
7291ad51gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
0bd8c121gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
2058909cgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
5900baaagen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "34f0d83c00cf44a9",
"trace_id": "a0e886e0f3cd98ccf93f915438ee9064",
"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": "e5848f2e352aab7a",
"start_timestamp": 1779953685.23,
"timestamp": 1779953685.3978846,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "d74672a58408aa57",
"trace_id": "a0e886e0f3cd98ccf93f915438ee9064",
"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": "e5848f2e352aab7a",
"start_timestamp": 1779953685.445,
"timestamp": 1779953685.5532672,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "d3bfcd94d290644a",
"trace_id": "a0e886e0f3cd98ccf93f915438ee9064",
"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": "e5848f2e352aab7a",
"start_timestamp": 1779953685.563,
"timestamp": 1779953685.665329,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "07655d231eb8ffd4",
"trace_id": "a0e886e0f3cd98ccf93f915438ee9064",
"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": "e5848f2e352aab7a",
"start_timestamp": 1779953685.676,
"timestamp": 1779953685.7781417,
"status": "invalid_argument",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "e5848f2e352aab7a",
"trace_id": "a0e886e0f3cd98ccf93f915438ee9064",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953685.201,
"timestamp": 1779953685.7817311,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "7291ad513a477cb0",
"trace_id": "a0e886e0f3cd98ccf93f915438ee9064",
"parent_span_id": "e5848f2e352aab7a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953685.208,
"timestamp": 1779953685.4128683,
"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": "0bd8c1212da6d9b0",
"trace_id": "a0e886e0f3cd98ccf93f915438ee9064",
"parent_span_id": "e5848f2e352aab7a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953685.439,
"timestamp": 1779953685.5548377,
"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": "2058909c37f6a6f2",
"trace_id": "a0e886e0f3cd98ccf93f915438ee9064",
"parent_span_id": "e5848f2e352aab7a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953685.562,
"timestamp": 1779953685.669866,
"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": "5900baaac5928052",
"trace_id": "a0e886e0f3cd98ccf93f915438ee9064",
"parent_span_id": "e5848f2e352aab7a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953685.675,
"timestamp": 1779953685.7790554,
"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) 13953ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
0fd53643gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0fd53643gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"span_id": "ae496059cad6ed18",
"trace_id": "3ddc864ea671b132c35a76b1d0c20b6b",
"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": "0fd536436a41070d",
"start_timestamp": 1779953686.867,
"timestamp": 1779953688.927932,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "1850793702e41dd2",
"trace_id": "3ddc864ea671b132c35a76b1d0c20b6b",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953686.796,
"timestamp": 1779953688.9297445,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "0fd536436a41070d",
"trace_id": "3ddc864ea671b132c35a76b1d0c20b6b",
"parent_span_id": "1850793702e41dd2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953686.805,
"timestamp": 1779953688.9292877,
"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-DkPYNo7xzH3Mn6peNcpo44R89rrDW",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 267,
"gen_ai.usage.total_tokens": 290,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "Paris."
},
"status": "ok",
"is_segment": false
}
]node/openai :: Basic LLM Test (streaming, responses) 13563ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
aba09a08gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aba09a08gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"span_id": "7abe9862cfc63297",
"trace_id": "44e6bfaa96828254c9a25237bd73a9c4",
"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": "aba09a08b551eef9",
"start_timestamp": 1779953687.168,
"timestamp": 1779953689.0559957,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "698e783ff8170955",
"trace_id": "44e6bfaa96828254c9a25237bd73a9c4",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953687.143,
"timestamp": 1779953689.0582156,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "aba09a08b551eef9",
"trace_id": "44e6bfaa96828254c9a25237bd73a9c4",
"parent_span_id": "698e783ff8170955",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953687.146,
"timestamp": 1779953689.0579555,
"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_0352d70a1480a792006a17f017459c8190952429d8c24b90d4",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 257,
"gen_ai.usage.total_tokens": 280,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Paris.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0352d70a1480a792006a17f017895c819099773336bf549c47\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0352d70a1480a792006a17f018befc8190a3ede755b0318166\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]node/openai :: Basic LLM Test (blocking, chat) 13265ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
28959e80gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
28959e80gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "7e278682b10bce99",
"trace_id": "bb5847a4164c0b0d337e9f3c59e74cf9",
"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": "28959e80bcf30096",
"start_timestamp": 1779953687.543,
"timestamp": 1779953688.766046,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "42f57a3f2bd6f153",
"trace_id": "bb5847a4164c0b0d337e9f3c59e74cf9",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953687.5,
"timestamp": 1779953688.7686718,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "28959e80bcf30096",
"trace_id": "bb5847a4164c0b0d337e9f3c59e74cf9",
"parent_span_id": "42f57a3f2bd6f153",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953687.508,
"timestamp": 1779953688.7684524,
"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-DkPYNjhWA4skB0Yire6glcFgVnxv2",
"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) 14281ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
674a97abgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
674a97abgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "52147ead47847e5d",
"trace_id": "3394e9e94c8805deb801538e0d4273f3",
"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": "674a97ab3fa0ea22",
"start_timestamp": 1779953687.723,
"timestamp": 1779953689.9206023,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "575c5db59037c6c8",
"trace_id": "3394e9e94c8805deb801538e0d4273f3",
"op": "test",
"description": "basic-llm-test",
"start_timestamp": 1779953687.701,
"timestamp": 1779953689.92593,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "674a97ab3fa0ea22",
"trace_id": "3394e9e94c8805deb801538e0d4273f3",
"parent_span_id": "575c5db59037c6c8",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953687.704,
"timestamp": 1779953689.925151,
"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_0240fead797fbfc5006a17f017d2408194b7f1117767547d65",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 329,
"gen_ai.usage.total_tokens": 352,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Paris."
},
"status": "ok",
"is_segment": false
}
]node/openai :: Multi-Turn LLM Test (streaming, chat) 120962ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
b8e980cegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8e980cegen_ai.output.messagesMissing output messages attribute
c4817b1agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c4817b1agen_ai.output.messagesMissing output messages attribute
7991fd76gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7991fd76gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(3 spans)Captured Spans (7)
[
{
"span_id": "045edba9babf8977",
"trace_id": "1fbaea3056c258d6396a30e0142f08f7",
"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": "b8e980ced5ce5e10",
"start_timestamp": 1779953697.205,
"timestamp": 1779953706.604087,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "9dd53d4879973f86",
"trace_id": "1fbaea3056c258d6396a30e0142f08f7",
"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": "c4817b1a1ec2cb4a",
"start_timestamp": 1779953687.633,
"timestamp": 1779953689.303816,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "0fd9ad9af9852f80",
"trace_id": "1fbaea3056c258d6396a30e0142f08f7",
"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": "7991fd76f481250b",
"start_timestamp": 1779953689.308,
"timestamp": 1779953697.2026744,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "2592fbae225be0bc",
"trace_id": "1fbaea3056c258d6396a30e0142f08f7",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953687.609,
"timestamp": 1779953706.6047175,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "b8e980ced5ce5e10",
"trace_id": "1fbaea3056c258d6396a30e0142f08f7",
"parent_span_id": "2592fbae225be0bc",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953697.204,
"timestamp": 1779953706.60475,
"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-DkPYXGCwQwRymJWPFF2MPXcO1qaWy",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1791,
"gen_ai.usage.total_tokens": 1872,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "It depends on how you define “metropolitan area.” Here are common estimates:\n\n- Île-de-France (Greater Paris): about 12.3 million people (latest years around 2023).\n- Paris urban area (aire urbaine, per INSEE): roughly around 12 million.\n- Paris functional urban area / metro area (FUA, Eurostat/OECD): about 11–11.5 million.\n\nSo, typically around 12 million, but the exact number varies by definition and year. Want me to pull the latest figure for a specific definition and year?"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "c4817b1a1ec2cb4a",
"trace_id": "1fbaea3056c258d6396a30e0142f08f7",
"parent_span_id": "2592fbae225be0bc",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953687.612,
"timestamp": 1779953689.306107,
"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-DkPYNnYeRDHqn6XT7nFtGkSb5S1lX",
"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": "7991fd76f481250b",
"trace_id": "1fbaea3056c258d6396a30e0142f08f7",
"parent_span_id": "2592fbae225be0bc",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953689.307,
"timestamp": 1779953697.2033715,
"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-DkPYPr9btyX3TPKU35WJ64zz7jeQe",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1499,
"gen_ai.usage.total_tokens": 1547,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "Paris has different population figures depending on definition:\n\n- City proper (the Paris commune): about 2.1 million residents.\n- Paris urban area / metropolitan area (aire urbaine): roughly 12 million.\n- Île-de-France region (greater Paris): about 12.6 million.\n\nWhich definition would you like the exact figure for, or should I pull the latest numbers for a specific one?"
},
"status": "ok",
"is_segment": false
}
]node/openai :: Multi-Turn LLM Test (streaming, responses) 119424ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
7c480753gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7c480753gen_ai.output.messagesMissing output messages attribute
78bd0755gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
78bd0755gen_ai.output.messagesMissing output messages attribute
b1e0082bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1e0082bgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.tool_calls(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(3 spans)Captured Spans (7)
[
{
"span_id": "6aaf2387305f2955",
"trace_id": "081588611aa9387a47f176aa2b6becec",
"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": "7c48075359047d11",
"start_timestamp": 1779953697.029,
"timestamp": 1779953705.1979518,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "a94b58c54ac3bb2f",
"trace_id": "081588611aa9387a47f176aa2b6becec",
"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": "78bd0755bf887e5b",
"start_timestamp": 1779953687.739,
"timestamp": 1779953688.9103444,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "de69be67ceb248ec",
"trace_id": "081588611aa9387a47f176aa2b6becec",
"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": "b1e0082b8b735d29",
"start_timestamp": 1779953688.915,
"timestamp": 1779953697.027531,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "17458ff62fbb1525",
"trace_id": "081588611aa9387a47f176aa2b6becec",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953687.722,
"timestamp": 1779953705.2005563,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "7c48075359047d11",
"trace_id": "081588611aa9387a47f176aa2b6becec",
"parent_span_id": "17458ff62fbb1525",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953697.028,
"timestamp": 1779953705.1986756,
"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_0b56c1d206142a83006a17f0211298819394ee16044157940a",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1595,
"gen_ai.usage.total_tokens": 1676,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "If you mean the Paris metropolitan area, the common figure is about 12.5 million people (Paris urban area / aire urbaine).\n\nIf you mean the broader Île-de-France region (the administrative region that includes Paris and its suburbs), that’s roughly 12–13 million.\n\nDefinitions vary (aire urbaine vs. unité urbaine vs. région administrative), so precise numbers depend on the source and year. If you specify which definition and year you want, I can give a precise figure.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0b56c1d206142a83006a17f0214c448193823c19af33c5b80c\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0b56c1d206142a83006a17f0285538819380d1e2d11441f2ed\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"If you mean the Paris metropolitan area, the common figure is about 12.5 million people (Paris urban area / aire urbaine).\\n\\nIf you mean the broader Île-de-France region (the administrative region that includes Paris and its suburbs), that’s roughly 12–13 million.\\n\\nDefinitions vary (aire urbaine vs. unité urbaine vs. région administrative), so precise numbers depend on the source and year. If you specify which definition and year you want, I can give a precise figure.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "78bd0755bf887e5b",
"trace_id": "081588611aa9387a47f176aa2b6becec",
"parent_span_id": "17458ff62fbb1525",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953687.724,
"timestamp": 1779953688.9125488,
"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_07cf1b5d66726dcd006a17f017d7008195afb2befde2caf0a2",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 112,
"gen_ai.usage.total_tokens": 135,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Paris",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_07cf1b5d66726dcd006a17f01818c88195ac6581310f78e3e0\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_07cf1b5d66726dcd006a17f018a4788195a05942d41798167d\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b1e0082b8b735d29",
"trace_id": "081588611aa9387a47f176aa2b6becec",
"parent_span_id": "17458ff62fbb1525",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953688.914,
"timestamp": 1779953697.0283437,
"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_02e54117a038b633006a17f018f5888197adb70e3e3e557b24",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1240,
"gen_ai.usage.total_tokens": 1288,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Paris (city proper) has about 2.1 million residents. If you mean the wider Paris region, the metropolitan area is about 12 million. Want a specific year or a more precise figure for a particular definition (city proper, metro area, or Grand Paris)?",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_02e54117a038b633006a17f01959348197b41daaa02ff2dae3\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_02e54117a038b633006a17f020706481978677520296fe3801\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris (city proper) has about 2.1 million residents. If you mean the wider Paris region, the metropolitan area is about 12 million. Want a specific year or a more precise figure for a particular definition (city proper, metro area, or Grand Paris)?\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]node/openai :: Multi-Turn LLM Test (blocking, chat) 117914ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
c39b4feagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c39b4feagen_ai.output.messagesMissing output messages attribute
adc9887agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
adc9887agen_ai.output.messagesMissing output messages attribute
dbe60f33gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
dbe60f33gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"span_id": "46a0e0bfc2f6b570",
"trace_id": "68bf6e871f2788f0305f388fc40b07d6",
"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": "c39b4fea254995f3",
"start_timestamp": 1779953696.503,
"timestamp": 1779953703.7704232,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "6462cbbc7f17b113",
"trace_id": "68bf6e871f2788f0305f388fc40b07d6",
"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": "adc9887a28af31c3",
"start_timestamp": 1779953687.546,
"timestamp": 1779953689.4882522,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "70242f91f3287df0",
"trace_id": "68bf6e871f2788f0305f388fc40b07d6",
"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": "dbe60f33c3c74120",
"start_timestamp": 1779953689.495,
"timestamp": 1779953696.4911013,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "24bed5e10fadc437",
"trace_id": "68bf6e871f2788f0305f388fc40b07d6",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953687.524,
"timestamp": 1779953703.7712314,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "c39b4fea254995f3",
"trace_id": "68bf6e871f2788f0305f388fc40b07d6",
"parent_span_id": "24bed5e10fadc437",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953696.5,
"timestamp": 1779953703.7708275,
"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-DkPYWHet1cJQsaafVri0kBGnFvI08",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1290,
"gen_ai.usage.total_tokens": 1371,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"Roughly around 12 million people, but the exact number depends on how you define \\\"metropolitan area.\\\"\\n\\n- Aire urbaine de Paris (the Paris urban area): about 12.0–12.5 million in recent years.\\n- Île-de-France region (the wider administrative region around Paris): about 12.3–12.7 million.\\n- In some English sources, \\\"Paris metropolitan area\\\" can be taken as 11–12 million.\\n\\nIf you tell me which definition or year you want (e.g., Eurostat/OECD definitions or a specific census year), I can give a precise figure.\"]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "adc9887a28af31c3",
"trace_id": "68bf6e871f2788f0305f388fc40b07d6",
"parent_span_id": "24bed5e10fadc437",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953687.527,
"timestamp": 1779953689.4926353,
"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-DkPYNHOZIEtT6YY4zdCkR0YKOCXz0",
"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": "dbe60f33c3c74120",
"trace_id": "68bf6e871f2788f0305f388fc40b07d6",
"parent_span_id": "24bed5e10fadc437",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953689.493,
"timestamp": 1779953696.4995432,
"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-DkPYPuz6VHaIbweWbGKoUZzbOPjxI",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1308,
"gen_ai.usage.total_tokens": 1356,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"About 2.1 million people live in the city proper of Paris (the commune).\\n\\nIf you mean the wider Paris metropolitan area, the population is much larger—roughly 12 million in the Île-de-France region (the wider Paris region) as of recent estimates. \\n\\nIf you want a specific year or a different definition (urban area vs. region), tell me and I’ll provide precise figures.\"]"
},
"status": "ok",
"is_segment": false
}
]node/openai :: Multi-Turn LLM Test (blocking, responses) 118078ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
6b1d71f7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
6b1d71f7gen_ai.output.messagesMissing output messages attribute
579cadb1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
579cadb1gen_ai.output.messagesMissing output messages attribute
c81e0957gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c81e0957gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"span_id": "f97166835eb7a4c3",
"trace_id": "030dca1f5814e6d7eebf876b90de684c",
"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": "6b1d71f77e9d18c9",
"start_timestamp": 1779953698.275,
"timestamp": 1779953704.057153,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "f42b3c1b0b4fa5d2",
"trace_id": "030dca1f5814e6d7eebf876b90de684c",
"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": "579cadb1efc067d1",
"start_timestamp": 1779953687.821,
"timestamp": 1779953689.31448,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "a60e979d91844c69",
"trace_id": "030dca1f5814e6d7eebf876b90de684c",
"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": "c81e09576ba70897",
"start_timestamp": 1779953689.321,
"timestamp": 1779953698.2725298,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "3c57771530b2e5d7",
"trace_id": "030dca1f5814e6d7eebf876b90de684c",
"op": "test",
"description": "multi-turn-llm-test",
"start_timestamp": 1779953687.807,
"timestamp": 1779953704.0578825,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "6b1d71f77e9d18c9",
"trace_id": "030dca1f5814e6d7eebf876b90de684c",
"parent_span_id": "3c57771530b2e5d7",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953698.274,
"timestamp": 1779953704.0579002,
"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_0569378bdb78df00006a17f02255088197929523d1497fc8e5",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1212,
"gen_ai.usage.total_tokens": 1293,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Definitions vary, but commonly:\n\n- Paris city proper: about 2.2 million people.\n- Paris urban area / metropolitan area (aire urbaine): roughly 12 million.\n- Île-de-France region (the wider metro area around Paris): about 12–13 million.\n\nIf you want a precise figure for a specific year and definition, tell me which one you prefer."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "579cadb1efc067d1",
"trace_id": "030dca1f5814e6d7eebf876b90de684c",
"parent_span_id": "3c57771530b2e5d7",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953687.808,
"timestamp": 1779953689.3176785,
"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_0826bddc4fb6d327006a17f017e9fc81938d121258235b0baa",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 187,
"gen_ai.usage.total_tokens": 210,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Paris."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "c81e09576ba70897",
"trace_id": "030dca1f5814e6d7eebf876b90de684c",
"parent_span_id": "3c57771530b2e5d7",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953689.319,
"timestamp": 1779953698.2730837,
"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_02bdd9c6ac32035b006a17f0195d3c8193b7b3ad909701076f",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1377,
"gen_ai.usage.total_tokens": 1425,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Paris (the city proper) has about 2.1 million residents (roughly 2.15 million) in recent estimates. The wider Paris metropolitan area has by now around 12 million people.\n\nIf you want a precise figure for a specific year or for a specific definition (city proper vs. metro area vs. Île-de-France), tell me and I’ll look it up."
},
"status": "ok",
"is_segment": false
}
]node/openai :: Vision LLM Test (streaming, chat) 11947ms
Critical
checkChatSpanAttributes
1bf6f63fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
1bf6f63fgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"span_id": "299408021d074147",
"trace_id": "6d602e27cc7033c5a39b5805ba6325ab",
"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": "1bf6f63fbfa7ed79",
"start_timestamp": 1779953691.244,
"timestamp": 1779953692.0165427,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "3d515eac43cc4a3c",
"trace_id": "6d602e27cc7033c5a39b5805ba6325ab",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953691.225,
"timestamp": 1779953692.0192122,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "1bf6f63fbfa7ed79",
"trace_id": "6d602e27cc7033c5a39b5805ba6325ab",
"parent_span_id": "3d515eac43cc4a3c",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953691.227,
"timestamp": 1779953692.0182083,
"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-DkPYRJm9wrXeYvgGk0Y4RoZjTz8aU",
"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) 12242ms
Critical
checkChatSpanAttributes
e9c6485egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e9c6485egen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"span_id": "bcc2d84f4287aaee",
"trace_id": "febe9da528b32cb91debfb979d77a750",
"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": "e9c6485e1245fbdd",
"start_timestamp": 1779953691.58,
"timestamp": 1779953692.6095457,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "a6b8c0828ae71e6e",
"trace_id": "febe9da528b32cb91debfb979d77a750",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953691.564,
"timestamp": 1779953692.612738,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "e9c6485e1245fbdd",
"trace_id": "febe9da528b32cb91debfb979d77a750",
"parent_span_id": "a6b8c0828ae71e6e",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953691.566,
"timestamp": 1779953692.6121044,
"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_0f2ceaa235daff4b006a17f01bab44819382bd03f7d07ad41b",
"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_0f2ceaa235daff4b006a17f01c593481939db4150668852049\",\"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) 11786ms
Critical
checkChatSpanAttributes
9b731a25gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b731a25gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "c3dc2d7bbe8e6976",
"trace_id": "73f945f4a192aa75fa0aa050d656051b",
"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": "9b731a25b860feda",
"start_timestamp": 1779953691.581,
"timestamp": 1779953692.1774576,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "6102b78de88fc7ca",
"trace_id": "73f945f4a192aa75fa0aa050d656051b",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953691.563,
"timestamp": 1779953692.179861,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "9b731a25b860feda",
"trace_id": "73f945f4a192aa75fa0aa050d656051b",
"parent_span_id": "6102b78de88fc7ca",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953691.565,
"timestamp": 1779953692.179554,
"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-DkPYRne7B25XPQVzeYwujy7QLTh9C",
"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) 12038ms
Critical
checkChatSpanAttributes
d0d2a127gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d0d2a127gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "7d54fb3e503ae36b",
"trace_id": "eaf352dca1a899c879a7de6553915d17",
"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": "d0d2a1277aa72554",
"start_timestamp": 1779953692.947,
"timestamp": 1779953693.8613155,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "2bee7edeaf3cb960",
"trace_id": "eaf352dca1a899c879a7de6553915d17",
"op": "test",
"description": "vision-llm-test",
"start_timestamp": 1779953692.925,
"timestamp": 1779953693.8643162,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "d0d2a1277aa72554",
"trace_id": "eaf352dca1a899c879a7de6553915d17",
"parent_span_id": "2bee7edeaf3cb960",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953692.928,
"timestamp": 1779953693.8641965,
"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_0f8cca3a0943a1d5006a17f01d0a7c81939fd9993248d70435",
"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) 12181ms
Critical
checkChatSpanAttributes
d99f33d1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d99f33d1gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"span_id": "7edef73a2d530598",
"trace_id": "63f2624f6944e7ca0545501ff235573c",
"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": "d99f33d17c75957b",
"start_timestamp": 1779953693.202,
"timestamp": 1779953694.2034276,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "abccfed4efc11a92",
"trace_id": "63f2624f6944e7ca0545501ff235573c",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953693.179,
"timestamp": 1779953694.2077243,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "d99f33d17c75957b",
"trace_id": "63f2624f6944e7ca0545501ff235573c",
"parent_span_id": "abccfed4efc11a92",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953693.182,
"timestamp": 1779953694.2069876,
"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-DkPYTVj4ypN3s3ucPj3686ZAx61jV",
"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": "[\"stop\"]",
"gen_ai.response.text": "This message is a repeated test statement aimed at generating a lengthy input."
},
"status": "ok",
"is_segment": false
}
]node/openai :: Long Input LLM Test (streaming, responses) 14542ms
Critical
checkChatSpanAttributes
352a88a1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
352a88a1gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.response.tool_calls(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)Captured Spans (3)
[
{
"span_id": "1e3e0eb61bdd9c54",
"trace_id": "024bda275c393e521e522a805d4ece3e",
"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": "352a88a16a82b7d9",
"start_timestamp": 1779953693.316,
"timestamp": 1779953696.7176406,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "66c15cfd7741f9af",
"trace_id": "024bda275c393e521e522a805d4ece3e",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953693.301,
"timestamp": 1779953696.7206025,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "352a88a16a82b7d9",
"trace_id": "024bda275c393e521e522a805d4ece3e",
"parent_span_id": "66c15cfd7741f9af",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953693.303,
"timestamp": 1779953696.7202322,
"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_0ff4fa1c8b043f7d006a17f01d8cd88194940d824be65a77b4",
"gen_ai.response.model": "gpt-4o-mini-2024-07-18",
"gen_ai.usage.input_tokens": 5429,
"gen_ai.usage.output_tokens": 23,
"gen_ai.usage.total_tokens": 5452,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "This message repeatedly emphasizes that it is a test message intended to be repeated multiple times to create a lengthy input.",
"gen_ai.response.tool_calls": "[{\"id\":\"msg_0ff4fa1c8b043f7d006a17f01fbc8c8194b30e6bb9b7188b2e\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"This message repeatedly emphasizes that it is a test message intended to be repeated multiple times to create a lengthy input.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]node/openai :: Long Input LLM Test (blocking, chat) 11913ms
Critical
checkChatSpanAttributes
17eb054cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
17eb054cgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "a2e42ed8d3201863",
"trace_id": "ce0d3f42150f25d4d3655210998c28bf",
"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": "17eb054c8eaee225",
"start_timestamp": 1779953693.671,
"timestamp": 1779953694.5250297,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "5e5728cc3177275f",
"trace_id": "ce0d3f42150f25d4d3655210998c28bf",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953693.656,
"timestamp": 1779953694.5296266,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "17eb054c8eaee225",
"trace_id": "ce0d3f42150f25d4d3655210998c28bf",
"parent_span_id": "5e5728cc3177275f",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953693.657,
"timestamp": 1779953694.528009,
"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-DkPYT5Jxe3sWcgQKyT0WX7hbScwqa",
"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": "[\"stop\"]",
"gen_ai.response.text": "[\"The message is a repeated test statement intended to generate a long input.\"]"
},
"status": "ok",
"is_segment": false
}
]node/openai :: Long Input LLM Test (blocking, responses) 12002ms
Critical
checkChatSpanAttributes
db658b98gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
db658b98gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"span_id": "a4b59ce7fb9d22d3",
"trace_id": "1077025eddf16c6a7c41456305042149",
"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": "db658b98e1e3556f",
"start_timestamp": 1779953694.612,
"timestamp": 1779953695.5651808,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "c7ee57a3f8c69468",
"trace_id": "1077025eddf16c6a7c41456305042149",
"op": "test",
"description": "long-input-llm-test",
"start_timestamp": 1779953694.597,
"timestamp": 1779953695.5685062,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "db658b98e1e3556f",
"trace_id": "1077025eddf16c6a7c41456305042149",
"parent_span_id": "c7ee57a3f8c69468",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953694.599,
"timestamp": 1779953695.5683663,
"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_0ef18a26f8341145006a17f01eb8b48197a80f4b44fa1fa3d8",
"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 message is a repetitive test meant to create a lengthy input."
},
"status": "ok",
"is_segment": false
}
]node/openai :: Conversation ID LLM Test (streaming, chat) 18750ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
d77a3c4cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d77a3c4cgen_ai.output.messagesMissing output messages attribute
353d0baagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
353d0baagen_ai.output.messagesMissing output messages attribute
c790ae88gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c790ae88gen_ai.output.messagesMissing output messages attribute
887d71c8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
887d71c8gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(4 spans)Captured Spans (9)
[
{
"span_id": "2087011f89458be3",
"trace_id": "3fa38f17fb85cc66e4ea8241e9cc2fed",
"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": "d77a3c4cf77f7780",
"start_timestamp": 1779953699.256,
"timestamp": 1779953700.3903644,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "eefc4f7107aba871",
"trace_id": "3fa38f17fb85cc66e4ea8241e9cc2fed",
"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": "353d0baa87df5d12",
"start_timestamp": 1779953700.392,
"timestamp": 1779953702.6113565,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "f871c27c6411c359",
"trace_id": "3fa38f17fb85cc66e4ea8241e9cc2fed",
"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": "c790ae88f68b53a0",
"start_timestamp": 1779953694.945,
"timestamp": 1779953697.6467247,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "ca472f5fd7f442aa",
"trace_id": "3fa38f17fb85cc66e4ea8241e9cc2fed",
"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": "887d71c82d527ea8",
"start_timestamp": 1779953697.652,
"timestamp": 1779953699.2532477,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "433c7faaf740d06d",
"trace_id": "3fa38f17fb85cc66e4ea8241e9cc2fed",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953694.93,
"timestamp": 1779953702.6119294,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "d77a3c4cf77f7780",
"trace_id": "3fa38f17fb85cc66e4ea8241e9cc2fed",
"parent_span_id": "433c7faaf740d06d",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953699.255,
"timestamp": 1779953700.3909297,
"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-DkPYZwmqJR259gY25LDQ0Lob84Mbk",
"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": "353d0baa87df5d12",
"trace_id": "3fa38f17fb85cc66e4ea8241e9cc2fed",
"parent_span_id": "433c7faaf740d06d",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953700.391,
"timestamp": 1779953702.6114442,
"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-DkPYaaM8bB3BKeIbaTykBVRLg8be4",
"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": "6. You can think of it as two groups of 3, or 2 × 3 = 6. Want another quick example or a little practice?"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "c790ae88f68b53a0",
"trace_id": "3fa38f17fb85cc66e4ea8241e9cc2fed",
"parent_span_id": "433c7faaf740d06d",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953694.932,
"timestamp": 1779953697.6497874,
"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-DkPYVQ1nIhSmeGD6C1a5kgCVYFGqL",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 336,
"gen_ai.usage.total_tokens": 359,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "The capital of France is Paris."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "887d71c82d527ea8",
"trace_id": "3fa38f17fb85cc66e4ea8241e9cc2fed",
"parent_span_id": "433c7faaf740d06d",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953697.651,
"timestamp": 1779953699.2545123,
"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-DkPYXhUZHoJZ35XVBRqABqf0B3up9",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 228,
"gen_ai.usage.total_tokens": 252,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "4. For example, if you have two apples and you get two more, you have four apples. Want a few practice problems?"
},
"status": "ok",
"is_segment": false
}
]node/openai :: Conversation ID LLM Test (streaming, responses) 18266ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
3473b66bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
3473b66bgen_ai.output.messagesMissing output messages attribute
8161a59fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8161a59fgen_ai.output.messagesMissing output messages attribute
5f849efcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5f849efcgen_ai.output.messagesMissing output messages attribute
d47912f9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d47912f9gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.response.tool_calls(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(4 spans)Captured Spans (9)
[
{
"span_id": "d114451d1b95d8df",
"trace_id": "900fd037d312af2093e323a12e9f28dc",
"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": "3473b66bfa9f89ed",
"start_timestamp": 1779953698.91,
"timestamp": 1779953700.0035126,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "83be9cc0a790b327",
"trace_id": "900fd037d312af2093e323a12e9f28dc",
"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": "8161a59fb12137d9",
"start_timestamp": 1779953700.004,
"timestamp": 1779953702.4743016,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "b05c2ca4f1a53cec",
"trace_id": "900fd037d312af2093e323a12e9f28dc",
"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": "5f849efcd5bf93d8",
"start_timestamp": 1779953695.286,
"timestamp": 1779953696.8068082,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "f41794f0af5fac23",
"trace_id": "900fd037d312af2093e323a12e9f28dc",
"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": "d47912f9c6f96d43",
"start_timestamp": 1779953696.81,
"timestamp": 1779953698.9072945,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "589448ccd34274b7",
"trace_id": "900fd037d312af2093e323a12e9f28dc",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953695.271,
"timestamp": 1779953702.475393,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "3473b66bfa9f89ed",
"trace_id": "900fd037d312af2093e323a12e9f28dc",
"parent_span_id": "589448ccd34274b7",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953698.908,
"timestamp": 1779953700.0028687,
"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_08e0c188ef879b83006a17f022f3b08196a668a58e4cb04b93",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 140,
"gen_ai.usage.total_tokens": 184,
"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_08e0c188ef879b83006a17f0232d488196b68a61b1f7924b4f\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_08e0c188ef879b83006a17f023bcfc8196a88e662049f9678d\",\"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": "8161a59fb12137d9",
"trace_id": "900fd037d312af2093e323a12e9f28dc",
"parent_span_id": "589448ccd34274b7",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953700.004,
"timestamp": 1779953702.4753325,
"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_0a4e241e2fecf8d1006a17f0240c5481939c26c88a9251ae82",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 387,
"gen_ai.usage.total_tokens": 437,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "3 + 3 = 6.\n\nTwo groups of three make six (also 2 × 3 = 6). Want a few more practice problems?",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0a4e241e2fecf8d1006a17f0243e2481939d7f6e32cbc109e4\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0a4e241e2fecf8d1006a17f0260a248193a049e2b2e3a48a32\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"3 + 3 = 6.\\n\\nTwo groups of three make six (also 2 × 3 = 6). Want a few more practice problems?\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "5f849efcd5bf93d8",
"trace_id": "900fd037d312af2093e323a12e9f28dc",
"parent_span_id": "589448ccd34274b7",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953695.273,
"timestamp": 1779953696.8088984,
"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_06c54793f9e5b3bf006a17f01fa2048196a72274f4be342208",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 155,
"gen_ai.usage.total_tokens": 178,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "Paris.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_06c54793f9e5b3bf006a17f01fe2308196808e699384b71051\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_06c54793f9e5b3bf006a17f020840081969a290678e7a3abd7\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "d47912f9c6f96d43",
"trace_id": "900fd037d312af2093e323a12e9f28dc",
"parent_span_id": "589448ccd34274b7",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953696.809,
"timestamp": 1779953698.907928,
"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_0297bd70780f1e68006a17f020dbb88190bb2b1467bcc8aae1",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 308,
"gen_ai.usage.total_tokens": 332,
"gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
"gen_ai.response.text": "4. It’s just adding two and two to get four. If you’d like, I can show a quick visual or more examples.",
"gen_ai.response.tool_calls": "[{\"id\":\"rs_0297bd70780f1e68006a17f0212ed48190947fd0b5ba361e77\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0297bd70780f1e68006a17f022818081908f09b1ff306d1aa0\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"4. It’s just adding two and two to get four. If you’d like, I can show a quick visual or more examples.\"}],\"role\":\"assistant\"}]"
},
"status": "ok",
"is_segment": false
}
]node/openai :: Conversation ID LLM Test (blocking, chat) 17946ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
4ff775b8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
4ff775b8gen_ai.output.messagesMissing output messages attribute
bfa4e815gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bfa4e815gen_ai.output.messagesMissing output messages attribute
a505192egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a505192egen_ai.output.messagesMissing output messages attribute
dca48845gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
dca48845gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "317785c20fd69dc6",
"trace_id": "452e8c23b53e5c7b5a97815517ae4df0",
"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": "4ff775b80dea6ed6",
"start_timestamp": 1779953699.94,
"timestamp": 1779953702.4788315,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "2a41a671b0f53fd4",
"trace_id": "452e8c23b53e5c7b5a97815517ae4df0",
"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": "bfa4e81562147efa",
"start_timestamp": 1779953695.584,
"timestamp": 1779953696.4688804,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "398d16e516790e96",
"trace_id": "452e8c23b53e5c7b5a97815517ae4df0",
"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": "a505192e2fd24ef9",
"start_timestamp": 1779953696.485,
"timestamp": 1779953698.411892,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "3ee4bf98d84ea9aa",
"trace_id": "452e8c23b53e5c7b5a97815517ae4df0",
"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": "dca48845c131e779",
"start_timestamp": 1779953698.414,
"timestamp": 1779953699.937925,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "9963cfb0cd9b5117",
"trace_id": "452e8c23b53e5c7b5a97815517ae4df0",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953695.569,
"timestamp": 1779953702.480224,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "4ff775b80dea6ed6",
"trace_id": "452e8c23b53e5c7b5a97815517ae4df0",
"parent_span_id": "9963cfb0cd9b5117",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953699.939,
"timestamp": 1779953702.4795759,
"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-DkPYajadF327qIqNDH6PdPkZiq5Zt",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 432,
"gen_ai.usage.total_tokens": 482,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"6. \\n\\nExplanation: three plus three is two groups of three, which makes six. If you have three apples and get three more, you have six apples. Want a few practice problems?\"]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bfa4e81562147efa",
"trace_id": "452e8c23b53e5c7b5a97815517ae4df0",
"parent_span_id": "9963cfb0cd9b5117",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953695.57,
"timestamp": 1779953696.4824438,
"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-DkPYVreY6oSR4l2Erp9oJ3WAdbAGr",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 10,
"gen_ai.usage.total_tokens": 33,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"Paris\"]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a505192e2fd24ef9",
"trace_id": "452e8c23b53e5c7b5a97815517ae4df0",
"parent_span_id": "9963cfb0cd9b5117",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953696.484,
"timestamp": 1779953698.4131367,
"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-DkPYWbQMh7vFnAyABYLarTZKEJv3r",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 288,
"gen_ai.usage.total_tokens": 312,
"gen_ai.response.finish_reasons": "[\"stop\"]",
"gen_ai.response.text": "[\"4. Two plus two equals four.\\n\\nIf you'd like, I can show a quick explanation or give more examples.\"]"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "dca48845c131e779",
"trace_id": "452e8c23b53e5c7b5a97815517ae4df0",
"parent_span_id": "9963cfb0cd9b5117",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953698.413,
"timestamp": 1779953699.9384878,
"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-DkPYYuFR1Vj26RQDuhjq7V2lgQeBE",
"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
}
]node/openai :: Conversation ID LLM Test (blocking, responses) 111951ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
e807ca72gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e807ca72gen_ai.output.messagesMissing output messages attribute
648ef916gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
648ef916gen_ai.output.messagesMissing output messages attribute
34f456eegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
34f456eegen_ai.output.messagesMissing output messages attribute
933700aagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
933700aagen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"span_id": "3e0e65185990df8a",
"trace_id": "8f8dc88249b1743b9826d0bc6a8de176",
"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": "e807ca721081da7f",
"start_timestamp": 1779953697.789,
"timestamp": 1779953701.2947648,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "2d954c8ab0952f6e",
"trace_id": "8f8dc88249b1743b9826d0bc6a8de176",
"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": "648ef9164285c16f",
"start_timestamp": 1779953701.297,
"timestamp": 1779953705.116774,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "bb9a55f43e38208a",
"trace_id": "8f8dc88249b1743b9826d0bc6a8de176",
"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": "34f456ee81588e5f",
"start_timestamp": 1779953705.124,
"timestamp": 1779953707.5026352,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "6311099f53075fdb",
"trace_id": "8f8dc88249b1743b9826d0bc6a8de176",
"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": "933700aa71629452",
"start_timestamp": 1779953696.621,
"timestamp": 1779953697.7811778,
"status": "ok",
"op": "http.client",
"origin": "auto.http.client"
},
{
"span_id": "155435bedb9c3436",
"trace_id": "8f8dc88249b1743b9826d0bc6a8de176",
"op": "test",
"description": "conversation-id-llm-test",
"start_timestamp": 1779953696.607,
"timestamp": 1779953707.5042634,
"data": {
"sentry.source": "custom",
"sentry.sample_rate": 1,
"sentry.op": "test",
"sentry.origin": "manual"
},
"status": "ok"
},
{
"span_id": "e807ca721081da7f",
"trace_id": "8f8dc88249b1743b9826d0bc6a8de176",
"parent_span_id": "155435bedb9c3436",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953697.788,
"timestamp": 1779953701.2959225,
"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_00685fbfa1a8bace006a17f021d66481948595547dff59a4c5",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 592,
"gen_ai.usage.total_tokens": 616,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "4\n\nTwo plus two equals four. For example, 2 apples + 2 apples = 4 apples. If you’d like, I can show a quick number-line or counting method."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "648ef9164285c16f",
"trace_id": "8f8dc88249b1743b9826d0bc6a8de176",
"parent_span_id": "155435bedb9c3436",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953701.296,
"timestamp": 1779953705.1220887,
"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_09593cfbb8e8e115006a17f02558a88196acb74ce24f7d595c",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 185,
"gen_ai.usage.total_tokens": 229,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "Berlin."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "34f456ee81588e5f",
"trace_id": "8f8dc88249b1743b9826d0bc6a8de176",
"parent_span_id": "155435bedb9c3436",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953705.123,
"timestamp": 1779953707.5036144,
"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_0b8c097af72c8bf3006a17f0292a7081958aa0bbe8903d6bcd",
"gen_ai.response.model": "gpt-5-nano-2025-08-07",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 346,
"gen_ai.usage.total_tokens": 396,
"gen_ai.response.finish_reasons": "[\"completed\"]",
"gen_ai.response.text": "3 + 3 = 6.\n\nQuick check: on a number line, move 3 steps from 0, then 3 more to 6. Or think of it as doubling 3: 2 × 3 = 6. If you’d like more practice, I can give a few problems."
},
"status": "ok",
"is_segment": false
},
{
"span_id": "933700aa71629452",
"trace_id": "8f8dc88249b1743b9826d0bc6a8de176",
"parent_span_id": "155435bedb9c3436",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953696.608,
"timestamp": 1779953697.786897,
"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_08a530e4721800c9006a17f020b6b88195987fde747bd36a50",
"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
}
]python/anthropic :: Basic LLM Test (sync, streaming) 11898ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
9d3a05c3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d3a05c3gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "90cf842c82e04b1a971fe169ce28581e",
"span_id": "ae56a2818597ca33",
"parent_span_id": "9d3a05c3194ff80e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:34:57.675698Z",
"timestamp": "2026-05-28T07:34:57.676482Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20246
},
"data": {
"thread.id": "140169104743296",
"thread.name": "MainThread"
}
},
{
"trace_id": "90cf842c82e04b1a971fe169ce28581e",
"span_id": "8766dbf3a07b8494",
"parent_span_id": "9d3a05c3194ff80e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:34:57.676556Z",
"timestamp": "2026-05-28T07:34:57.677114Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20246
},
"data": {
"thread.id": "140169104743296",
"thread.name": "MainThread"
}
},
{
"trace_id": "90cf842c82e04b1a971fe169ce28581e",
"span_id": "87d309e63e20b357",
"parent_span_id": "8766dbf3a07b8494",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:34:57.677067Z",
"timestamp": "2026-05-28T07:34:57.677104Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20246
},
"data": {
"thread.id": "140169104743296",
"thread.name": "MainThread"
}
},
{
"trace_id": "90cf842c82e04b1a971fe169ce28581e",
"span_id": "86be4f6d792815d8",
"parent_span_id": "9d3a05c3194ff80e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:34:57.677138Z",
"timestamp": "2026-05-28T07:34:57.677147Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20246
},
"data": {
"thread.id": "140169104743296",
"thread.name": "MainThread"
}
},
{
"trace_id": "90cf842c82e04b1a971fe169ce28581e",
"span_id": "97f624ff7802ae66",
"parent_span_id": "9d3a05c3194ff80e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:34:57.677932Z",
"timestamp": "2026-05-28T07:34:58.260352Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140169104743296",
"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": "8a6b69f50a693d39",
"trace_id": "90cf842c82e04b1a971fe169ce28581e",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:34:57.673883Z",
"timestamp": "2026-05-28T07:34:58.340279Z",
"data": {
"thread.id": "140169104743296",
"thread.name": "MainThread"
}
},
{
"span_id": "9d3a05c3194ff80e",
"trace_id": "90cf842c82e04b1a971fe169ce28581e",
"parent_span_id": "8a6b69f50a693d39",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953697.675393,
"timestamp": 1779953698.340235,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140169104743296",
"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_01JXd9chC4P42xm44b3XvA6T",
"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": "8a6b69f50a693d39",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Basic LLM Test (sync, blocking) 12049ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
af96eda1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af96eda1gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "02be3967a4654819a1aa0e8da9b013a9",
"span_id": "bf7e18cd932bd9bd",
"parent_span_id": "af96eda13994cdff",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:34:57.702902Z",
"timestamp": "2026-05-28T07:34:57.703734Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20248
},
"data": {
"thread.id": "140263055215488",
"thread.name": "MainThread"
}
},
{
"trace_id": "02be3967a4654819a1aa0e8da9b013a9",
"span_id": "9bfab6c486956aa4",
"parent_span_id": "af96eda13994cdff",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:34:57.703815Z",
"timestamp": "2026-05-28T07:34:57.704332Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20248
},
"data": {
"thread.id": "140263055215488",
"thread.name": "MainThread"
}
},
{
"trace_id": "02be3967a4654819a1aa0e8da9b013a9",
"span_id": "ac555b39b6dfe58f",
"parent_span_id": "9bfab6c486956aa4",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:34:57.704289Z",
"timestamp": "2026-05-28T07:34:57.704321Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20248
},
"data": {
"thread.id": "140263055215488",
"thread.name": "MainThread"
}
},
{
"trace_id": "02be3967a4654819a1aa0e8da9b013a9",
"span_id": "b985f86064d8fce9",
"parent_span_id": "af96eda13994cdff",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:34:57.704357Z",
"timestamp": "2026-05-28T07:34:57.704366Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20248
},
"data": {
"thread.id": "140263055215488",
"thread.name": "MainThread"
}
},
{
"trace_id": "02be3967a4654819a1aa0e8da9b013a9",
"span_id": "a29b7d92c356442a",
"parent_span_id": "af96eda13994cdff",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:34:57.705168Z",
"timestamp": "2026-05-28T07:34:58.489246Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140263055215488",
"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": "8afb64018ec0b484",
"trace_id": "02be3967a4654819a1aa0e8da9b013a9",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:34:57.701233Z",
"timestamp": "2026-05-28T07:34:58.498645Z",
"data": {
"thread.id": "140263055215488",
"thread.name": "MainThread"
}
},
{
"span_id": "af96eda13994cdff",
"trace_id": "02be3967a4654819a1aa0e8da9b013a9",
"parent_span_id": "8afb64018ec0b484",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953697.701803,
"timestamp": 1779953698.498595,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140263055215488",
"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_01NMjxSuzJoiuTXCwC8kfUAb",
"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": "8afb64018ec0b484",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Basic LLM Test (async, streaming) 11949ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
8e0349d5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8e0349d5gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "6e38b0c8a9554402bc6bf7c12c930195",
"span_id": "81428214f72b710c",
"parent_span_id": "8e0349d50e3d85a5",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:34:57.891327Z",
"timestamp": "2026-05-28T07:34:57.892182Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20252
},
"data": {
"thread.id": "140640007427776",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6e38b0c8a9554402bc6bf7c12c930195",
"span_id": "a3c3712eae4338d8",
"parent_span_id": "8e0349d50e3d85a5",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:34:57.892235Z",
"timestamp": "2026-05-28T07:34:57.892761Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20252
},
"data": {
"thread.id": "140640007427776",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6e38b0c8a9554402bc6bf7c12c930195",
"span_id": "99d57c5553952d82",
"parent_span_id": "a3c3712eae4338d8",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:34:57.892713Z",
"timestamp": "2026-05-28T07:34:57.892755Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20252
},
"data": {
"thread.id": "140640007427776",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6e38b0c8a9554402bc6bf7c12c930195",
"span_id": "aa57bda4600a61b1",
"parent_span_id": "8e0349d50e3d85a5",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:34:57.892782Z",
"timestamp": "2026-05-28T07:34:57.892790Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20252
},
"data": {
"thread.id": "140640007427776",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6e38b0c8a9554402bc6bf7c12c930195",
"span_id": "860cbd4d8787fa59",
"parent_span_id": "8e0349d50e3d85a5",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:34:57.893895Z",
"timestamp": "2026-05-28T07:34:58.367898Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140640078343040",
"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": "b4b0e62374fe60fa",
"trace_id": "6e38b0c8a9554402bc6bf7c12c930195",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:34:57.888975Z",
"timestamp": "2026-05-28T07:34:58.624938Z",
"data": {
"thread.id": "140640078343040",
"thread.name": "MainThread"
}
},
{
"span_id": "8e0349d50e3d85a5",
"trace_id": "6e38b0c8a9554402bc6bf7c12c930195",
"parent_span_id": "b4b0e62374fe60fa",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953697.890849,
"timestamp": 1779953698.624023,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140640078343040",
"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_01Ntb2pckHE7sgED7uKGjois",
"gen_ai.response.finish_reasons": [
"end_turn"
],
"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": 20,
"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": 58,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "b4b0e62374fe60fa",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Basic LLM Test (async, blocking) 11763ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
85cae791gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
85cae791gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "00bf3f6b530d442798de7f33a33b5c10",
"span_id": "89f5de3c03401218",
"parent_span_id": "85cae79148401853",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:34:59.542490Z",
"timestamp": "2026-05-28T07:34:59.544017Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20266
},
"data": {
"thread.id": "140179630573248",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "00bf3f6b530d442798de7f33a33b5c10",
"span_id": "a1437b6d98405092",
"parent_span_id": "85cae79148401853",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:34:59.544100Z",
"timestamp": "2026-05-28T07:34:59.544669Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20266
},
"data": {
"thread.id": "140179630573248",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "00bf3f6b530d442798de7f33a33b5c10",
"span_id": "9427b8ba06e48612",
"parent_span_id": "a1437b6d98405092",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:34:59.544602Z",
"timestamp": "2026-05-28T07:34:59.544655Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20266
},
"data": {
"thread.id": "140179630573248",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "00bf3f6b530d442798de7f33a33b5c10",
"span_id": "bcc7281a06a35760",
"parent_span_id": "85cae79148401853",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:34:59.544705Z",
"timestamp": "2026-05-28T07:34:59.544719Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20266
},
"data": {
"thread.id": "140179630573248",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "00bf3f6b530d442798de7f33a33b5c10",
"span_id": "a5555ccdad7b19a5",
"parent_span_id": "85cae79148401853",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:34:59.546310Z",
"timestamp": "2026-05-28T07:35:00.091236Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140179701435264",
"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": "8142b705f7a179d8",
"trace_id": "00bf3f6b530d442798de7f33a33b5c10",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:34:59.539265Z",
"timestamp": "2026-05-28T07:35:00.107069Z",
"data": {
"thread.id": "140179701435264",
"thread.name": "MainThread"
}
},
{
"span_id": "85cae79148401853",
"trace_id": "00bf3f6b530d442798de7f33a33b5c10",
"parent_span_id": "8142b705f7a179d8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953699.540373,
"timestamp": 1779953700.106343,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140179701435264",
"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_01EVVSCrs6qz6j5L5qhA4SGY",
"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": "8142b705f7a179d8",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Multi-Turn LLM Test (sync, streaming) 15731ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
879ed198gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
879ed198gen_ai.output.messagesMissing output messages attribute
a9a8ddf1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a9a8ddf1gen_ai.output.messagesMissing output messages attribute
862d1ff4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
862d1ff4gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "c70533f6714d40808a9e1a54dabefb50",
"span_id": "8e5cae291df5ae5d",
"parent_span_id": "879ed1986fcfceaa",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:34:59.679756Z",
"timestamp": "2026-05-28T07:34:59.680549Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20270
},
"data": {
"thread.id": "140048792615808",
"thread.name": "MainThread"
}
},
{
"trace_id": "c70533f6714d40808a9e1a54dabefb50",
"span_id": "aff8c7985a75f196",
"parent_span_id": "879ed1986fcfceaa",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:34:59.680637Z",
"timestamp": "2026-05-28T07:34:59.681176Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20270
},
"data": {
"thread.id": "140048792615808",
"thread.name": "MainThread"
}
},
{
"trace_id": "c70533f6714d40808a9e1a54dabefb50",
"span_id": "a822d22beb00b88d",
"parent_span_id": "aff8c7985a75f196",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:34:59.681129Z",
"timestamp": "2026-05-28T07:34:59.681166Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20270
},
"data": {
"thread.id": "140048792615808",
"thread.name": "MainThread"
}
},
{
"trace_id": "c70533f6714d40808a9e1a54dabefb50",
"span_id": "86a562f1a75de2a4",
"parent_span_id": "879ed1986fcfceaa",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:34:59.681199Z",
"timestamp": "2026-05-28T07:34:59.681208Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20270
},
"data": {
"thread.id": "140048792615808",
"thread.name": "MainThread"
}
},
{
"trace_id": "c70533f6714d40808a9e1a54dabefb50",
"span_id": "a0e38bca7d96ec3e",
"parent_span_id": "879ed1986fcfceaa",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:34:59.682026Z",
"timestamp": "2026-05-28T07:35:01.280999Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140048792615808",
"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": "c70533f6714d40808a9e1a54dabefb50",
"span_id": "9e624b7c31c95581",
"parent_span_id": "a9a8ddf14cc89d50",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:01.648601Z",
"timestamp": "2026-05-28T07:35:02.108644Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140048792615808",
"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": "c70533f6714d40808a9e1a54dabefb50",
"span_id": "aa742b740ca3ffd8",
"parent_span_id": "862d1ff4a18f8423",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:03.092051Z",
"timestamp": "2026-05-28T07:35:03.864291Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140048792615808",
"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": "994f07bf27bd8828",
"trace_id": "c70533f6714d40808a9e1a54dabefb50",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:34:59.677896Z",
"timestamp": "2026-05-28T07:35:04.224309Z",
"data": {
"thread.id": "140048792615808",
"thread.name": "MainThread"
}
},
{
"span_id": "879ed1986fcfceaa",
"trace_id": "c70533f6714d40808a9e1a54dabefb50",
"parent_span_id": "994f07bf27bd8828",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953699.679441,
"timestamp": 1779953701.647358,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140048792615808",
"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_01DqDJs8ZECoLwT3rJdYEHUg",
"gen_ai.response.finish_reasons": [
"end_turn"
],
"gen_ai.response.text": "The capital of France is **Paris**. It is the country's largest city and has been the capital since the 12th century. Paris is known for its iconic landmarks such as the Eiffel Tower, Notre-Dame Cathedral, and the Louvre Museum.",
"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": 59,
"gen_ai.usage.total_tokens": 79,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "994f07bf27bd8828",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a9a8ddf14cc89d50",
"trace_id": "c70533f6714d40808a9e1a54dabefb50",
"parent_span_id": "994f07bf27bd8828",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953701.647855,
"timestamp": 1779953703.089896,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140048792615808",
"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_01Jw7qDQtWSVNQrJCg2aof6F",
"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 of Paris proper**: Approximately 2.1 million people, making it the most populous city in France.\n\n- **Paris metropolitan area (Île-de-France region)**: Approximately 12 million people, making it one of the largest metropolitan areas in Europe.\n\nThe figures can vary slightly depending on the source and the year of the census, but these are good current estimates.",
"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": 102,
"gen_ai.usage.total_tokens": 143,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "994f07bf27bd8828",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "862d1ff4a18f8423",
"trace_id": "c70533f6714d40808a9e1a54dabefb50",
"parent_span_id": "994f07bf27bd8828",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953703.091036,
"timestamp": 1779953704.224265,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140048792615808",
"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_01QRgRuTW7r2nX8HSiy1FEq1",
"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": "994f07bf27bd8828",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Multi-Turn LLM Test (sync, blocking) 16240ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
939d884dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
939d884dgen_ai.output.messagesMissing output messages attribute
9d56a9a2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d56a9a2gen_ai.output.messagesMissing output messages attribute
ab8d4c2agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ab8d4c2agen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "a1cdf0e55e4d4a4e94f2d0c86fdca2d6",
"span_id": "bd2928a5d5815a79",
"parent_span_id": "939d884d046e580f",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:34:59.687584Z",
"timestamp": "2026-05-28T07:34:59.688358Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20272
},
"data": {
"thread.id": "140693241207680",
"thread.name": "MainThread"
}
},
{
"trace_id": "a1cdf0e55e4d4a4e94f2d0c86fdca2d6",
"span_id": "a725cbbb4b990c02",
"parent_span_id": "939d884d046e580f",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:34:59.688410Z",
"timestamp": "2026-05-28T07:34:59.688885Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20272
},
"data": {
"thread.id": "140693241207680",
"thread.name": "MainThread"
}
},
{
"trace_id": "a1cdf0e55e4d4a4e94f2d0c86fdca2d6",
"span_id": "b931a870bf120f31",
"parent_span_id": "a725cbbb4b990c02",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:34:59.688841Z",
"timestamp": "2026-05-28T07:34:59.688878Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20272
},
"data": {
"thread.id": "140693241207680",
"thread.name": "MainThread"
}
},
{
"trace_id": "a1cdf0e55e4d4a4e94f2d0c86fdca2d6",
"span_id": "976c3889daff896a",
"parent_span_id": "939d884d046e580f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:34:59.688907Z",
"timestamp": "2026-05-28T07:34:59.688915Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20272
},
"data": {
"thread.id": "140693241207680",
"thread.name": "MainThread"
}
},
{
"trace_id": "a1cdf0e55e4d4a4e94f2d0c86fdca2d6",
"span_id": "9b2f9d5b6d299ccf",
"parent_span_id": "939d884d046e580f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:34:59.689699Z",
"timestamp": "2026-05-28T07:35:00.514782Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140693241207680",
"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": "a1cdf0e55e4d4a4e94f2d0c86fdca2d6",
"span_id": "b7e79c79dc200528",
"parent_span_id": "9d56a9a2d1d6a1c0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:00.525208Z",
"timestamp": "2026-05-28T07:35:03.872656Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140693241207680",
"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": "a1cdf0e55e4d4a4e94f2d0c86fdca2d6",
"span_id": "b6156821fb5196ae",
"parent_span_id": "ab8d4c2a476262be",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:03.875017Z",
"timestamp": "2026-05-28T07:35:04.825127Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140693241207680",
"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": "be01d91eb6123b13",
"trace_id": "a1cdf0e55e4d4a4e94f2d0c86fdca2d6",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:34:59.685969Z",
"timestamp": "2026-05-28T07:35:04.825802Z",
"data": {
"thread.id": "140693241207680",
"thread.name": "MainThread"
}
},
{
"span_id": "939d884d046e580f",
"trace_id": "a1cdf0e55e4d4a4e94f2d0c86fdca2d6",
"parent_span_id": "be01d91eb6123b13",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953699.686532,
"timestamp": 1779953700.524199,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140693241207680",
"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_01SokzXcJLyFG5FmqpwQa2SS",
"gen_ai.response.finish_reasons": [
"end_turn"
],
"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": 20,
"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": 58,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "be01d91eb6123b13",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9d56a9a2d1d6a1c0",
"trace_id": "a1cdf0e55e4d4a4e94f2d0c86fdca2d6",
"parent_span_id": "be01d91eb6123b13",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953700.524272,
"timestamp": 1779953703.873371,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140693241207680",
"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_01CAMWGaStGmtsNPWbq8NXhj",
"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 (the administrative boundaries of Paris).\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 the most recent census data, but these are the current estimates.",
"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": 96,
"gen_ai.usage.total_tokens": 137,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "be01d91eb6123b13",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ab8d4c2a476262be",
"trace_id": "a1cdf0e55e4d4a4e94f2d0c86fdca2d6",
"parent_span_id": "be01d91eb6123b13",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953703.873469,
"timestamp": 1779953704.825754,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140693241207680",
"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_01WA4kAVoktJ7nhvywjXa28X",
"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": "be01d91eb6123b13",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Multi-Turn LLM Test (async, streaming) 13711ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
aa86ef5fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aa86ef5fgen_ai.output.messagesMissing output messages attribute
94650d27gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94650d27gen_ai.output.messagesMissing output messages attribute
8ea5ee62gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8ea5ee62gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "1d5697c8455241d1940494bdd813525e",
"span_id": "b742f5694779aa95",
"parent_span_id": "aa86ef5fef36de18",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:00.206760Z",
"timestamp": "2026-05-28T07:35:00.207645Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20280
},
"data": {
"thread.id": "139906479290048",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1d5697c8455241d1940494bdd813525e",
"span_id": "b8cac06e9d367865",
"parent_span_id": "aa86ef5fef36de18",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:00.207699Z",
"timestamp": "2026-05-28T07:35:00.208210Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20280
},
"data": {
"thread.id": "139906479290048",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1d5697c8455241d1940494bdd813525e",
"span_id": "a294586de901fb76",
"parent_span_id": "b8cac06e9d367865",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:00.208161Z",
"timestamp": "2026-05-28T07:35:00.208202Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20280
},
"data": {
"thread.id": "139906479290048",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1d5697c8455241d1940494bdd813525e",
"span_id": "9d03071bcab3177a",
"parent_span_id": "aa86ef5fef36de18",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:00.208233Z",
"timestamp": "2026-05-28T07:35:00.208243Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20280
},
"data": {
"thread.id": "139906479290048",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1d5697c8455241d1940494bdd813525e",
"span_id": "84553bb61d1d991f",
"parent_span_id": "aa86ef5fef36de18",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:00.209358Z",
"timestamp": "2026-05-28T07:35:00.787635Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139906623019904",
"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": "1d5697c8455241d1940494bdd813525e",
"span_id": "98c4b04651c4f060",
"parent_span_id": "94650d27abc39b62",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:00.891061Z",
"timestamp": "2026-05-28T07:35:01.324028Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139906623019904",
"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": "1d5697c8455241d1940494bdd813525e",
"span_id": "90bc673781db2fac",
"parent_span_id": "8ea5ee62e5f636d4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:02.154968Z",
"timestamp": "2026-05-28T07:35:02.616900Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139906623019904",
"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": "a0e5b3dd18db5a5c",
"trace_id": "1d5697c8455241d1940494bdd813525e",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:00.204401Z",
"timestamp": "2026-05-28T07:35:02.875363Z",
"data": {
"thread.id": "139906623019904",
"thread.name": "MainThread"
}
},
{
"span_id": "aa86ef5fef36de18",
"trace_id": "1d5697c8455241d1940494bdd813525e",
"parent_span_id": "a0e5b3dd18db5a5c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953700.206227,
"timestamp": 1779953700.889837,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139906623019904",
"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_01K5CnWFF5LVBPUpdtrWcucx",
"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": "a0e5b3dd18db5a5c",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "94650d27abc39b62",
"trace_id": "1d5697c8455241d1940494bdd813525e",
"parent_span_id": "a0e5b3dd18db5a5c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953700.890323,
"timestamp": 1779953702.153684,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139906623019904",
"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_01KxsKziUTPvu6ELFfnaUqpq",
"gen_ai.response.finish_reasons": [
"end_turn"
],
"gen_ai.response.text": "The population of Paris depends on how you measure it:\n\n- **City proper (Paris commune)**: 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 metropolitan area includes surrounding suburbs and towns. Paris is one of the most densely populated cities in Europe.",
"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": 94,
"gen_ai.usage.total_tokens": 135,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "a0e5b3dd18db5a5c",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8ea5ee62e5f636d4",
"trace_id": "1d5697c8455241d1940494bdd813525e",
"parent_span_id": "a0e5b3dd18db5a5c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953702.154287,
"timestamp": 1779953702.874472,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139906623019904",
"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_01VviHpWqHeRvtoWHDjhwsmu",
"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": "a0e5b3dd18db5a5c",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Multi-Turn LLM Test (async, blocking) 14131ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
9de3d9aegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9de3d9aegen_ai.output.messagesMissing output messages attribute
badacf64gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
badacf64gen_ai.output.messagesMissing output messages attribute
9b8e2576gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b8e2576gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "067dbcce8c6542ee8de1b6eca854d896",
"span_id": "afcba05fe350f8f7",
"parent_span_id": "9de3d9aecd5a2a11",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:01.139143Z",
"timestamp": "2026-05-28T07:35:01.140121Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20286
},
"data": {
"thread.id": "139674240231104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "067dbcce8c6542ee8de1b6eca854d896",
"span_id": "a093faa3d492d80e",
"parent_span_id": "9de3d9aecd5a2a11",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:01.140176Z",
"timestamp": "2026-05-28T07:35:01.140597Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20286
},
"data": {
"thread.id": "139674240231104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "067dbcce8c6542ee8de1b6eca854d896",
"span_id": "9e0c758cdc6ead81",
"parent_span_id": "a093faa3d492d80e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:01.140551Z",
"timestamp": "2026-05-28T07:35:01.140590Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20286
},
"data": {
"thread.id": "139674240231104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "067dbcce8c6542ee8de1b6eca854d896",
"span_id": "870c0dab4adf0cde",
"parent_span_id": "9de3d9aecd5a2a11",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:01.140628Z",
"timestamp": "2026-05-28T07:35:01.140637Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20286
},
"data": {
"thread.id": "139674240231104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "067dbcce8c6542ee8de1b6eca854d896",
"span_id": "a26ad37afb7fea1a",
"parent_span_id": "9de3d9aecd5a2a11",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:01.141665Z",
"timestamp": "2026-05-28T07:35:01.720548Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139674311166848",
"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": "067dbcce8c6542ee8de1b6eca854d896",
"span_id": "a14d2d214f644a6c",
"parent_span_id": "badacf64e9afe3b3",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:01.731902Z",
"timestamp": "2026-05-28T07:35:03.266675Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139674311166848",
"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": "067dbcce8c6542ee8de1b6eca854d896",
"span_id": "89e202f3de19408c",
"parent_span_id": "9b8e2576255726fd",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:03.268963Z",
"timestamp": "2026-05-28T07:35:04.234008Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139674311166848",
"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": "924ed585072b670a",
"trace_id": "067dbcce8c6542ee8de1b6eca854d896",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:01.136884Z",
"timestamp": "2026-05-28T07:35:04.235260Z",
"data": {
"thread.id": "139674311166848",
"thread.name": "MainThread"
}
},
{
"span_id": "9de3d9aecd5a2a11",
"trace_id": "067dbcce8c6542ee8de1b6eca854d896",
"parent_span_id": "924ed585072b670a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953701.137869,
"timestamp": 1779953701.730864,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139674311166848",
"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_015cCCNVNHh5CExiJBzkqZBx",
"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": "924ed585072b670a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "badacf64e9afe3b3",
"trace_id": "067dbcce8c6542ee8de1b6eca854d896",
"parent_span_id": "924ed585072b670a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953701.730942,
"timestamp": 1779953703.26735,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139674311166848",
"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_01KmrMqpF48f3mU96nUAMLdB",
"gen_ai.response.finish_reasons": [
"end_turn"
],
"gen_ai.response.text": "The population of Paris depends on how you define the city:\n\n- **City proper (Paris)**: Approximately 2.1 million people\n- **Greater Paris (Île-de-France region)**: Approximately 12 million people\n\nThe city proper figure refers to Paris within its administrative boundaries, while the greater Paris area includes the surrounding metropolitan region, which is much more populous.",
"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": 85,
"gen_ai.usage.total_tokens": 126,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "924ed585072b670a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9b8e2576255726fd",
"trace_id": "067dbcce8c6542ee8de1b6eca854d896",
"parent_span_id": "924ed585072b670a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953703.267445,
"timestamp": 1779953704.234439,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139674311166848",
"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_01TEjPigcXfjtAwxXgeCu6eW",
"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": "924ed585072b670a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Vision LLM Test (sync, streaming) 1 11688ms
Critical
checkChatSpanAttributes
a1fc6ab5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a1fc6ab5gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a1fc6ab5gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a1fc6ab5gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "9425abc2f7044401bbc299398c762f6c",
"span_id": "a29fd9eb2ab7a062",
"parent_span_id": "a1fc6ab5ebb71807",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:04.789880Z",
"timestamp": "2026-05-28T07:35:04.790723Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20323
},
"data": {
"thread.id": "140065222306688",
"thread.name": "MainThread"
}
},
{
"trace_id": "9425abc2f7044401bbc299398c762f6c",
"span_id": "bf283b769d6b243e",
"parent_span_id": "a1fc6ab5ebb71807",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:04.790802Z",
"timestamp": "2026-05-28T07:35:04.791327Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20323
},
"data": {
"thread.id": "140065222306688",
"thread.name": "MainThread"
}
},
{
"trace_id": "9425abc2f7044401bbc299398c762f6c",
"span_id": "8cfdd6a5eb3305de",
"parent_span_id": "bf283b769d6b243e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:04.791281Z",
"timestamp": "2026-05-28T07:35:04.791316Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20323
},
"data": {
"thread.id": "140065222306688",
"thread.name": "MainThread"
}
},
{
"trace_id": "9425abc2f7044401bbc299398c762f6c",
"span_id": "9360ff51da3bcf9d",
"parent_span_id": "a1fc6ab5ebb71807",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:04.791351Z",
"timestamp": "2026-05-28T07:35:04.791360Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20323
},
"data": {
"thread.id": "140065222306688",
"thread.name": "MainThread"
}
},
{
"trace_id": "9425abc2f7044401bbc299398c762f6c",
"span_id": "a60f73ea37e97a41",
"parent_span_id": "a1fc6ab5ebb71807",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:04.792180Z",
"timestamp": "2026-05-28T07:35:05.309126Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140065222306688",
"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": "b72b5beddd7b2f02",
"trace_id": "9425abc2f7044401bbc299398c762f6c",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:04.785535Z",
"timestamp": "2026-05-28T07:35:05.391638Z",
"data": {
"thread.id": "140065222306688",
"thread.name": "MainThread"
}
},
{
"span_id": "a1fc6ab5ebb71807",
"trace_id": "9425abc2f7044401bbc299398c762f6c",
"parent_span_id": "b72b5beddd7b2f02",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953704.789544,
"timestamp": 1779953705.391547,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140065222306688",
"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_01ASpmvcs8zWFkyuYRBQ5JSi",
"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": "b72b5beddd7b2f02",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Vision LLM Test (sync, blocking) 1 12082ms
Critical
checkChatSpanAttributes
b77db304gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b77db304gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b77db304gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b77db304gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "143bb4886c094f81b90b005a1636f7c8",
"span_id": "a4238d0911b6ea4c",
"parent_span_id": "b77db3044a3eefe4",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:05.199375Z",
"timestamp": "2026-05-28T07:35:05.200952Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20333
},
"data": {
"thread.id": "140019191905152",
"thread.name": "MainThread"
}
},
{
"trace_id": "143bb4886c094f81b90b005a1636f7c8",
"span_id": "987d0eface3077c4",
"parent_span_id": "b77db3044a3eefe4",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:05.201037Z",
"timestamp": "2026-05-28T07:35:05.201473Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20333
},
"data": {
"thread.id": "140019191905152",
"thread.name": "MainThread"
}
},
{
"trace_id": "143bb4886c094f81b90b005a1636f7c8",
"span_id": "8b7acda3ce3e9acc",
"parent_span_id": "987d0eface3077c4",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:05.201423Z",
"timestamp": "2026-05-28T07:35:05.201461Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20333
},
"data": {
"thread.id": "140019191905152",
"thread.name": "MainThread"
}
},
{
"trace_id": "143bb4886c094f81b90b005a1636f7c8",
"span_id": "aa1382fa6f79d8d9",
"parent_span_id": "b77db3044a3eefe4",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:05.201507Z",
"timestamp": "2026-05-28T07:35:05.201521Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20333
},
"data": {
"thread.id": "140019191905152",
"thread.name": "MainThread"
}
},
{
"trace_id": "143bb4886c094f81b90b005a1636f7c8",
"span_id": "ba6ac74ff749b399",
"parent_span_id": "b77db3044a3eefe4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:05.202784Z",
"timestamp": "2026-05-28T07:35:05.809934Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140019191905152",
"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": "91f745bfb9c3d47f",
"trace_id": "143bb4886c094f81b90b005a1636f7c8",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:05.192994Z",
"timestamp": "2026-05-28T07:35:05.851794Z",
"data": {
"thread.id": "140019191905152",
"thread.name": "MainThread"
}
},
{
"span_id": "b77db3044a3eefe4",
"trace_id": "143bb4886c094f81b90b005a1636f7c8",
"parent_span_id": "91f745bfb9c3d47f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953705.19384,
"timestamp": 1779953705.851743,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140019191905152",
"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_012f44DoJwePW1WQSUuq3nGa",
"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": "91f745bfb9c3d47f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Vision LLM Test (async, streaming) 1 12117ms
Critical
checkChatSpanAttributes
b2e6286agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b2e6286agen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b2e6286agen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b2e6286agen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "1d09f2862c8a47669b52a903864dbaf1",
"span_id": "9ea5ca3f13c09fad",
"parent_span_id": "b2e6286a8b042146",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:05.546335Z",
"timestamp": "2026-05-28T07:35:05.548357Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20347
},
"data": {
"thread.id": "139918223341248",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1d09f2862c8a47669b52a903864dbaf1",
"span_id": "8c91b8f1542c90a8",
"parent_span_id": "b2e6286a8b042146",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:05.548434Z",
"timestamp": "2026-05-28T07:35:05.548555Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20347
},
"data": {
"thread.id": "139918223341248",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1d09f2862c8a47669b52a903864dbaf1",
"span_id": "a02bf66a456478d1",
"parent_span_id": "8c91b8f1542c90a8",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:05.548513Z",
"timestamp": "2026-05-28T07:35:05.548544Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20347
},
"data": {
"thread.id": "139918223341248",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1d09f2862c8a47669b52a903864dbaf1",
"span_id": "96aaff87bfe60da4",
"parent_span_id": "b2e6286a8b042146",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:05.548588Z",
"timestamp": "2026-05-28T07:35:05.548602Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20347
},
"data": {
"thread.id": "139918223341248",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1d09f2862c8a47669b52a903864dbaf1",
"span_id": "84c5c2d8b232790c",
"parent_span_id": "b2e6286a8b042146",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:05.550159Z",
"timestamp": "2026-05-28T07:35:06.140334Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139918369184640",
"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": "bc109a6458b76074",
"trace_id": "1d09f2862c8a47669b52a903864dbaf1",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:05.537840Z",
"timestamp": "2026-05-28T07:35:06.247968Z",
"data": {
"thread.id": "139918369184640",
"thread.name": "MainThread"
}
},
{
"span_id": "b2e6286a8b042146",
"trace_id": "1d09f2862c8a47669b52a903864dbaf1",
"parent_span_id": "bc109a6458b76074",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953705.545566,
"timestamp": 1779953706.24295,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139918369184640",
"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_011fEU2dE4aSpkfgmMbia9eS",
"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": "bc109a6458b76074",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Vision LLM Test (async, blocking) 1 12471ms
Critical
checkChatSpanAttributes
a01fdaa6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a01fdaa6gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a01fdaa6gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a01fdaa6gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "03805c9b46c4468ba2176cdc34aa8a31",
"span_id": "84d4941146de76af",
"parent_span_id": "a01fdaa6055d2fb2",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:05.581424Z",
"timestamp": "2026-05-28T07:35:05.582746Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20350
},
"data": {
"thread.id": "139979820222144",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "03805c9b46c4468ba2176cdc34aa8a31",
"span_id": "9ea41079218007e5",
"parent_span_id": "a01fdaa6055d2fb2",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:05.582831Z",
"timestamp": "2026-05-28T07:35:05.583480Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20350
},
"data": {
"thread.id": "139979820222144",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "03805c9b46c4468ba2176cdc34aa8a31",
"span_id": "b2c2c9ef7cfe3b16",
"parent_span_id": "9ea41079218007e5",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:05.583427Z",
"timestamp": "2026-05-28T07:35:05.583467Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20350
},
"data": {
"thread.id": "139979820222144",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "03805c9b46c4468ba2176cdc34aa8a31",
"span_id": "80bfe8d3ed1a29b6",
"parent_span_id": "a01fdaa6055d2fb2",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:05.583519Z",
"timestamp": "2026-05-28T07:35:05.583534Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20350
},
"data": {
"thread.id": "139979820222144",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "03805c9b46c4468ba2176cdc34aa8a31",
"span_id": "aaeb6c6c5808fe87",
"parent_span_id": "a01fdaa6055d2fb2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:05.585120Z",
"timestamp": "2026-05-28T07:35:06.458272Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139979891227520",
"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": "bd2bb52067e319a4",
"trace_id": "03805c9b46c4468ba2176cdc34aa8a31",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:05.574174Z",
"timestamp": "2026-05-28T07:35:06.520871Z",
"data": {
"thread.id": "139979891227520",
"thread.name": "MainThread"
}
},
{
"span_id": "a01fdaa6055d2fb2",
"trace_id": "03805c9b46c4468ba2176cdc34aa8a31",
"parent_span_id": "bd2bb52067e319a4",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953705.575285,
"timestamp": 1779953706.508445,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139979891227520",
"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_01VYvAV116EWef3vT1cCwH6d",
"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": "bd2bb52067e319a4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Long Input LLM Test (sync, streaming) 12773ms
Critical
checkChatSpanAttributes
afd2e8c3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
afd2e8c3gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "d0ad1b0d487748268d9d64521af4cc39",
"span_id": "9ce9fa457a1b163e",
"parent_span_id": "afd2e8c3f96e6ad0",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:06.603301Z",
"timestamp": "2026-05-28T07:35:06.610732Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20371
},
"data": {
"thread.id": "139883996908416",
"thread.name": "MainThread"
}
},
{
"trace_id": "d0ad1b0d487748268d9d64521af4cc39",
"span_id": "bd94252ba7d893e8",
"parent_span_id": "afd2e8c3f96e6ad0",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:06.610824Z",
"timestamp": "2026-05-28T07:35:06.614573Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20371
},
"data": {
"thread.id": "139883996908416",
"thread.name": "MainThread"
}
},
{
"trace_id": "d0ad1b0d487748268d9d64521af4cc39",
"span_id": "baba1e2017ae9953",
"parent_span_id": "bd94252ba7d893e8",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:06.614509Z",
"timestamp": "2026-05-28T07:35:06.614555Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20371
},
"data": {
"thread.id": "139883996908416",
"thread.name": "MainThread"
}
},
{
"trace_id": "d0ad1b0d487748268d9d64521af4cc39",
"span_id": "80755f1fb49c44ef",
"parent_span_id": "afd2e8c3f96e6ad0",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:06.614634Z",
"timestamp": "2026-05-28T07:35:06.614651Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20371
},
"data": {
"thread.id": "139883996908416",
"thread.name": "MainThread"
}
},
{
"trace_id": "d0ad1b0d487748268d9d64521af4cc39",
"span_id": "96df243b8f00ca6c",
"parent_span_id": "afd2e8c3f96e6ad0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:06.616224Z",
"timestamp": "2026-05-28T07:35:07.150996Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139883996908416",
"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": "a728ec3c299aed75",
"trace_id": "d0ad1b0d487748268d9d64521af4cc39",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:06.597927Z",
"timestamp": "2026-05-28T07:35:07.545007Z",
"data": {
"thread.id": "139883996908416",
"thread.name": "MainThread"
}
},
{
"span_id": "afd2e8c3f96e6ad0",
"trace_id": "d0ad1b0d487748268d9d64521af4cc39",
"parent_span_id": "a728ec3c299aed75",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953706.602713,
"timestamp": 1779953707.544948,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139883996908416",
"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_01QYjCuEWcAoWWUUct3y7KNV",
"gen_ai.response.finish_reasons": [
"end_turn"
],
"gen_ai.response.text": "This is a test message repeated many times to create a 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": 17,
"gen_ai.usage.total_tokens": 5443,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "a728ec3c299aed75",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Long Input LLM Test (sync, blocking) 12370ms
Critical
checkChatSpanAttributes
8a3031a7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8a3031a7gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "39024688647f4fbcae64a23b886d7251",
"span_id": "9c1b565e270af7dc",
"parent_span_id": "8a3031a7ff6ef407",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:06.328029Z",
"timestamp": "2026-05-28T07:35:06.331403Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20367
},
"data": {
"thread.id": "139671584263040",
"thread.name": "MainThread"
}
},
{
"trace_id": "39024688647f4fbcae64a23b886d7251",
"span_id": "8cdf37ae838082bb",
"parent_span_id": "8a3031a7ff6ef407",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:06.331492Z",
"timestamp": "2026-05-28T07:35:06.332428Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20367
},
"data": {
"thread.id": "139671584263040",
"thread.name": "MainThread"
}
},
{
"trace_id": "39024688647f4fbcae64a23b886d7251",
"span_id": "85173a381cde1507",
"parent_span_id": "8cdf37ae838082bb",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:06.332373Z",
"timestamp": "2026-05-28T07:35:06.332413Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20367
},
"data": {
"thread.id": "139671584263040",
"thread.name": "MainThread"
}
},
{
"trace_id": "39024688647f4fbcae64a23b886d7251",
"span_id": "b8fcf512dc18048c",
"parent_span_id": "8a3031a7ff6ef407",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:06.332465Z",
"timestamp": "2026-05-28T07:35:06.332479Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20367
},
"data": {
"thread.id": "139671584263040",
"thread.name": "MainThread"
}
},
{
"trace_id": "39024688647f4fbcae64a23b886d7251",
"span_id": "aa46791a6197c732",
"parent_span_id": "8a3031a7ff6ef407",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:06.333970Z",
"timestamp": "2026-05-28T07:35:07.143340Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139671584263040",
"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": "b5123d6ef770d762",
"trace_id": "39024688647f4fbcae64a23b886d7251",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:06.322365Z",
"timestamp": "2026-05-28T07:35:07.182112Z",
"data": {
"thread.id": "139671584263040",
"thread.name": "MainThread"
}
},
{
"span_id": "8a3031a7ff6ef407",
"trace_id": "39024688647f4fbcae64a23b886d7251",
"parent_span_id": "b5123d6ef770d762",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953706.326072,
"timestamp": 1779953707.182059,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139671584263040",
"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_01KgZTLFXhu7hGXTpYCJy6NX",
"gen_ai.response.finish_reasons": [
"end_turn"
],
"gen_ai.response.text": "A test message is repeated many times to create a 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": 16,
"gen_ai.usage.total_tokens": 5442,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "b5123d6ef770d762",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Long Input LLM Test (async, streaming) 12615ms
Critical
checkChatSpanAttributes
8e92b19fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8e92b19fgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "5cc73f7e25e44545aaee5670b887c52f",
"span_id": "88bcebac75205c29",
"parent_span_id": "8e92b19f68a4cbe3",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:07.005908Z",
"timestamp": "2026-05-28T07:35:07.009706Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20380
},
"data": {
"thread.id": "140426341193408",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5cc73f7e25e44545aaee5670b887c52f",
"span_id": "b00999ee9cdb545d",
"parent_span_id": "8e92b19f68a4cbe3",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.009788Z",
"timestamp": "2026-05-28T07:35:07.009918Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20380
},
"data": {
"thread.id": "140426341193408",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5cc73f7e25e44545aaee5670b887c52f",
"span_id": "b5dbf7e2051b95ac",
"parent_span_id": "b00999ee9cdb545d",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.009875Z",
"timestamp": "2026-05-28T07:35:07.009908Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20380
},
"data": {
"thread.id": "140426341193408",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5cc73f7e25e44545aaee5670b887c52f",
"span_id": "ab5ba62ae299b3b4",
"parent_span_id": "8e92b19f68a4cbe3",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.009952Z",
"timestamp": "2026-05-28T07:35:07.009966Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20380
},
"data": {
"thread.id": "140426341193408",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5cc73f7e25e44545aaee5670b887c52f",
"span_id": "bb31bf9cf2a0cda9",
"parent_span_id": "8e92b19f68a4cbe3",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:07.011949Z",
"timestamp": "2026-05-28T07:35:07.562207Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140426412272512",
"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": "a27d2937dbfb2c6f",
"trace_id": "5cc73f7e25e44545aaee5670b887c52f",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:06.996912Z",
"timestamp": "2026-05-28T07:35:07.748180Z",
"data": {
"thread.id": "140426412272512",
"thread.name": "MainThread"
}
},
{
"span_id": "8e92b19f68a4cbe3",
"trace_id": "5cc73f7e25e44545aaee5670b887c52f",
"parent_span_id": "a27d2937dbfb2c6f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953707.002315,
"timestamp": 1779953707.747124,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140426412272512",
"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_01DYM2cZ1wPJU3pYNM1Eidaa",
"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": "a27d2937dbfb2c6f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Long Input LLM Test (async, blocking) 13605ms
Critical
checkChatSpanAttributes
84c4ba73gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84c4ba73gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "f4aa843e43a54c8ebcd440df2141e8b5",
"span_id": "a324ef7f5f68fd92",
"parent_span_id": "84c4ba7326f91ed1",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:07.234076Z",
"timestamp": "2026-05-28T07:35:07.238404Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20390
},
"data": {
"thread.id": "140479119226560",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "f4aa843e43a54c8ebcd440df2141e8b5",
"span_id": "8bed9fc4823ac368",
"parent_span_id": "84c4ba7326f91ed1",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.238488Z",
"timestamp": "2026-05-28T07:35:07.238635Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20390
},
"data": {
"thread.id": "140479119226560",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "f4aa843e43a54c8ebcd440df2141e8b5",
"span_id": "8004949a6d7bfade",
"parent_span_id": "8bed9fc4823ac368",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.238574Z",
"timestamp": "2026-05-28T07:35:07.238607Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20390
},
"data": {
"thread.id": "140479119226560",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "f4aa843e43a54c8ebcd440df2141e8b5",
"span_id": "ab035ba0d7bc2e5b",
"parent_span_id": "84c4ba7326f91ed1",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.238671Z",
"timestamp": "2026-05-28T07:35:07.238686Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20390
},
"data": {
"thread.id": "140479119226560",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "f4aa843e43a54c8ebcd440df2141e8b5",
"span_id": "894dfc0953effdd9",
"parent_span_id": "84c4ba7326f91ed1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:07.240422Z",
"timestamp": "2026-05-28T07:35:08.559950Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140479268879232",
"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": "95857b1f15a01f63",
"trace_id": "f4aa843e43a54c8ebcd440df2141e8b5",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:07.230648Z",
"timestamp": "2026-05-28T07:35:08.627053Z",
"data": {
"thread.id": "140479268879232",
"thread.name": "MainThread"
}
},
{
"span_id": "84c4ba7326f91ed1",
"trace_id": "f4aa843e43a54c8ebcd440df2141e8b5",
"parent_span_id": "95857b1f15a01f63",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953707.23177,
"timestamp": 1779953708.622684,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140479268879232",
"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_01Mn8sKhfPM4QDRUqSogccYC",
"gen_ai.response.finish_reasons": [
"end_turn"
],
"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.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": "95857b1f15a01f63",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Conversation ID LLM Test (sync, streaming) 18203ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
a48d853dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a48d853dgen_ai.output.messagesMissing output messages attribute
9c3b9578gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c3b9578gen_ai.output.messagesMissing output messages attribute
af29f6a5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af29f6a5gen_ai.output.messagesMissing output messages attribute
ac223320gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac223320gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "9296269cfa2d4755964944f7de705baa",
"span_id": "8849afacc57bbf4d",
"parent_span_id": "a48d853d188585c9",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:07.277568Z",
"timestamp": "2026-05-28T07:35:07.278901Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20392
},
"data": {
"thread.id": "139707575913344",
"thread.name": "MainThread"
}
},
{
"trace_id": "9296269cfa2d4755964944f7de705baa",
"span_id": "985bc9567c2c2faf",
"parent_span_id": "a48d853d188585c9",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.278987Z",
"timestamp": "2026-05-28T07:35:07.279963Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20392
},
"data": {
"thread.id": "139707575913344",
"thread.name": "MainThread"
}
},
{
"trace_id": "9296269cfa2d4755964944f7de705baa",
"span_id": "b74446eabb6bb206",
"parent_span_id": "985bc9567c2c2faf",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.279771Z",
"timestamp": "2026-05-28T07:35:07.279945Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20392
},
"data": {
"thread.id": "139707575913344",
"thread.name": "MainThread"
}
},
{
"trace_id": "9296269cfa2d4755964944f7de705baa",
"span_id": "9d2e5fdbd1e04de8",
"parent_span_id": "a48d853d188585c9",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.280007Z",
"timestamp": "2026-05-28T07:35:07.280026Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20392
},
"data": {
"thread.id": "139707575913344",
"thread.name": "MainThread"
}
},
{
"trace_id": "9296269cfa2d4755964944f7de705baa",
"span_id": "81b2b00f2ac22117",
"parent_span_id": "a48d853d188585c9",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:07.281330Z",
"timestamp": "2026-05-28T07:35:07.765489Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139707575913344",
"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": "9296269cfa2d4755964944f7de705baa",
"span_id": "9ba0873aad26472d",
"parent_span_id": "9c3b95782702d1d5",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:08.238637Z",
"timestamp": "2026-05-28T07:35:08.760430Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139707575913344",
"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": "9296269cfa2d4755964944f7de705baa",
"span_id": "bc4e60aa4ef4002d",
"parent_span_id": "af29f6a5f3456aef",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:09.268216Z",
"timestamp": "2026-05-28T07:35:11.875577Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139707575913344",
"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": "9296269cfa2d4755964944f7de705baa",
"span_id": "988c599624c62792",
"parent_span_id": "ac223320495ad5b0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:12.356538Z",
"timestamp": "2026-05-28T07:35:13.270369Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139707575913344",
"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": "a565b43b88e3f0f6",
"trace_id": "9296269cfa2d4755964944f7de705baa",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:35:07.274628Z",
"timestamp": "2026-05-28T07:35:13.343080Z",
"data": {
"thread.id": "139707575913344",
"thread.name": "MainThread"
}
},
{
"span_id": "a48d853d188585c9",
"trace_id": "9296269cfa2d4755964944f7de705baa",
"parent_span_id": "a565b43b88e3f0f6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953707.277121,
"timestamp": 1779953708.230794,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139707575913344",
"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_01QNzqigHiYwxECd33rWQMPy",
"gen_ai.response.finish_reasons": [
"end_turn"
],
"gen_ai.response.text": "The capital of France is **Paris**. It is located in the north-central part of the country and is the country's largest city. Paris is known for iconic landmarks such as the Eiffel Tower, Notre-Dame Cathedral, and the Louvre Museum.",
"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": 59,
"gen_ai.usage.total_tokens": 79,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a565b43b88e3f0f6",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9c3b95782702d1d5",
"trace_id": "9296269cfa2d4755964944f7de705baa",
"parent_span_id": "a565b43b88e3f0f6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953708.231416,
"timestamp": 1779953709.266273,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139707575913344",
"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_01SsiUEzx1aCwQ6D1Mh8E4Vn",
"gen_ai.response.finish_reasons": [
"end_turn"
],
"gen_ai.response.text": "2 + 2 = **4**\n\nThis is a fundamental addition fact! 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 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": 58,
"gen_ai.usage.total_tokens": 81,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a565b43b88e3f0f6",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "af29f6a5f3456aef",
"trace_id": "9296269cfa2d4755964944f7de705baa",
"parent_span_id": "a565b43b88e3f0f6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953709.267192,
"timestamp": 1779953712.354628,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139707575913344",
"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_01HAZESY5Rj7icwdznGDXgjq",
"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": "a565b43b88e3f0f6",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ac223320495ad5b0",
"trace_id": "9296269cfa2d4755964944f7de705baa",
"parent_span_id": "a565b43b88e3f0f6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953712.355549,
"timestamp": 1779953713.34302,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139707575913344",
"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_01BALdCCUMWKCuo8mMR1nz2K",
"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": "a565b43b88e3f0f6",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Conversation ID LLM Test (sync, blocking) 15365ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
870ee043gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
870ee043gen_ai.output.messagesMissing output messages attribute
8919ecc9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8919ecc9gen_ai.output.messagesMissing output messages attribute
b22bb4aegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b22bb4aegen_ai.output.messagesMissing output messages attribute
8b9ccfe3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8b9ccfe3gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "293462caed7945898e9296771ab6cf22",
"span_id": "9ac5131ef431b8a9",
"parent_span_id": "870ee043b3cab13f",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:07.071304Z",
"timestamp": "2026-05-28T07:35:07.076712Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20382
},
"data": {
"thread.id": "139816525667200",
"thread.name": "MainThread"
}
},
{
"trace_id": "293462caed7945898e9296771ab6cf22",
"span_id": "bc4c444fef1e48dd",
"parent_span_id": "870ee043b3cab13f",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.076808Z",
"timestamp": "2026-05-28T07:35:07.076944Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20382
},
"data": {
"thread.id": "139816525667200",
"thread.name": "MainThread"
}
},
{
"trace_id": "293462caed7945898e9296771ab6cf22",
"span_id": "89faa218b7033fca",
"parent_span_id": "bc4c444fef1e48dd",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.076900Z",
"timestamp": "2026-05-28T07:35:07.076933Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20382
},
"data": {
"thread.id": "139816525667200",
"thread.name": "MainThread"
}
},
{
"trace_id": "293462caed7945898e9296771ab6cf22",
"span_id": "98bd62b68edf6780",
"parent_span_id": "870ee043b3cab13f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.076984Z",
"timestamp": "2026-05-28T07:35:07.076997Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20382
},
"data": {
"thread.id": "139816525667200",
"thread.name": "MainThread"
}
},
{
"trace_id": "293462caed7945898e9296771ab6cf22",
"span_id": "9d128e44bdc7dff8",
"parent_span_id": "870ee043b3cab13f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:07.078280Z",
"timestamp": "2026-05-28T07:35:08.246494Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139816525667200",
"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": "293462caed7945898e9296771ab6cf22",
"span_id": "9376aa58cfbe5bcd",
"parent_span_id": "8919ecc9ba1b6ba4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:08.293841Z",
"timestamp": "2026-05-28T07:35:09.197815Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139816525667200",
"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": "293462caed7945898e9296771ab6cf22",
"span_id": "89102566ca599be4",
"parent_span_id": "b22bb4aec48725fc",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:09.206080Z",
"timestamp": "2026-05-28T07:35:09.969189Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139816525667200",
"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": "293462caed7945898e9296771ab6cf22",
"span_id": "83cace2d6b642b5c",
"parent_span_id": "8b9ccfe36459b932",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:09.977327Z",
"timestamp": "2026-05-28T07:35:10.654349Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139816525667200",
"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": "96a3937d41b6ed7b",
"trace_id": "293462caed7945898e9296771ab6cf22",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:35:07.068697Z",
"timestamp": "2026-05-28T07:35:10.655069Z",
"data": {
"thread.id": "139816525667200",
"thread.name": "MainThread"
}
},
{
"span_id": "870ee043b3cab13f",
"trace_id": "293462caed7945898e9296771ab6cf22",
"parent_span_id": "96a3937d41b6ed7b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953707.06948,
"timestamp": 1779953708.292342,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139816525667200",
"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_0186VwKCVtoXNRNbjqmRakNL",
"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": "96a3937d41b6ed7b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8919ecc9ba1b6ba4",
"trace_id": "293462caed7945898e9296771ab6cf22",
"parent_span_id": "96a3937d41b6ed7b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953708.292459,
"timestamp": 1779953709.198525,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139816525667200",
"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_01R5bTyxW9yUyaqmrcXXuQ8R",
"gen_ai.response.finish_reasons": [
"end_turn"
],
"gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the most basic addition facts! When you combine two groups of two items, you get four items 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": 40,
"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": "96a3937d41b6ed7b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b22bb4aec48725fc",
"trace_id": "293462caed7945898e9296771ab6cf22",
"parent_span_id": "96a3937d41b6ed7b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953709.198635,
"timestamp": 1779953709.975912,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139816525667200",
"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_01BRdDAFbbLbmEMNYi2j7PeH",
"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": "96a3937d41b6ed7b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8b9ccfe36459b932",
"trace_id": "293462caed7945898e9296771ab6cf22",
"parent_span_id": "96a3937d41b6ed7b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953709.976006,
"timestamp": 1779953710.655023,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "139816525667200",
"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_01C3mnYKdTtGvhX3AmYxrbub",
"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": "96a3937d41b6ed7b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Conversation ID LLM Test (async, streaming) 17684ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
bbf730bcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bbf730bcgen_ai.output.messagesMissing output messages attribute
982ffeb7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
982ffeb7gen_ai.output.messagesMissing output messages attribute
9eb31b6egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9eb31b6egen_ai.output.messagesMissing output messages attribute
8eaab2dagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8eaab2dagen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "52a1c2c4b94a4f21bdcd1e223ade9178",
"span_id": "84e82b55121b4e13",
"parent_span_id": "bbf730bc2b8c772a",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:07.441608Z",
"timestamp": "2026-05-28T07:35:07.444277Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20398
},
"data": {
"thread.id": "140438451254976",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "52a1c2c4b94a4f21bdcd1e223ade9178",
"span_id": "9cefdcdaff96674d",
"parent_span_id": "bbf730bc2b8c772a",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.444363Z",
"timestamp": "2026-05-28T07:35:07.444495Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20398
},
"data": {
"thread.id": "140438451254976",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "52a1c2c4b94a4f21bdcd1e223ade9178",
"span_id": "ba1b0095229443c0",
"parent_span_id": "9cefdcdaff96674d",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.444449Z",
"timestamp": "2026-05-28T07:35:07.444483Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20398
},
"data": {
"thread.id": "140438451254976",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "52a1c2c4b94a4f21bdcd1e223ade9178",
"span_id": "aa78136d81b08361",
"parent_span_id": "bbf730bc2b8c772a",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.444530Z",
"timestamp": "2026-05-28T07:35:07.444545Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20398
},
"data": {
"thread.id": "140438451254976",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "52a1c2c4b94a4f21bdcd1e223ade9178",
"span_id": "acefd71eef3a6fc0",
"parent_span_id": "bbf730bc2b8c772a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:07.446259Z",
"timestamp": "2026-05-28T07:35:07.906319Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140438598724480",
"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": "52a1c2c4b94a4f21bdcd1e223ade9178",
"span_id": "8f96f6b4df4159ea",
"parent_span_id": "982ffeb7285b904c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:07.997382Z",
"timestamp": "2026-05-28T07:35:08.456080Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140438598724480",
"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": "52a1c2c4b94a4f21bdcd1e223ade9178",
"span_id": "b5974ced4206bff4",
"parent_span_id": "9eb31b6e468d381b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:08.908602Z",
"timestamp": "2026-05-28T07:35:09.412487Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140438598724480",
"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": "52a1c2c4b94a4f21bdcd1e223ade9178",
"span_id": "8c0fb47f6162b22c",
"parent_span_id": "8eaab2dab4ace204",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:12.319047Z",
"timestamp": "2026-05-28T07:35:12.771164Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140438598724480",
"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": "b891f9fecd6c1ca3",
"trace_id": "52a1c2c4b94a4f21bdcd1e223ade9178",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:35:07.437961Z",
"timestamp": "2026-05-28T07:35:12.835887Z",
"data": {
"thread.id": "140438598724480",
"thread.name": "MainThread"
}
},
{
"span_id": "bbf730bc2b8c772a",
"trace_id": "52a1c2c4b94a4f21bdcd1e223ade9178",
"parent_span_id": "b891f9fecd6c1ca3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953707.440874,
"timestamp": 1779953707.99357,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140438598724480",
"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_01C8SvLibcPCUTefD1znRFtT",
"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": "b891f9fecd6c1ca3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "982ffeb7285b904c",
"trace_id": "52a1c2c4b94a4f21bdcd1e223ade9178",
"parent_span_id": "b891f9fecd6c1ca3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953707.99623,
"timestamp": 1779953708.906713,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140438598724480",
"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_01SLowDvT51Qstjd9UkJqDAn",
"gen_ai.response.finish_reasons": [
"end_turn"
],
"gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the fundamental addition facts in mathematics. You can think of it as combining two groups of two objects together to get four 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": 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": "b891f9fecd6c1ca3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9eb31b6e468d381b",
"trace_id": "52a1c2c4b94a4f21bdcd1e223ade9178",
"parent_span_id": "b891f9fecd6c1ca3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953708.907583,
"timestamp": 1779953712.317298,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140438598724480",
"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_01RQY3THNhKCpBE4JNZosb2k",
"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": "b891f9fecd6c1ca3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8eaab2dab4ace204",
"trace_id": "52a1c2c4b94a4f21bdcd1e223ade9178",
"parent_span_id": "b891f9fecd6c1ca3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953712.318087,
"timestamp": 1779953712.829411,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140438598724480",
"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_01Nn1vSXq2SMzGPp5nxpqvZy",
"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": "b891f9fecd6c1ca3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/anthropic :: Conversation ID LLM Test (async, blocking) 15452ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
9042211bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9042211bgen_ai.output.messagesMissing output messages attribute
9b229cdegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b229cdegen_ai.output.messagesMissing output messages attribute
8745cd12gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8745cd12gen_ai.output.messagesMissing output messages attribute
8e42feefgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8e42feefgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "c8a512cc7f5e4c42902e69c2b0d0f371",
"span_id": "83e7e32f40a899ce",
"parent_span_id": "9042211ba96a5660",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:07.687809Z",
"timestamp": "2026-05-28T07:35:07.690823Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20403
},
"data": {
"thread.id": "140437243295424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c8a512cc7f5e4c42902e69c2b0d0f371",
"span_id": "ad69f6486f6a02bf",
"parent_span_id": "9042211ba96a5660",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.690907Z",
"timestamp": "2026-05-28T07:35:07.691043Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20403
},
"data": {
"thread.id": "140437243295424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c8a512cc7f5e4c42902e69c2b0d0f371",
"span_id": "b35ec9b4c9bd119d",
"parent_span_id": "ad69f6486f6a02bf",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.690998Z",
"timestamp": "2026-05-28T07:35:07.691031Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20403
},
"data": {
"thread.id": "140437243295424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c8a512cc7f5e4c42902e69c2b0d0f371",
"span_id": "bb14577463ae5008",
"parent_span_id": "9042211ba96a5660",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:07.691079Z",
"timestamp": "2026-05-28T07:35:07.691093Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20403
},
"data": {
"thread.id": "140437243295424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c8a512cc7f5e4c42902e69c2b0d0f371",
"span_id": "a6d308d9b925bc4a",
"parent_span_id": "9042211ba96a5660",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:07.692709Z",
"timestamp": "2026-05-28T07:35:08.237944Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140437387205504",
"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": "c8a512cc7f5e4c42902e69c2b0d0f371",
"span_id": "8386f3bf1e6ac7ae",
"parent_span_id": "9b229cdead0f010c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:08.290352Z",
"timestamp": "2026-05-28T07:35:09.724223Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140437387205504",
"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": "c8a512cc7f5e4c42902e69c2b0d0f371",
"span_id": "ad156a54ae06a46c",
"parent_span_id": "8745cd128f4f31cb",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:09.729512Z",
"timestamp": "2026-05-28T07:35:10.319976Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140437387205504",
"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": "c8a512cc7f5e4c42902e69c2b0d0f371",
"span_id": "80b64b8046216320",
"parent_span_id": "8e42feefb658aacf",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:10.327640Z",
"timestamp": "2026-05-28T07:35:11.393273Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140437387205504",
"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": "864f85e0a8303ab4",
"trace_id": "c8a512cc7f5e4c42902e69c2b0d0f371",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:35:07.682370Z",
"timestamp": "2026-05-28T07:35:11.402876Z",
"data": {
"thread.id": "140437387205504",
"thread.name": "MainThread"
}
},
{
"span_id": "9042211ba96a5660",
"trace_id": "c8a512cc7f5e4c42902e69c2b0d0f371",
"parent_span_id": "864f85e0a8303ab4",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953707.684484,
"timestamp": 1779953708.288801,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140437387205504",
"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_01HyqfqW3DoBPhh4d1w7hCvt",
"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": "864f85e0a8303ab4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9b229cdead0f010c",
"trace_id": "c8a512cc7f5e4c42902e69c2b0d0f371",
"parent_span_id": "864f85e0a8303ab4",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953708.288922,
"timestamp": 1779953709.724984,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140437387205504",
"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_01FRbPF7kaubpGaPxaHhTU7G",
"gen_ai.response.finish_reasons": [
"end_turn"
],
"gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the most basic addition problems. When you combine two groups of 2 items, you end up with 4 items 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": 57,
"gen_ai.usage.total_tokens": 80,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "864f85e0a8303ab4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8745cd128f4f31cb",
"trace_id": "c8a512cc7f5e4c42902e69c2b0d0f371",
"parent_span_id": "864f85e0a8303ab4",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953709.72508,
"timestamp": 1779953710.320589,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140437387205504",
"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_018zyvbCAkRK2aY79BwEVTV4",
"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": "864f85e0a8303ab4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8e42feefb658aacf",
"trace_id": "c8a512cc7f5e4c42902e69c2b0d0f371",
"parent_span_id": "864f85e0a8303ab4",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953710.320698,
"timestamp": 1779953711.393933,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.anthropic",
"thread.id": "140437387205504",
"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_011Y8D9Mr22CMx2zYstNQHRn",
"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": "864f85e0a8303ab4",
"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 13831ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
807ba967gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
807ba967gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
807ba967gen_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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "3668c9f0efc94db2904f47010141063e",
"span_id": "8b53673f99a172f0",
"parent_span_id": "807ba967de808a2b",
"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-28T07:35:09.433371Z",
"timestamp": "2026-05-28T07:35:09.997771Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140504430701440",
"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": "97f499134f4dadb5",
"trace_id": "3668c9f0efc94db2904f47010141063e",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:35:09.424587Z",
"timestamp": "2026-05-28T07:35:10.036590Z",
"data": {
"thread.id": "140504430701440",
"thread.name": "MainThread"
}
},
{
"span_id": "807ba967de808a2b",
"trace_id": "3668c9f0efc94db2904f47010141063e",
"parent_span_id": "97f499134f4dadb5",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953709.430366,
"timestamp": 1779953710.036532,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140504430701440",
"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": "97f499134f4dadb5",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/google-genai :: Basic LLM Test (sync, blocking) 13345ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
ac069da6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac069da6gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "48f8538ef95e42dc824bafccdfbb2fda",
"span_id": "afea4a40592e30fb",
"parent_span_id": "ac069da6fe3428d6",
"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-28T07:35:09.227233Z",
"timestamp": "2026-05-28T07:35:09.641690Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140595520203648",
"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": "b91271a0fa12cd8e",
"trace_id": "48f8538ef95e42dc824bafccdfbb2fda",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:35:09.223117Z",
"timestamp": "2026-05-28T07:35:09.649136Z",
"data": {
"thread.id": "140595520203648",
"thread.name": "MainThread"
}
},
{
"span_id": "ac069da6fe3428d6",
"trace_id": "48f8538ef95e42dc824bafccdfbb2fda",
"parent_span_id": "b91271a0fa12cd8e",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953709.225374,
"timestamp": 1779953709.649055,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140595520203648",
"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": "LfAXapbfFNLTjMcPienjmQ0",
"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": "b91271a0fa12cd8e",
"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 13573ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
aabb5a93gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aabb5a93gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
aabb5a93gen_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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "8dbeb4d63c74400b94b439dc13afea33",
"span_id": "aa10e17cdbe4b630",
"parent_span_id": "aabb5a93650bd365",
"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-28T07:35:09.385589Z",
"timestamp": "2026-05-28T07:35:09.998824Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140659772943232",
"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": "9cc7900cf812047a",
"trace_id": "8dbeb4d63c74400b94b439dc13afea33",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:35:09.379936Z",
"timestamp": "2026-05-28T07:35:10.008048Z",
"data": {
"thread.id": "140659772943232",
"thread.name": "MainThread"
}
},
{
"span_id": "aabb5a93650bd365",
"trace_id": "8dbeb4d63c74400b94b439dc13afea33",
"parent_span_id": "9cc7900cf812047a",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953709.383701,
"timestamp": 1779953710.004894,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140659772943232",
"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": "9cc7900cf812047a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/google-genai :: Basic LLM Test (async, blocking) 13079ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
863d6e5bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
863d6e5bgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "dd617b854c0a455ba0337d7938effd2e",
"span_id": "b0166803ff503947",
"parent_span_id": "863d6e5b148c6a55",
"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-28T07:35:09.764128Z",
"timestamp": "2026-05-28T07:35:10.301894Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140673014455168",
"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": "805f93f5bcf06070",
"trace_id": "dd617b854c0a455ba0337d7938effd2e",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:35:09.758711Z",
"timestamp": "2026-05-28T07:35:10.310891Z",
"data": {
"thread.id": "140673014455168",
"thread.name": "MainThread"
}
},
{
"span_id": "863d6e5b148c6a55",
"trace_id": "dd617b854c0a455ba0337d7938effd2e",
"parent_span_id": "805f93f5bcf06070",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953709.760145,
"timestamp": 1779953710.306255,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140673014455168",
"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": "LfAXauSFONLj_uMPt_uR2AE",
"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,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "805f93f5bcf06070",
"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 15625ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
868ee507gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
868ee507gen_ai.output.messagesMissing output messages attribute
9cae91a7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9cae91a7gen_ai.output.messagesMissing output messages attribute
b923e2f7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b923e2f7gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
868ee507gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9cae91a7gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b923e2f7gen_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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "c99401d42dda4e478a9f55b1caac21f6",
"span_id": "b6df747532b027be",
"parent_span_id": "868ee507375f0374",
"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-28T07:35:10.288563Z",
"timestamp": "2026-05-28T07:35:10.768829Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140533939563392",
"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": "c99401d42dda4e478a9f55b1caac21f6",
"span_id": "a9fc8544c8a4bed7",
"parent_span_id": "9cae91a74bb66a5f",
"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-28T07:35:10.772935Z",
"timestamp": "2026-05-28T07:35:11.146216Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140533939563392",
"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": "c99401d42dda4e478a9f55b1caac21f6",
"span_id": "87f48622303f5b3d",
"parent_span_id": "b923e2f75bb3f6f3",
"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-28T07:35:11.370658Z",
"timestamp": "2026-05-28T07:35:11.718157Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140533939563392",
"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": "bed722e33c786737",
"trace_id": "c99401d42dda4e478a9f55b1caac21f6",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:10.285718Z",
"timestamp": "2026-05-28T07:35:12.524964Z",
"data": {
"thread.id": "140533939563392",
"thread.name": "MainThread"
}
},
{
"span_id": "868ee507375f0374",
"trace_id": "c99401d42dda4e478a9f55b1caac21f6",
"parent_span_id": "bed722e33c786737",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953710.286801,
"timestamp": 1779953710.771375,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140533939563392",
"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": "bed722e33c786737",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9cae91a74bb66a5f",
"trace_id": "c99401d42dda4e478a9f55b1caac21f6",
"parent_span_id": "bed722e33c786737",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953710.771519,
"timestamp": 1779953711.366078,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140533939563392",
"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. You're asking about \\\"that city,\\\" but you haven't told me which city you're referring to.\\n\\nPlease tell me the name of the city you're interested in, and I'll do my best to find its population for you.\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.usage.input_tokens": 16,
"gen_ai.usage.output_tokens": 62,
"gen_ai.usage.total_tokens": 78,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "bed722e33c786737",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b923e2f75bb3f6f3",
"trace_id": "c99401d42dda4e478a9f55b1caac21f6",
"parent_span_id": "bed722e33c786737",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953711.366216,
"timestamp": 1779953712.524902,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140533939563392",
"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 little more context. \\\"Metropolitan area\\\" is a general term, and there are many of them around the world.\\n\\n**Please tell me:**\\n\\n* **Which metropolitan area are you interested in?** (e.g., \\\"the New York metropolitan area,\\\" \\\"the Tokyo metropolitan area,\\\" \\\"the London metropolitan area,\\\" \\\"the Chicago metropolitan area,\\\" etc.)\\n* **What specifically about the metropolitan area are you curious about?** For example, are you interested in:\\n * **Demographics:** Population, age distribution, ethnic makeup, income levels?\\n * **Geography:** Size, boundaries, major cities/suburbs, terrain?\\n * **Economy:** Major industries, employment, cost of living?\\n * **Transportation:** Public transit, major highways, airports?\\n * **Culture and Lifestyle:** Attractions, neighborhoods, arts, dining?\\n * **Politics and Governance:** How it's managed, local government structure?\\n * **Current Events/News:** Any specific recent developments?\\n * **Something else entirely?**\\n\\nOnce you provide me with more details, I can give you a much more specific and helpful answer.\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.usage.input_tokens": 14,
"gen_ai.usage.output_tokens": 264,
"gen_ai.usage.total_tokens": 278,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "bed722e33c786737",
"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) 15526ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
9de88d73gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9de88d73gen_ai.output.messagesMissing output messages attribute
9f2c20b8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f2c20b8gen_ai.output.messagesMissing output messages attribute
80256172gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
80256172gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "6d4b1482af4c40719084cde5968db867",
"span_id": "841fbb097b43280a",
"parent_span_id": "9de88d736bef3fd6",
"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-28T07:35:10.379822Z",
"timestamp": "2026-05-28T07:35:10.861578Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139961797012352",
"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": "6d4b1482af4c40719084cde5968db867",
"span_id": "a38b430ae528a52e",
"parent_span_id": "9f2c20b8501884f2",
"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-28T07:35:10.864565Z",
"timestamp": "2026-05-28T07:35:11.643798Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139961797012352",
"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": "6d4b1482af4c40719084cde5968db867",
"span_id": "91d63de72bc655de",
"parent_span_id": "802561726c09202e",
"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-28T07:35:11.649434Z",
"timestamp": "2026-05-28T07:35:12.853632Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139961797012352",
"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": "b887795a67dd9081",
"trace_id": "6d4b1482af4c40719084cde5968db867",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:10.376872Z",
"timestamp": "2026-05-28T07:35:12.854540Z",
"data": {
"thread.id": "139961797012352",
"thread.name": "MainThread"
}
},
{
"span_id": "9de88d736bef3fd6",
"trace_id": "6d4b1482af4c40719084cde5968db867",
"parent_span_id": "b887795a67dd9081",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953710.378013,
"timestamp": 1779953710.862925,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139961797012352",
"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": "LvAXatq5Hp_N-sAPkMftwQ4",
"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": "b887795a67dd9081",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9f2c20b8501884f2",
"trace_id": "6d4b1482af4c40719084cde5968db867",
"parent_span_id": "b887795a67dd9081",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953710.863088,
"timestamp": 1779953711.644812,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139961797012352",
"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. \\\"That city\\\" is too vague. Please tell me which city you are referring to!\\n\\nFor example, you could say:\\n\\n* \\\"What is the population of **London**?\\\"\\n* \\\"What is the population of **Tokyo**?\\\"\\n* \\\"What is the population of **my current location**?\\\" (If you have location services enabled and I can access them)\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.response.id": "LvAXao6cOpjIjMcPqvy1yQI",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"gen_ai.usage.input_tokens": 16,
"gen_ai.usage.output_tokens": 86,
"gen_ai.usage.total_tokens": 102,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "b887795a67dd9081",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "802561726c09202e",
"trace_id": "6d4b1482af4c40719084cde5968db867",
"parent_span_id": "b887795a67dd9081",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953711.644965,
"timestamp": 1779953712.854478,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139961797012352",
"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 a metropolitan area, I need a little more context! **Which metropolitan area are you interested in?**\\n\\nMetropolitan areas are large and can encompass many things. To help me understand what you're looking for, please tell me:\\n\\n* **Which city or region are you thinking of?** For example, \\\"the New York metropolitan area,\\\" \\\"the Los Angeles metropolitan area,\\\" \\\"the Tokyo metropolitan area,\\\" or \\\"the metropolitan area around Chicago.\\\"\\n\\nOnce I know which metropolitan area you're curious about, I can tell you about things like:\\n\\n* **Its population and demographics.**\\n* **Its economy and major industries.**\\n* **Its geography and physical features.**\\n* **Its transportation systems.**\\n* **Its culture and attractions.**\\n* **Its challenges and opportunities.**\\n* **Its administrative structure (how it's governed).**\\n\\n**Looking forward to hearing which one you have in mind!**\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.response.id": "L_AXaqH6K4axjMcP18Aq",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"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": "b887795a67dd9081",
"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 15441ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
9f8d55c3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f8d55c3gen_ai.output.messagesMissing output messages attribute
a6dbec88gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a6dbec88gen_ai.output.messagesMissing output messages attribute
9726415dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9726415dgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
9f8d55c3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a6dbec88gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9726415dgen_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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "07a90ab3b88940eaa056afd3efc11853",
"span_id": "9470fb158b7e82df",
"parent_span_id": "9f8d55c3d75671bd",
"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-28T07:35:10.407078Z",
"timestamp": "2026-05-28T07:35:10.963709Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139854944787328",
"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": "07a90ab3b88940eaa056afd3efc11853",
"span_id": "a9ac4fa694f5489f",
"parent_span_id": "a6dbec88b33512ab",
"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-28T07:35:10.968530Z",
"timestamp": "2026-05-28T07:35:11.421323Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139854944787328",
"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": "07a90ab3b88940eaa056afd3efc11853",
"span_id": "b9aa3b249d1fc2c0",
"parent_span_id": "9726415d64e34ce8",
"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-28T07:35:11.428391Z",
"timestamp": "2026-05-28T07:35:11.704191Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139854944787328",
"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": "96b9cb797a58f455",
"trace_id": "07a90ab3b88940eaa056afd3efc11853",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:10.404933Z",
"timestamp": "2026-05-28T07:35:12.868991Z",
"data": {
"thread.id": "139854944787328",
"thread.name": "MainThread"
}
},
{
"span_id": "9f8d55c3d75671bd",
"trace_id": "07a90ab3b88940eaa056afd3efc11853",
"parent_span_id": "96b9cb797a58f455",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953710.405962,
"timestamp": 1779953710.966857,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139854944787328",
"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": "96b9cb797a58f455",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a6dbec88b33512ab",
"trace_id": "07a90ab3b88940eaa056afd3efc11853",
"parent_span_id": "96b9cb797a58f455",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953710.967007,
"timestamp": 1779953711.426777,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139854944787328",
"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.\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.usage.input_tokens": 16,
"gen_ai.usage.output_tokens": 19,
"gen_ai.usage.total_tokens": 35,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "96b9cb797a58f455",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9726415d64e34ce8",
"trace_id": "07a90ab3b88940eaa056afd3efc11853",
"parent_span_id": "96b9cb797a58f455",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953711.426919,
"timestamp": 1779953712.861429,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139854944787328",
"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 little more context! Metropolitan areas are vast and diverse, and what's important about them can vary greatly depending on what you're interested in.\\n\\nPlease tell me:\\n\\n* **Which metropolitan area are you interested in?** For example, are you asking about:\\n * The New York metropolitan area?\\n * The Los Angeles metropolitan area?\\n * The Tokyo metropolitan area?\\n * The London metropolitan area?\\n * Or a smaller, less well-known one?\\n\\n* **What specifically about the metropolitan area are you curious about?** Are you interested in:\\n * **Geography and Boundaries:** What are its defining features, population size, and geographical limits?\\n * **Demographics:** What is the population like in terms of age, ethnicity, income, education, etc.?\\n * **Economy:** What are its major industries, employment rates, and economic trends?\\n * **Transportation:** How do people get around? What's the public transit like? What are the major road networks?\\n * **Culture and Lifestyle:** What are the arts, entertainment, food scenes, and overall way of life?\\n * **Housing Market:** What are property values like? What are the trends in housing affordability?\\n * **Challenges and Opportunities:** What are the main issues facing the area (e.g., traffic, pollution, inequality) and what are its strengths and potential for growth?\\n * **History:** How did it develop into what it is today?\\n * **Something else entirely?**\\n\\nOnce I have this information, I can provide you with a much more specific and helpful answer!\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.usage.input_tokens": 14,
"gen_ai.usage.output_tokens": 373,
"gen_ai.usage.total_tokens": 387,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "96b9cb797a58f455",
"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) 14685ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
aa4fb419gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aa4fb419gen_ai.output.messagesMissing output messages attribute
8bf30a13gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8bf30a13gen_ai.output.messagesMissing output messages attribute
8199e1d6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8199e1d6gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "ff00d88fc59341308c6252c18fc0678a",
"span_id": "aa8090a9a55aec4c",
"parent_span_id": "aa4fb41960eb0a03",
"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-28T07:35:10.811173Z",
"timestamp": "2026-05-28T07:35:11.466949Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139734896008064",
"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": "ff00d88fc59341308c6252c18fc0678a",
"span_id": "9e8671c633effc28",
"parent_span_id": "8bf30a13b5b9985b",
"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-28T07:35:11.473044Z",
"timestamp": "2026-05-28T07:35:11.870542Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139734896008064",
"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": "ff00d88fc59341308c6252c18fc0678a",
"span_id": "a947b204805f7834",
"parent_span_id": "8199e1d6f92ea565",
"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-28T07:35:11.878204Z",
"timestamp": "2026-05-28T07:35:13.203739Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139734896008064",
"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": "8c1feacaaf99cfa5",
"trace_id": "ff00d88fc59341308c6252c18fc0678a",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:10.809046Z",
"timestamp": "2026-05-28T07:35:13.211064Z",
"data": {
"thread.id": "139734896008064",
"thread.name": "MainThread"
}
},
{
"span_id": "aa4fb41960eb0a03",
"trace_id": "ff00d88fc59341308c6252c18fc0678a",
"parent_span_id": "8c1feacaaf99cfa5",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953710.810065,
"timestamp": 1779953711.471328,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139734896008064",
"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": "L_AXaqGdAsC9_uMPlu2okQs",
"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": "8c1feacaaf99cfa5",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8bf30a13b5b9985b",
"trace_id": "ff00d88fc59341308c6252c18fc0678a",
"parent_span_id": "8c1feacaaf99cfa5",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953711.471504,
"timestamp": 1779953711.876513,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139734896008064",
"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 are interested in.\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.response.id": "L_AXaqPeId27_uMPxK6q8QY",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"gen_ai.usage.input_tokens": 16,
"gen_ai.usage.output_tokens": 34,
"gen_ai.usage.total_tokens": 50,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "8c1feacaaf99cfa5",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8199e1d6f92ea565",
"trace_id": "ff00d88fc59341308c6252c18fc0678a",
"parent_span_id": "8c1feacaaf99cfa5",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953711.876732,
"timestamp": 1779953713.204604,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139734896008064",
"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 answer, I need a little more context! \\\"Metropolitan area\\\" is a broad term. **What specifically about the metropolitan area are you interested in?**\\n\\nFor example, are you asking about:\\n\\n* **A specific metropolitan area?** (e.g., \\\"What about the **New York City** metropolitan area?\\\")\\n* **The definition of a metropolitan area?** (What makes an area \\\"metropolitan\\\"?)\\n* **Characteristics of metropolitan areas in general?** (e.g., population density, economic activity, infrastructure, challenges)\\n* **The impact of metropolitan areas?** (e.g., on the environment, on society, on the economy)\\n* **Comparisons between metropolitan areas?**\\n* **Something else entirely?**\\n\\nOnce you provide me with more information, I can give you a much more focused and helpful response!\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.response.id": "L_AXav-WOqG9_uMPrMurWQ",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"gen_ai.usage.input_tokens": 14,
"gen_ai.usage.output_tokens": 190,
"gen_ai.usage.total_tokens": 204,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "8c1feacaaf99cfa5",
"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 12923ms
Critical
checkChatSpanAttributes
904b01a8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
904b01a8gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
904b01a8gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "27512289c2f248c5aeef5357923d4ac4",
"span_id": "a0f4d6aee3c378f9",
"parent_span_id": "904b01a8bff92fdf",
"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-28T07:35:13.028731Z",
"timestamp": "2026-05-28T07:35:13.474671Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139712951237504",
"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": "912e003214dbd0c5",
"trace_id": "27512289c2f248c5aeef5357923d4ac4",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:13.019611Z",
"timestamp": "2026-05-28T07:35:13.479690Z",
"data": {
"thread.id": "139712951237504",
"thread.name": "MainThread"
}
},
{
"span_id": "904b01a8bff92fdf",
"trace_id": "27512289c2f248c5aeef5357923d4ac4",
"parent_span_id": "912e003214dbd0c5",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953713.023202,
"timestamp": 1779953713.47964,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139712951237504",
"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": "912e003214dbd0c5",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/google-genai :: Vision LLM Test (sync, blocking) 13366ms
Critical
checkChatSpanAttributes
a34ead97gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a34ead97gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "1d040e1efb044fdf9ffb0191664cb13d",
"span_id": "b85140cfb1ef47e1",
"parent_span_id": "a34ead97cbd7bbd0",
"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-28T07:35:13.722525Z",
"timestamp": "2026-05-28T07:35:14.143404Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140208860908416",
"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": "9d888808f920f76c",
"trace_id": "1d040e1efb044fdf9ffb0191664cb13d",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:13.718932Z",
"timestamp": "2026-05-28T07:35:14.153879Z",
"data": {
"thread.id": "140208860908416",
"thread.name": "MainThread"
}
},
{
"span_id": "a34ead97cbd7bbd0",
"trace_id": "1d040e1efb044fdf9ffb0191664cb13d",
"parent_span_id": "9d888808f920f76c",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953713.720018,
"timestamp": 1779953714.153802,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140208860908416",
"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": "MfAXaq-bNNqU_uMP4v-S-QI",
"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": "9d888808f920f76c",
"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 14265ms
Critical
checkChatSpanAttributes
b716b64agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b716b64agen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
b716b64agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "c267c003426b4dad9104377a1af45f17",
"span_id": "9a8ca76c6205ba46",
"parent_span_id": "b716b64a4e84397e",
"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-28T07:35:15.414286Z",
"timestamp": "2026-05-28T07:35:16.060928Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140355061152640",
"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": "8185ed4f7dae5dbb",
"trace_id": "c267c003426b4dad9104377a1af45f17",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:15.400087Z",
"timestamp": "2026-05-28T07:35:16.081864Z",
"data": {
"thread.id": "140355061152640",
"thread.name": "MainThread"
}
},
{
"span_id": "b716b64a4e84397e",
"trace_id": "c267c003426b4dad9104377a1af45f17",
"parent_span_id": "8185ed4f7dae5dbb",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953715.40571,
"timestamp": 1779953716.069424,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140355061152640",
"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": "8185ed4f7dae5dbb",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/google-genai :: Vision LLM Test (async, blocking) 14712ms
Critical
checkChatSpanAttributes
9b150225gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b150225gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "846c6e4065b74c71991e0db1f0bb8995",
"span_id": "88b3e710435989f6",
"parent_span_id": "9b150225bd060a19",
"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-28T07:35:16.941924Z",
"timestamp": "2026-05-28T07:35:17.359435Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140066552220544",
"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": "80bb4e215300ddd5",
"trace_id": "846c6e4065b74c71991e0db1f0bb8995",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:16.937803Z",
"timestamp": "2026-05-28T07:35:17.366881Z",
"data": {
"thread.id": "140066552220544",
"thread.name": "MainThread"
}
},
{
"span_id": "9b150225bd060a19",
"trace_id": "846c6e4065b74c71991e0db1f0bb8995",
"parent_span_id": "80bb4e215300ddd5",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953716.939207,
"timestamp": 1779953717.363887,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140066552220544",
"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": "NfAXapvOA5-V_uMPusjK-QI",
"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": "80bb4e215300ddd5",
"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 15897ms
Critical
checkChatSpanAttributes
8ef3c49bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8ef3c49bgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
8ef3c49bgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "efa28a2b6cd94762bcb1196dcf730e17",
"span_id": "a4341f76f6626173",
"parent_span_id": "8ef3c49b83c72278",
"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-28T07:35:17.890420Z",
"timestamp": "2026-05-28T07:35:18.482807Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139773093350272",
"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": "a15cc95c2dd97ee4",
"trace_id": "efa28a2b6cd94762bcb1196dcf730e17",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:17.884744Z",
"timestamp": "2026-05-28T07:35:18.572178Z",
"data": {
"thread.id": "139773093350272",
"thread.name": "MainThread"
}
},
{
"span_id": "8ef3c49b83c72278",
"trace_id": "efa28a2b6cd94762bcb1196dcf730e17",
"parent_span_id": "a15cc95c2dd97ee4",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953717.888352,
"timestamp": 1779953718.572119,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139773093350272",
"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 input consists of a repeated test message to create a very long text.\"]",
"gen_ai.response.finish_reasons": "STOP",
"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": "a15cc95c2dd97ee4",
"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) 15977ms
Critical
checkChatSpanAttributes
aeab038agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aeab038agen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "fe6e2589c8154829bb513ccf32c67600",
"span_id": "aa87e6a5a6eac35f",
"parent_span_id": "aeab038aabfb8aa2",
"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-28T07:35:17.929358Z",
"timestamp": "2026-05-28T07:35:18.573683Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140503784618880",
"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": "9efbbebe85004ebc",
"trace_id": "fe6e2589c8154829bb513ccf32c67600",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:17.925239Z",
"timestamp": "2026-05-28T07:35:18.578156Z",
"data": {
"thread.id": "140503784618880",
"thread.name": "MainThread"
}
},
{
"span_id": "aeab038aabfb8aa2",
"trace_id": "fe6e2589c8154829bb513ccf32c67600",
"parent_span_id": "9efbbebe85004ebc",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953717.927249,
"timestamp": 1779953718.578078,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140503784618880",
"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 test message repeated numerous times to create a lengthy input.\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.response.id": "NvAXauDaBOfC1MkPypSE-Q8",
"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": "9efbbebe85004ebc",
"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 14728ms
Critical
checkChatSpanAttributes
b52f4208gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b52f4208gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
b52f4208gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "d7f37345cde3434796de385b3eee2477",
"span_id": "88773c174b993db0",
"parent_span_id": "b52f420866acef6c",
"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-28T07:35:16.880868Z",
"timestamp": "2026-05-28T07:35:17.404918Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139622520224640",
"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": "88ad2575386bc36b",
"trace_id": "d7f37345cde3434796de385b3eee2477",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:16.871132Z",
"timestamp": "2026-05-28T07:35:17.545904Z",
"data": {
"thread.id": "139622520224640",
"thread.name": "MainThread"
}
},
{
"span_id": "b52f420866acef6c",
"trace_id": "d7f37345cde3434796de385b3eee2477",
"parent_span_id": "88ad2575386bc36b",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953716.875711,
"timestamp": 1779953717.529921,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139622520224640",
"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 input consists of a repetitive test message designed to be very long.\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.usage.input_tokens": 5419,
"gen_ai.usage.input_tokens.cached": 5108,
"gen_ai.usage.output_tokens": 15,
"gen_ai.usage.total_tokens": 5434,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "88ad2575386bc36b",
"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) 15904ms
Critical
checkChatSpanAttributes
86fcaea9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
86fcaea9gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "761109965a4d44088084697ec76a2dbf",
"span_id": "8c8780989f9639a5",
"parent_span_id": "86fcaea91111c15a",
"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-28T07:35:17.948402Z",
"timestamp": "2026-05-28T07:35:18.585811Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140500438256512",
"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": "bef97e8beaca66df",
"trace_id": "761109965a4d44088084697ec76a2dbf",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:17.938875Z",
"timestamp": "2026-05-28T07:35:18.599862Z",
"data": {
"thread.id": "140500438256512",
"thread.name": "MainThread"
}
},
{
"span_id": "86fcaea91111c15a",
"trace_id": "761109965a4d44088084697ec76a2dbf",
"parent_span_id": "bef97e8beaca66df",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953717.941666,
"timestamp": 1779953718.591393,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140500438256512",
"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 is repeated many times to create a long input.\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.response.id": "NvAXar2KBoTKjMcPxZmywQU",
"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": "bef97e8beaca66df",
"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 17689ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
81a19413gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81a19413gen_ai.output.messagesMissing output messages attribute
9b45caa8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b45caa8gen_ai.output.messagesMissing output messages attribute
9bb0dad5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9bb0dad5gen_ai.output.messagesMissing output messages attribute
9dc53057gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9dc53057gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
81a19413gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9b45caa8gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9bb0dad5gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9dc53057gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "0fad2f37c04b4fae9b612d3573679b5e",
"span_id": "bded41e12acb849e",
"parent_span_id": "81a194134411920a",
"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-28T07:35:17.618665Z",
"timestamp": "2026-05-28T07:35:17.948848Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140383098207104",
"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": "0fad2f37c04b4fae9b612d3573679b5e",
"span_id": "95085396cfa8979f",
"parent_span_id": "9b45caa802f58184",
"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-28T07:35:17.955980Z",
"timestamp": "2026-05-28T07:35:18.341253Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140383098207104",
"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": "0fad2f37c04b4fae9b612d3573679b5e",
"span_id": "92abd1db17acf326",
"parent_span_id": "9bb0dad565f6ba0e",
"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-28T07:35:18.347169Z",
"timestamp": "2026-05-28T07:35:18.628153Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140383098207104",
"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": "0fad2f37c04b4fae9b612d3573679b5e",
"span_id": "a23eea8fb46a25dd",
"parent_span_id": "9dc53057a0b4baf9",
"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-28T07:35:19.428364Z",
"timestamp": "2026-05-28T07:35:19.785656Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140383098207104",
"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": "8581f5bf4da1ecf6",
"trace_id": "0fad2f37c04b4fae9b612d3573679b5e",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:35:17.612882Z",
"timestamp": "2026-05-28T07:35:20.241044Z",
"data": {
"thread.id": "140383098207104",
"thread.name": "MainThread"
}
},
{
"span_id": "81a194134411920a",
"trace_id": "0fad2f37c04b4fae9b612d3573679b5e",
"parent_span_id": "8581f5bf4da1ecf6",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953717.613966,
"timestamp": 1779953717.954321,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140383098207104",
"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": "8581f5bf4da1ecf6",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9b45caa802f58184",
"trace_id": "0fad2f37c04b4fae9b612d3573679b5e",
"parent_span_id": "8581f5bf4da1ecf6",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953717.954472,
"timestamp": 1779953718.345593,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140383098207104",
"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": 6,
"gen_ai.usage.total_tokens": 22,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "8581f5bf4da1ecf6",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9bb0dad565f6ba0e",
"trace_id": "0fad2f37c04b4fae9b612d3573679b5e",
"parent_span_id": "8581f5bf4da1ecf6",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953718.345758,
"timestamp": 1779953719.42683,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140383098207104",
"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 a good answer, I need a little more direction! 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 history (ancient, medieval, modern, reunification)?\\n* Its political system and government?\\n* Its economy and major industries?\\n* Its population and demographics?\\n* Its culture (art, music, literature, philosophy, holidays)?\\n\\n**Specific Aspects:**\\n* Its cities (Berlin, Munich, Hamburg, etc.)?\\n* Its food and drink?\\n* Its major companies or brands?\\n* Its role in the European Union or on the world stage?\\n* Tourism and popular destinations?\\n* The German language?\\n* Current events or recent news related to Germany?\\n\\n**Or perhaps you have a specific question like:**\\n* \\\"What's the weather like in Germany right now?\\\"\\n* \\\"What are the biggest challenges facing Germany today?\\\"\\n* \\\"What are some famous German inventions?\\\"\\n\\nOnce you tell me what you're interested in, I can provide a much more specific and helpful answer!\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.usage.input_tokens": 12,
"gen_ai.usage.output_tokens": 261,
"gen_ai.usage.total_tokens": 273,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "8581f5bf4da1ecf6",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9dc53057a0b4baf9",
"trace_id": "0fad2f37c04b4fae9b612d3573679b5e",
"parent_span_id": "8581f5bf4da1ecf6",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953719.426985,
"timestamp": 1779953720.240987,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140383098207104",
"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 to start with!\\n\\n**3 + 3 = 6**\\n\\nWe can think of it like this:\\n\\n* If you have 3 apples and someone gives you 3 more apples, you'll have a total of 6 apples.\\n* Or, if you count 3 steps forward and then 3 more steps forward, you'll have taken a total of 6 steps.\\n\\nDo you want to try another addition problem, or maybe explore what happens when we subtract?\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.usage.input_tokens": 16,
"gen_ai.usage.output_tokens": 109,
"gen_ai.usage.total_tokens": 125,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "8581f5bf4da1ecf6",
"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) 18560ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
abb5069egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
abb5069egen_ai.output.messagesMissing output messages attribute
9b59603cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b59603cgen_ai.output.messagesMissing output messages attribute
85c285fagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
85c285fagen_ai.output.messagesMissing output messages attribute
a394415egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a394415egen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "d194617d44e14d42b02f54791f4c9569",
"span_id": "a5fe530275398d83",
"parent_span_id": "abb5069ec3f8db41",
"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-28T07:35:18.121227Z",
"timestamp": "2026-05-28T07:35:18.814519Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139862531992448",
"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": "d194617d44e14d42b02f54791f4c9569",
"span_id": "a1675ffc065b8832",
"parent_span_id": "9b59603cfb4d5fdd",
"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-28T07:35:18.823184Z",
"timestamp": "2026-05-28T07:35:19.422879Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139862531992448",
"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": "d194617d44e14d42b02f54791f4c9569",
"span_id": "b2fb07a2022ee7db",
"parent_span_id": "85c285fa7cb8ac5b",
"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-28T07:35:19.427468Z",
"timestamp": "2026-05-28T07:35:20.929752Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139862531992448",
"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": "d194617d44e14d42b02f54791f4c9569",
"span_id": "8b9cbb001c698fde",
"parent_span_id": "a394415e17f220e1",
"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-28T07:35:20.941245Z",
"timestamp": "2026-05-28T07:35:21.484983Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139862531992448",
"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": "9a0067ad5b7008b3",
"trace_id": "d194617d44e14d42b02f54791f4c9569",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:35:18.118561Z",
"timestamp": "2026-05-28T07:35:21.486094Z",
"data": {
"thread.id": "139862531992448",
"thread.name": "MainThread"
}
},
{
"span_id": "abb5069ec3f8db41",
"trace_id": "d194617d44e14d42b02f54791f4c9569",
"parent_span_id": "9a0067ad5b7008b3",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953718.119582,
"timestamp": 1779953718.821298,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139862531992448",
"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": "NvAXasmpDbbXjMcPitiBmA0",
"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": "9a0067ad5b7008b3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9b59603cfb4d5fdd",
"trace_id": "d194617d44e14d42b02f54791f4c9569",
"parent_span_id": "9a0067ad5b7008b3",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953718.821505,
"timestamp": 1779953719.425964,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139862531992448",
"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 equals **4**.\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.response.id": "NvAXavrgN_HSjMcP79jT2QM",
"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.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "9a0067ad5b7008b3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "85c285fa7cb8ac5b",
"trace_id": "d194617d44e14d42b02f54791f4c9569",
"parent_span_id": "9a0067ad5b7008b3",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953719.426118,
"timestamp": 1779953720.930738,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139862531992448",
"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 vibrant culture, and a significant role in the world today. To give you the best information, I need a little more direction. What aspects of Germany are you most interested in?\\n\\nFor example, are you curious about:\\n\\n**History:**\\n* The unification of Germany?\\n* World War I or World War II and their aftermath?\\n* The division and reunification of Germany?\\n* Specific historical figures or periods?\\n\\n**Culture:**\\n* German art, music, or literature?\\n* German traditions and festivals (like Oktoberfest)?\\n* German food and drink?\\n* The German language?\\n\\n**Politics and Economy:**\\n* Germany's current political system and leadership?\\n* Its role in the European Union?\\n* Its economic strengths and challenges?\\n* Its social policies?\\n\\n**Geography and Travel:**\\n* Major cities like Berlin, Munich, or Hamburg?\\n* Beautiful regions like the Black Forest or the Bavarian Alps?\\n* Things to see and do for tourists?\\n\\n**Society and People:**\\n* German values and lifestyle?\\n* Immigration and integration in Germany?\\n* Current social issues?\\n\\n**Or perhaps something else entirely?**\\n\\nOnce you tell me what you'd like to know, I can provide you with more specific and detailed information. Looking forward to hearing what you're interested in!\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.response.id": "N_AXaqOJHvL1jMcPqua4yAE",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"gen_ai.usage.input_tokens": 12,
"gen_ai.usage.output_tokens": 307,
"gen_ai.usage.total_tokens": 319,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "9a0067ad5b7008b3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a394415e17f220e1",
"trace_id": "d194617d44e14d42b02f54791f4c9569",
"parent_span_id": "9a0067ad5b7008b3",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953720.930905,
"timestamp": 1779953721.486026,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "139862531992448",
"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": "[\"That's a great question!\\n\\n3 + 3 equals **6**.\\n\\nIt's like having 3 apples and then getting 3 more apples. If you count them all together, you have 6 apples!\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.response.id": "OfAXauB-47qMxw_f1s-pDQ",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"gen_ai.usage.input_tokens": 16,
"gen_ai.usage.output_tokens": 46,
"gen_ai.usage.total_tokens": 62,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "9a0067ad5b7008b3",
"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 19919ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
81467b5dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81467b5dgen_ai.output.messagesMissing output messages attribute
8e1b6247gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8e1b6247gen_ai.output.messagesMissing output messages attribute
8c945798gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c945798gen_ai.output.messagesMissing output messages attribute
a55b7907gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a55b7907gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
81467b5dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8e1b6247gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8c945798gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a55b7907gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "35de2b51f77b49d6b69eda4b5c6e9910",
"span_id": "977811c7ed4b7e84",
"parent_span_id": "81467b5d81a69dc9",
"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-28T07:35:18.097867Z",
"timestamp": "2026-05-28T07:35:18.466943Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140582689966976",
"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": "35de2b51f77b49d6b69eda4b5c6e9910",
"span_id": "be54c715199f944b",
"parent_span_id": "8e1b624785e5132a",
"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-28T07:35:18.477873Z",
"timestamp": "2026-05-28T07:35:18.806491Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140582689966976",
"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": "35de2b51f77b49d6b69eda4b5c6e9910",
"span_id": "9b070f6f81b5b378",
"parent_span_id": "8c945798e43e5f0b",
"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-28T07:35:18.833263Z",
"timestamp": "2026-05-28T07:35:19.141352Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140582689966976",
"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": "35de2b51f77b49d6b69eda4b5c6e9910",
"span_id": "a02838bf0b9efbdc",
"parent_span_id": "a55b7907554fde9f",
"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-28T07:35:22.023264Z",
"timestamp": "2026-05-28T07:35:22.341303Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140582689966976",
"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": "902bf6376b17aa28",
"trace_id": "35de2b51f77b49d6b69eda4b5c6e9910",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:35:18.094687Z",
"timestamp": "2026-05-28T07:35:22.647056Z",
"data": {
"thread.id": "140582689966976",
"thread.name": "MainThread"
}
},
{
"span_id": "81467b5d81a69dc9",
"trace_id": "35de2b51f77b49d6b69eda4b5c6e9910",
"parent_span_id": "902bf6376b17aa28",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953718.095987,
"timestamp": 1779953718.473119,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140582689966976",
"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": "902bf6376b17aa28",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8e1b624785e5132a",
"trace_id": "35de2b51f77b49d6b69eda4b5c6e9910",
"parent_span_id": "902bf6376b17aa28",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953718.47328,
"timestamp": 1779953718.825128,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140582689966976",
"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": "902bf6376b17aa28",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8c945798e43e5f0b",
"trace_id": "35de2b51f77b49d6b69eda4b5c6e9910",
"parent_span_id": "902bf6376b17aa28",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953718.82528,
"timestamp": 1779953722.012474,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140582689966976",
"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 history, diverse culture, and a significant role in the global economy. To give you the best information, I need a little more context about what specifically interests you about Germany.\\n\\nHowever, I can provide you with some general highlights:\\n\\n**Key Aspects of Germany:**\\n\\n* **Geography:** Located in Central Europe, it's the second-most populous country in Europe and the most populous in the European Union. It boasts a varied landscape, from the North Sea and Baltic Sea coasts in the north to the Alps in the south.\\n* **Capital and Major Cities:** Berlin is the capital and largest city. Other prominent cities include Hamburg, Munich, Cologne, Frankfurt, and Stuttgart, each with its own distinct character and economic importance.\\n* **History:** Germany has a complex and often tumultuous history, marked by periods of great achievement and significant conflict. Key events include the unification of Germany in 1871, the World Wars, division into East and West Germany during the Cold War, and reunification in 1990.\\n* **Government:** Germany is a federal parliamentary republic. It has a bicameral legislature and a strong emphasis on consensus-building and social partnership.\\n* **Economy:** Germany has the largest economy in Europe and is a global powerhouse in manufacturing, particularly in the automotive, mechanical engineering, and chemical industries. It's known for its high-quality products and strong export orientation.\\n* **Culture:** German culture is diverse and influential. It's renowned for its contributions to philosophy, literature, music (classical and modern), art, and science. Traditional aspects like beer gardens, Oktoberfest, and Christmas markets are well-known, but modern Germany is also very cosmopolitan.\\n* **Language:** The official language is German.\\n* **European Union:** Germany is a founding member of the European Union and a key player in its development and policies.\\n* **Society:** Germany has a generally high standard of living, a comprehensive social welfare system, and a strong commitment to environmental protection.\\n\\n**To help me provide more specific information, please tell me what you'd like to know about Germany. For example, are you interested in:**\\n\\n* **Its history?** (e.g., a specific period, World War II, reunification)\\n* **Its economy?** (e.g., major industries, trade, economic challenges)\\n* **Its culture?** (e.g., music, art, food, traditions, contemporary culture)\\n* **Its politics?** (e.g., the current government, its role in the EU)\\n* **Travel and tourism?** (e.g., popular destinations, things to do)\\n* **Education or work opportunities?**\\n* **Something else entirely?**\\n\\nOnce I have a better idea of your interest, I can give you a more focused and helpful answer!\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.usage.input_tokens": 12,
"gen_ai.usage.output_tokens": 613,
"gen_ai.usage.total_tokens": 625,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "902bf6376b17aa28",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a55b7907554fde9f",
"trace_id": "35de2b51f77b49d6b69eda4b5c6e9910",
"parent_span_id": "902bf6376b17aa28",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953722.012675,
"timestamp": 1779953722.638135,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140582689966976",
"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 equals **6**.\\n\\nIt's a basic addition problem. You're combining a group of 3 with another group of 3, and when you count them all together, you have 6.\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.usage.input_tokens": 16,
"gen_ai.usage.output_tokens": 46,
"gen_ai.usage.total_tokens": 62,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "902bf6376b17aa28",
"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) 17556ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
acb87d31gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
acb87d31gen_ai.output.messagesMissing output messages attribute
97c201b0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
97c201b0gen_ai.output.messagesMissing output messages attribute
a280c2f1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a280c2f1gen_ai.output.messagesMissing output messages attribute
abe09f16gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
abe09f16gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "2a60189d20884b3081cb60684c685040",
"span_id": "b2ef6dfd09c38ffb",
"parent_span_id": "acb87d31cf1fd54f",
"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-28T07:35:17.332226Z",
"timestamp": "2026-05-28T07:35:17.772847Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140137311693696",
"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": "2a60189d20884b3081cb60684c685040",
"span_id": "a15035802149000a",
"parent_span_id": "97c201b0f248e625",
"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-28T07:35:17.785008Z",
"timestamp": "2026-05-28T07:35:18.342548Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140137311693696",
"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": "2a60189d20884b3081cb60684c685040",
"span_id": "985c0b59083fce3b",
"parent_span_id": "a280c2f1c8a08da9",
"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-28T07:35:18.348230Z",
"timestamp": "2026-05-28T07:35:19.899262Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140137311693696",
"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": "2a60189d20884b3081cb60684c685040",
"span_id": "8566698ad6863295",
"parent_span_id": "abe09f16d190ed8d",
"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-28T07:35:19.907890Z",
"timestamp": "2026-05-28T07:35:20.357287Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140137311693696",
"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": "af2de741a2be8615",
"trace_id": "2a60189d20884b3081cb60684c685040",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:35:17.326638Z",
"timestamp": "2026-05-28T07:35:20.369973Z",
"data": {
"thread.id": "140137311693696",
"thread.name": "MainThread"
}
},
{
"span_id": "acb87d31cf1fd54f",
"trace_id": "2a60189d20884b3081cb60684c685040",
"parent_span_id": "af2de741a2be8615",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953717.328072,
"timestamp": 1779953717.783241,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140137311693696",
"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": "NfAXavCGHMzMjMcP6bCG2AM",
"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": "af2de741a2be8615",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "97c201b0f248e625",
"trace_id": "2a60189d20884b3081cb60684c685040",
"parent_span_id": "af2de741a2be8615",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953717.783432,
"timestamp": 1779953718.343602,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140137311693696",
"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\\nWould you like to try another math problem?\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.response.id": "NfAXaumSNOHWjMcPirPP4AM",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"gen_ai.usage.input_tokens": 16,
"gen_ai.usage.output_tokens": 19,
"gen_ai.usage.total_tokens": 35,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "af2de741a2be8615",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a280c2f1c8a08da9",
"trace_id": "2a60189d20884b3081cb60684c685040",
"parent_span_id": "af2de741a2be8615",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953718.346818,
"timestamp": 1779953719.900222,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140137311693696",
"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 vibrant culture, and a significant role in the global economy. To give you a more helpful answer, 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* **Geography and Demographics:** Its size, population, major cities, landscape?\\n* **History:** Key events, periods, or figures?\\n* **Culture:** Arts, music, literature, food, traditions, holidays?\\n* **Politics and Government:** Its system of government, current leaders, major political parties?\\n* **Economy:** Its industries, economic strengths, its role in the EU?\\n\\n**Specific Interests:**\\n* **Travel:** Tourist destinations, things to do, best times to visit?\\n* **Education:** Universities, study programs, the education system?\\n* **Language:** Learning German, common phrases, linguistic nuances?\\n* **Current Events:** Recent news, political or social issues?\\n* **Comparing it to another country?**\\n\\nOnce you tell me what you'd like to know, I can provide a much more focused and useful answer!\"]",
"gen_ai.response.finish_reasons": "STOP",
"gen_ai.response.id": "NvAXauWyGdPUjMcP3P3k-QM",
"gen_ai.response.model": "gemini-2.5-flash-lite",
"gen_ai.usage.input_tokens": 12,
"gen_ai.usage.output_tokens": 255,
"gen_ai.usage.total_tokens": 267,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "af2de741a2be8615",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "abe09f16d190ed8d",
"trace_id": "2a60189d20884b3081cb60684c685040",
"parent_span_id": "af2de741a2be8615",
"op": "gen_ai.chat",
"description": "chat gemini-2.5-flash-lite",
"start_timestamp": 1779953719.900383,
"timestamp": 1779953720.358309,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.google_genai",
"thread.id": "140137311693696",
"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": "OPAXap83lpeMxw_MlciRDQ",
"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": "af2de741a2be8615",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langchain :: Basic LLM Test (sync, streaming, openai) 111186ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
85cd0e5egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
85cd0e5egen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "45ef35c09cfc4fa794edac36a1fa8c6e",
"span_id": "9e00100e039311c8",
"parent_span_id": "85cd0e5e0f5458da",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:20.984044Z",
"timestamp": "2026-05-28T07:35:20.988711Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20572
},
"data": {
"thread.id": "140291930524544",
"thread.name": "MainThread"
}
},
{
"trace_id": "45ef35c09cfc4fa794edac36a1fa8c6e",
"span_id": "810aeaa28ebc2d61",
"parent_span_id": "85cd0e5e0f5458da",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:20.988811Z",
"timestamp": "2026-05-28T07:35:20.988949Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20572
},
"data": {
"thread.id": "140291930524544",
"thread.name": "MainThread"
}
},
{
"trace_id": "45ef35c09cfc4fa794edac36a1fa8c6e",
"span_id": "a1fa9a100631240f",
"parent_span_id": "810aeaa28ebc2d61",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:20.988904Z",
"timestamp": "2026-05-28T07:35:20.988939Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20572
},
"data": {
"thread.id": "140291930524544",
"thread.name": "MainThread"
}
},
{
"trace_id": "45ef35c09cfc4fa794edac36a1fa8c6e",
"span_id": "a9e873b2aa189e62",
"parent_span_id": "85cd0e5e0f5458da",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:20.988984Z",
"timestamp": "2026-05-28T07:35:20.989002Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20572
},
"data": {
"thread.id": "140291930524544",
"thread.name": "MainThread"
}
},
{
"trace_id": "45ef35c09cfc4fa794edac36a1fa8c6e",
"span_id": "b8503424f14e0e7a",
"parent_span_id": "85cd0e5e0f5458da",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:20.990369Z",
"timestamp": "2026-05-28T07:35:23.227072Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140291930524544",
"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": "8dcdc71b1c8dd933",
"trace_id": "45ef35c09cfc4fa794edac36a1fa8c6e",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:35:20.962603Z",
"timestamp": "2026-05-28T07:35:23.287533Z",
"data": {
"thread.id": "140291930524544",
"thread.name": "MainThread"
}
},
{
"span_id": "85cd0e5e0f5458da",
"trace_id": "45ef35c09cfc4fa794edac36a1fa8c6e",
"parent_span_id": "8dcdc71b1c8dd933",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953720.973582,
"timestamp": 1779953723.287457,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140291930524544",
"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": 331,
"gen_ai.usage.total_tokens": 354,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "8dcdc71b1c8dd933",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langchain :: Basic LLM Test (sync, streaming, anthropic) 18912ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
acad0971gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
acad0971gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "7b80e249454d4cb385362b52d0aebe97",
"span_id": "9132c601f2978d7d",
"parent_span_id": "acad0971abc2573a",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:21.808750Z",
"timestamp": "2026-05-28T07:35:21.815724Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20579
},
"data": {
"thread.id": "139830295559040",
"thread.name": "MainThread"
}
},
{
"trace_id": "7b80e249454d4cb385362b52d0aebe97",
"span_id": "85b2e485f48efa12",
"parent_span_id": "acad0971abc2573a",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:21.815833Z",
"timestamp": "2026-05-28T07:35:21.815980Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20579
},
"data": {
"thread.id": "139830295559040",
"thread.name": "MainThread"
}
},
{
"trace_id": "7b80e249454d4cb385362b52d0aebe97",
"span_id": "95b7539e45a79ed5",
"parent_span_id": "85b2e485f48efa12",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:21.815934Z",
"timestamp": "2026-05-28T07:35:21.815970Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20579
},
"data": {
"thread.id": "139830295559040",
"thread.name": "MainThread"
}
},
{
"trace_id": "7b80e249454d4cb385362b52d0aebe97",
"span_id": "9ff46a92fbf5a4a8",
"parent_span_id": "acad0971abc2573a",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:21.816015Z",
"timestamp": "2026-05-28T07:35:21.816030Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20579
},
"data": {
"thread.id": "139830295559040",
"thread.name": "MainThread"
}
},
{
"trace_id": "7b80e249454d4cb385362b52d0aebe97",
"span_id": "86eb0ad26ba620eb",
"parent_span_id": "acad0971abc2573a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:21.817426Z",
"timestamp": "2026-05-28T07:35:22.303175Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139830295559040",
"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": "ba205d406e8f01e8",
"trace_id": "7b80e249454d4cb385362b52d0aebe97",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:35:21.705243Z",
"timestamp": "2026-05-28T07:35:22.390191Z",
"data": {
"thread.id": "139830295559040",
"thread.name": "MainThread"
}
},
{
"span_id": "acad0971abc2573a",
"trace_id": "7b80e249454d4cb385362b52d0aebe97",
"parent_span_id": "ba205d406e8f01e8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953721.712359,
"timestamp": 1779953722.390117,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139830295559040",
"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": "ba205d406e8f01e8",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langchain :: Basic LLM Test (sync, blocking, openai) 18474ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
8fd82619gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8fd82619gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "9d606767c2c94baca3c7fe65469f2a87",
"span_id": "bde257ffd2d368ee",
"parent_span_id": "8fd8261922116940",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:22.102387Z",
"timestamp": "2026-05-28T07:35:22.111826Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20581
},
"data": {
"thread.id": "140238901541760",
"thread.name": "MainThread"
}
},
{
"trace_id": "9d606767c2c94baca3c7fe65469f2a87",
"span_id": "b6b18ecb846843a1",
"parent_span_id": "8fd8261922116940",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:22.111926Z",
"timestamp": "2026-05-28T07:35:22.112068Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20581
},
"data": {
"thread.id": "140238901541760",
"thread.name": "MainThread"
}
},
{
"trace_id": "9d606767c2c94baca3c7fe65469f2a87",
"span_id": "bb47c7331e99410c",
"parent_span_id": "b6b18ecb846843a1",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:22.112022Z",
"timestamp": "2026-05-28T07:35:22.112056Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20581
},
"data": {
"thread.id": "140238901541760",
"thread.name": "MainThread"
}
},
{
"trace_id": "9d606767c2c94baca3c7fe65469f2a87",
"span_id": "9f76f4369430d1bc",
"parent_span_id": "8fd8261922116940",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:22.112100Z",
"timestamp": "2026-05-28T07:35:22.112112Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20581
},
"data": {
"thread.id": "140238901541760",
"thread.name": "MainThread"
}
},
{
"trace_id": "9d606767c2c94baca3c7fe65469f2a87",
"span_id": "b0255ae38d397136",
"parent_span_id": "8fd8261922116940",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:22.113602Z",
"timestamp": "2026-05-28T07:35:24.008912Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140238901541760",
"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": "a0939f7c8703aac1",
"trace_id": "9d606767c2c94baca3c7fe65469f2a87",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:35:22.089431Z",
"timestamp": "2026-05-28T07:35:24.040712Z",
"data": {
"thread.id": "140238901541760",
"thread.name": "MainThread"
}
},
{
"span_id": "8fd8261922116940",
"trace_id": "9d606767c2c94baca3c7fe65469f2a87",
"parent_span_id": "a0939f7c8703aac1",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953722.092351,
"timestamp": 1779953724.040592,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140238901541760",
"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": 267,
"gen_ai.usage.total_tokens": 290,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "a0939f7c8703aac1",
"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 19210ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
955a4dd6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
955a4dd6gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
955a4dd6gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "98545ad91e4b4c42806516ac53b5b14a",
"span_id": "91ef0c6ca94b4ec9",
"parent_span_id": "955a4dd6716c1581",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:24.661898Z",
"timestamp": "2026-05-28T07:35:24.666720Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20600
},
"data": {
"thread.id": "140074429090688",
"thread.name": "MainThread"
}
},
{
"trace_id": "98545ad91e4b4c42806516ac53b5b14a",
"span_id": "85c6505da5295a97",
"parent_span_id": "955a4dd6716c1581",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:24.666819Z",
"timestamp": "2026-05-28T07:35:24.666958Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20600
},
"data": {
"thread.id": "140074429090688",
"thread.name": "MainThread"
}
},
{
"trace_id": "98545ad91e4b4c42806516ac53b5b14a",
"span_id": "8c5e394d7a1eddf4",
"parent_span_id": "85c6505da5295a97",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:24.666911Z",
"timestamp": "2026-05-28T07:35:24.666946Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20600
},
"data": {
"thread.id": "140074429090688",
"thread.name": "MainThread"
}
},
{
"trace_id": "98545ad91e4b4c42806516ac53b5b14a",
"span_id": "9eda804e64cf54e8",
"parent_span_id": "955a4dd6716c1581",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:24.666988Z",
"timestamp": "2026-05-28T07:35:24.667000Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20600
},
"data": {
"thread.id": "140074429090688",
"thread.name": "MainThread"
}
},
{
"trace_id": "98545ad91e4b4c42806516ac53b5b14a",
"span_id": "84f992e73aafb6a9",
"parent_span_id": "955a4dd6716c1581",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:24.671441Z",
"timestamp": "2026-05-28T07:35:25.319591Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140074429090688",
"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": "8c88153cabf3b2f4",
"trace_id": "98545ad91e4b4c42806516ac53b5b14a",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:35:24.519982Z",
"timestamp": "2026-05-28T07:35:25.496161Z",
"data": {
"thread.id": "140074429090688",
"thread.name": "MainThread"
}
},
{
"span_id": "955a4dd6716c1581",
"trace_id": "98545ad91e4b4c42806516ac53b5b14a",
"parent_span_id": "8c88153cabf3b2f4",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953724.529262,
"timestamp": 1779953725.496054,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140074429090688",
"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": 11,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "8c88153cabf3b2f4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langchain :: Basic LLM Test (async, streaming, openai) 18791ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
acc91c68gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
acc91c68gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "c473627bbf2d44c2b3982a8ecdcaed6a",
"span_id": "8720948d49aab5f7",
"parent_span_id": "acc91c68820d1ed0",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:23.989803Z",
"timestamp": "2026-05-28T07:35:23.994925Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20595
},
"data": {
"thread.id": "140478353729216",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c473627bbf2d44c2b3982a8ecdcaed6a",
"span_id": "b11a3ea3c0a2335a",
"parent_span_id": "acc91c68820d1ed0",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:23.995018Z",
"timestamp": "2026-05-28T07:35:23.995155Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20595
},
"data": {
"thread.id": "140478353729216",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c473627bbf2d44c2b3982a8ecdcaed6a",
"span_id": "abdadaf96a666f4e",
"parent_span_id": "b11a3ea3c0a2335a",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:23.995110Z",
"timestamp": "2026-05-28T07:35:23.995144Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20595
},
"data": {
"thread.id": "140478353729216",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c473627bbf2d44c2b3982a8ecdcaed6a",
"span_id": "8e9142adb223e36b",
"parent_span_id": "acc91c68820d1ed0",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:23.995189Z",
"timestamp": "2026-05-28T07:35:23.995204Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20595
},
"data": {
"thread.id": "140478353729216",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c473627bbf2d44c2b3982a8ecdcaed6a",
"span_id": "8785c4699a140833",
"parent_span_id": "acc91c68820d1ed0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:23.996880Z",
"timestamp": "2026-05-28T07:35:25.060228Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140478467611520",
"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": "b2c956ef69f929a2",
"trace_id": "c473627bbf2d44c2b3982a8ecdcaed6a",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:35:23.967791Z",
"timestamp": "2026-05-28T07:35:25.128121Z",
"data": {
"thread.id": "140478467611520",
"thread.name": "MainThread"
}
},
{
"span_id": "acc91c68820d1ed0",
"trace_id": "c473627bbf2d44c2b3982a8ecdcaed6a",
"parent_span_id": "b2c956ef69f929a2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953723.978889,
"timestamp": 1779953725.121458,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140478353729216",
"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": "b2c956ef69f929a2",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langchain :: Basic LLM Test (async, streaming, anthropic) 19168ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
adf45078gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
adf45078gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "66e0569ad4c241aea5bff0744bcc0a50",
"span_id": "af95321dad4dffc2",
"parent_span_id": "adf450787136342a",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:26.401903Z",
"timestamp": "2026-05-28T07:35:26.404788Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20620
},
"data": {
"thread.id": "140039958820544",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "66e0569ad4c241aea5bff0744bcc0a50",
"span_id": "96f5fcc313e66622",
"parent_span_id": "adf450787136342a",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:26.404892Z",
"timestamp": "2026-05-28T07:35:26.405035Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20620
},
"data": {
"thread.id": "140039958820544",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "66e0569ad4c241aea5bff0744bcc0a50",
"span_id": "8819631dba362bbe",
"parent_span_id": "96f5fcc313e66622",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:26.404988Z",
"timestamp": "2026-05-28T07:35:26.405024Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20620
},
"data": {
"thread.id": "140039958820544",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "66e0569ad4c241aea5bff0744bcc0a50",
"span_id": "8fcfbf0aea378396",
"parent_span_id": "adf450787136342a",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:26.405069Z",
"timestamp": "2026-05-28T07:35:26.405083Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20620
},
"data": {
"thread.id": "140039958820544",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "66e0569ad4c241aea5bff0744bcc0a50",
"span_id": "b0018941874cd534",
"parent_span_id": "adf450787136342a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:26.407500Z",
"timestamp": "2026-05-28T07:35:26.972382Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140040151034752",
"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": "a8ffce29a219464e",
"trace_id": "66e0569ad4c241aea5bff0744bcc0a50",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:35:26.270947Z",
"timestamp": "2026-05-28T07:35:27.041827Z",
"data": {
"thread.id": "140040151034752",
"thread.name": "MainThread"
}
},
{
"span_id": "adf450787136342a",
"trace_id": "66e0569ad4c241aea5bff0744bcc0a50",
"parent_span_id": "a8ffce29a219464e",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953726.286153,
"timestamp": 1779953727.040811,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140039958820544",
"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": "a8ffce29a219464e",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/langchain :: Basic LLM Test (async, blocking, openai) 19771ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
a7c5b342gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a7c5b342gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "98fc4c378869443bbb5eec633251ffc6",
"span_id": "94bd0240aa7b8ac2",
"parent_span_id": "a7c5b3422459c410",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:25.687804Z",
"timestamp": "2026-05-28T07:35:25.692722Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20612
},
"data": {
"thread.id": "139906884003520",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "98fc4c378869443bbb5eec633251ffc6",
"span_id": "a66cd913b2617053",
"parent_span_id": "a7c5b3422459c410",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:25.692825Z",
"timestamp": "2026-05-28T07:35:25.692959Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20612
},
"data": {
"thread.id": "139906884003520",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "98fc4c378869443bbb5eec633251ffc6",
"span_id": "b27f83a2eae2df54",
"parent_span_id": "a66cd913b2617053",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:25.692918Z",
"timestamp": "2026-05-28T07:35:25.692949Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20612
},
"data": {
"thread.id": "139906884003520",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "98fc4c378869443bbb5eec633251ffc6",
"span_id": "99451c85ac3c1332",
"parent_span_id": "a7c5b3422459c410",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:25.692992Z",
"timestamp": "2026-05-28T07:35:25.693005Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20612
},
"data": {
"thread.id": "139906884003520",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "98fc4c378869443bbb5eec633251ffc6",
"span_id": "ad0bf2505b52d063",
"parent_span_id": "a7c5b3422459c410",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:25.694598Z",
"timestamp": "2026-05-28T07:35:27.422053Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139906998025088",
"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": "85cf7e5e0d6032fc",
"trace_id": "98fc4c378869443bbb5eec633251ffc6",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:35:25.661881Z",
"timestamp": "2026-05-28T07:35:27.472848Z",
"data": {
"thread.id": "139906998025088",
"thread.name": "MainThread"
}
},
{
"span_id": "a7c5b3422459c410",
"trace_id": "98fc4c378869443bbb5eec633251ffc6",
"parent_span_id": "85cf7e5e0d6032fc",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953725.667804,
"timestamp": 1779953727.465954,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139906884003520",
"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": "85cf7e5e0d6032fc",
"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 18292ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b8b4a37dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8b4a37dgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
b8b4a37dgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "3ada80062dd8430698d7e2b3834fb403",
"span_id": "88f2149a438f3c8b",
"parent_span_id": "b8b4a37d3d7f7907",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:25.580823Z",
"timestamp": "2026-05-28T07:35:25.587719Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20609
},
"data": {
"thread.id": "140542633567936",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "3ada80062dd8430698d7e2b3834fb403",
"span_id": "9275e861d6ffbef8",
"parent_span_id": "b8b4a37d3d7f7907",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:25.587825Z",
"timestamp": "2026-05-28T07:35:25.587976Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20609
},
"data": {
"thread.id": "140542633567936",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "3ada80062dd8430698d7e2b3834fb403",
"span_id": "8d5eec1766a3138a",
"parent_span_id": "9275e861d6ffbef8",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:25.587926Z",
"timestamp": "2026-05-28T07:35:25.587965Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20609
},
"data": {
"thread.id": "140542633567936",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "3ada80062dd8430698d7e2b3834fb403",
"span_id": "9e7571e7e3b89e05",
"parent_span_id": "b8b4a37d3d7f7907",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:25.588012Z",
"timestamp": "2026-05-28T07:35:25.588028Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20609
},
"data": {
"thread.id": "140542633567936",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "3ada80062dd8430698d7e2b3834fb403",
"span_id": "97f92a72c7f6c22f",
"parent_span_id": "b8b4a37d3d7f7907",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:25.592582Z",
"timestamp": "2026-05-28T07:35:26.228979Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140542747429760",
"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": "96ba7d4274062119",
"trace_id": "3ada80062dd8430698d7e2b3834fb403",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:35:25.489279Z",
"timestamp": "2026-05-28T07:35:26.348901Z",
"data": {
"thread.id": "140542747429760",
"thread.name": "MainThread"
}
},
{
"span_id": "b8b4a37d3d7f7907",
"trace_id": "3ada80062dd8430698d7e2b3834fb403",
"parent_span_id": "96ba7d4274062119",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953725.503855,
"timestamp": 1779953726.342569,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140542633567936",
"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": "96ba7d4274062119",
"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) 126035ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
99dc6671gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
99dc6671gen_ai.output.messagesMissing output messages attribute
baeb74a5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
baeb74a5gen_ai.output.messagesMissing output messages attribute
a5b2db5egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a5b2db5egen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "eea1866a70ca4fa6858a6dcccb430a3d",
"span_id": "9e88c3c1dae7392f",
"parent_span_id": "99dc667115b99112",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:29.064145Z",
"timestamp": "2026-05-28T07:35:29.071717Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20639
},
"data": {
"thread.id": "139876768103296",
"thread.name": "MainThread"
}
},
{
"trace_id": "eea1866a70ca4fa6858a6dcccb430a3d",
"span_id": "878c0cb0f6e5a6a3",
"parent_span_id": "99dc667115b99112",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:29.071828Z",
"timestamp": "2026-05-28T07:35:29.071980Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20639
},
"data": {
"thread.id": "139876768103296",
"thread.name": "MainThread"
}
},
{
"trace_id": "eea1866a70ca4fa6858a6dcccb430a3d",
"span_id": "82274b15e005767e",
"parent_span_id": "878c0cb0f6e5a6a3",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:29.071925Z",
"timestamp": "2026-05-28T07:35:29.071968Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20639
},
"data": {
"thread.id": "139876768103296",
"thread.name": "MainThread"
}
},
{
"trace_id": "eea1866a70ca4fa6858a6dcccb430a3d",
"span_id": "8a59b39cc750d3de",
"parent_span_id": "99dc667115b99112",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:29.072015Z",
"timestamp": "2026-05-28T07:35:29.072029Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20639
},
"data": {
"thread.id": "139876768103296",
"thread.name": "MainThread"
}
},
{
"trace_id": "eea1866a70ca4fa6858a6dcccb430a3d",
"span_id": "95993fc882a3df93",
"parent_span_id": "99dc667115b99112",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:29.073393Z",
"timestamp": "2026-05-28T07:35:30.346060Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139876768103296",
"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": "eea1866a70ca4fa6858a6dcccb430a3d",
"span_id": "bd6e008589974439",
"parent_span_id": "baeb74a5b30026f5",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:30.405171Z",
"timestamp": "2026-05-28T07:35:34.740828Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139876768103296",
"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": "eea1866a70ca4fa6858a6dcccb430a3d",
"span_id": "b07e44d1151b99c0",
"parent_span_id": "a5b2db5e1120e03b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:35.077360Z",
"timestamp": "2026-05-28T07:35:45.261263Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139876768103296",
"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": "8f3e1ef4baa681e2",
"trace_id": "eea1866a70ca4fa6858a6dcccb430a3d",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:29.030150Z",
"timestamp": "2026-05-28T07:35:45.746925Z",
"data": {
"thread.id": "139876768103296",
"thread.name": "MainThread"
}
},
{
"span_id": "99dc667115b99112",
"trace_id": "eea1866a70ca4fa6858a6dcccb430a3d",
"parent_span_id": "8f3e1ef4baa681e2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953729.041064,
"timestamp": 1779953730.395844,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139876768103296",
"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": "8f3e1ef4baa681e2",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "baeb74a5b30026f5",
"trace_id": "eea1866a70ca4fa6858a6dcccb430a3d",
"parent_span_id": "8f3e1ef4baa681e2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953730.396264,
"timestamp": 1779953735.075208,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139876768103296",
"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": "About 2.1 million people live in the city of Paris (the commune). The wider Paris metropolitan area (Île-de-France) has roughly 12 million.\n\nIf you want the exact latest figure and the year, I can look up INSEE data for you.",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 960,
"gen_ai.usage.total_tokens": 1008,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "8f3e1ef4baa681e2",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a5b2db5e1120e03b",
"trace_id": "eea1866a70ca4fa6858a6dcccb430a3d",
"parent_span_id": "8f3e1ef4baa681e2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953735.075517,
"timestamp": 1779953745.746743,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139876768103296",
"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": "There are several ways people define Paris’s “metropolitan area,” so the numbers can vary:\n\n- Paris urban area (aire urbaine de Paris): about 12 million people.\n- Île-de-France region (the wider administrative region around Paris): roughly 12–13 million people.\n- Metropolis of Greater Paris (the 131 communes around Paris, also called Grand Paris): about 7 million.\n\nIf you tell me which definition and year you want, I can give a more precise figure.",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 2031,
"gen_ai.usage.total_tokens": 2112,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "8f3e1ef4baa681e2",
"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) 112151ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
b1b9b014gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1b9b014gen_ai.output.messagesMissing output messages attribute
be689d36gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
be689d36gen_ai.output.messagesMissing output messages attribute
978c5530gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
978c5530gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "46a86272f17a4829805f6a7c4744a7bf",
"span_id": "a825f7e5a313645b",
"parent_span_id": "b1b9b01433ab4d20",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:30.121334Z",
"timestamp": "2026-05-28T07:35:30.124776Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20644
},
"data": {
"thread.id": "140315255348096",
"thread.name": "MainThread"
}
},
{
"trace_id": "46a86272f17a4829805f6a7c4744a7bf",
"span_id": "87eb19d2a0202a41",
"parent_span_id": "b1b9b01433ab4d20",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:30.124881Z",
"timestamp": "2026-05-28T07:35:30.125029Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20644
},
"data": {
"thread.id": "140315255348096",
"thread.name": "MainThread"
}
},
{
"trace_id": "46a86272f17a4829805f6a7c4744a7bf",
"span_id": "98a57ef58f7cbb2b",
"parent_span_id": "87eb19d2a0202a41",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:30.124983Z",
"timestamp": "2026-05-28T07:35:30.125020Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20644
},
"data": {
"thread.id": "140315255348096",
"thread.name": "MainThread"
}
},
{
"trace_id": "46a86272f17a4829805f6a7c4744a7bf",
"span_id": "9b7123def00c3d3e",
"parent_span_id": "b1b9b01433ab4d20",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:30.125066Z",
"timestamp": "2026-05-28T07:35:30.125085Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20644
},
"data": {
"thread.id": "140315255348096",
"thread.name": "MainThread"
}
},
{
"trace_id": "46a86272f17a4829805f6a7c4744a7bf",
"span_id": "816c7ced5d7ab91a",
"parent_span_id": "b1b9b01433ab4d20",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:30.126540Z",
"timestamp": "2026-05-28T07:35:30.613132Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140315255348096",
"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": "46a86272f17a4829805f6a7c4744a7bf",
"span_id": "813222968054d8ec",
"parent_span_id": "be689d36b1b9508b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:30.823055Z",
"timestamp": "2026-05-28T07:35:31.337396Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140315255348096",
"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": "46a86272f17a4829805f6a7c4744a7bf",
"span_id": "908a3c6bae596df9",
"parent_span_id": "978c553026d71cba",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:31.917543Z",
"timestamp": "2026-05-28T07:35:32.366334Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140315255348096",
"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": "84e61c83480610ed",
"trace_id": "46a86272f17a4829805f6a7c4744a7bf",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:29.988583Z",
"timestamp": "2026-05-28T07:35:32.676578Z",
"data": {
"thread.id": "140315255348096",
"thread.name": "MainThread"
}
},
{
"span_id": "b1b9b01433ab4d20",
"trace_id": "46a86272f17a4829805f6a7c4744a7bf",
"parent_span_id": "84e61c83480610ed",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953730.00522,
"timestamp": 1779953730.814865,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140315255348096",
"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 largest city in France.",
"gen_ai.usage.input_tokens": 20,
"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": "84e61c83480610ed",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "be689d36b1b9508b",
"trace_id": "46a86272f17a4829805f6a7c4744a7bf",
"parent_span_id": "84e61c83480610ed",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953730.815289,
"timestamp": 1779953731.91424,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140315255348096",
"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 (the administrative boundaries of Paris).\n\nHowever, if you're asking about the greater Paris metropolitan area (Île-de-France region), the population is much larger—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": 77,
"gen_ai.usage.total_tokens": 118,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "84e61c83480610ed",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "978c553026d71cba",
"trace_id": "46a86272f17a4829805f6a7c4744a7bf",
"parent_span_id": "84e61c83480610ed",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953731.915711,
"timestamp": 1779953732.676496,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140315255348096",
"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": "84e61c83480610ed",
"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) 127713ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
8f625d8cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f625d8cgen_ai.output.messagesMissing output messages attribute
bf6f931fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bf6f931fgen_ai.output.messagesMissing output messages attribute
b59d752agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b59d752agen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "0c8bd25228114b1d806455bc288250b6",
"span_id": "b9b80cb134c17ab9",
"parent_span_id": "8f625d8c7ec14ad8",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:31.224545Z",
"timestamp": "2026-05-28T07:35:31.231717Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20646
},
"data": {
"thread.id": "140204038577024",
"thread.name": "MainThread"
}
},
{
"trace_id": "0c8bd25228114b1d806455bc288250b6",
"span_id": "8ec39a5bbf4261f6",
"parent_span_id": "8f625d8c7ec14ad8",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:31.231818Z",
"timestamp": "2026-05-28T07:35:31.237815Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20646
},
"data": {
"thread.id": "140204038577024",
"thread.name": "MainThread"
}
},
{
"trace_id": "0c8bd25228114b1d806455bc288250b6",
"span_id": "a43d7d6d6716ebd7",
"parent_span_id": "8ec39a5bbf4261f6",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:31.237739Z",
"timestamp": "2026-05-28T07:35:31.237794Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20646
},
"data": {
"thread.id": "140204038577024",
"thread.name": "MainThread"
}
},
{
"trace_id": "0c8bd25228114b1d806455bc288250b6",
"span_id": "a407dc02e6b94a50",
"parent_span_id": "8f625d8c7ec14ad8",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:31.237854Z",
"timestamp": "2026-05-28T07:35:31.237871Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20646
},
"data": {
"thread.id": "140204038577024",
"thread.name": "MainThread"
}
},
{
"trace_id": "0c8bd25228114b1d806455bc288250b6",
"span_id": "95de1fc6538e697f",
"parent_span_id": "8f625d8c7ec14ad8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:31.239286Z",
"timestamp": "2026-05-28T07:35:32.736461Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140204038577024",
"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": "0c8bd25228114b1d806455bc288250b6",
"span_id": "a8081d781d8c9710",
"parent_span_id": "bf6f931f324eeef1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:32.795155Z",
"timestamp": "2026-05-28T07:35:37.633790Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140204038577024",
"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": "0c8bd25228114b1d806455bc288250b6",
"span_id": "8791213fc0a73767",
"parent_span_id": "b59d752ab052e229",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:37.651011Z",
"timestamp": "2026-05-28T07:35:48.174639Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140204038577024",
"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": "90e5b0eb035fb562",
"trace_id": "0c8bd25228114b1d806455bc288250b6",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:31.201955Z",
"timestamp": "2026-05-28T07:35:48.175636Z",
"data": {
"thread.id": "140204038577024",
"thread.name": "MainThread"
}
},
{
"span_id": "8f625d8c7ec14ad8",
"trace_id": "0c8bd25228114b1d806455bc288250b6",
"parent_span_id": "90e5b0eb035fb562",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953731.207245,
"timestamp": 1779953732.782734,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140204038577024",
"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": 208,
"gen_ai.usage.total_tokens": 231,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "90e5b0eb035fb562",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bf6f931f324eeef1",
"trace_id": "0c8bd25228114b1d806455bc288250b6",
"parent_span_id": "90e5b0eb035fb562",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953732.783196,
"timestamp": 1779953737.634801,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140204038577024",
"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–2.2 million residents. The wider Paris metropolitan area (Île-de-France) is around 12 million people. If you have a specific boundary in mind (city proper, urban area, or metro), I can give a more precise figure.",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 904,
"gen_ai.usage.total_tokens": 952,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "90e5b0eb035fb562",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b59d752ab052e229",
"trace_id": "0c8bd25228114b1d806455bc288250b6",
"parent_span_id": "90e5b0eb035fb562",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953737.635193,
"timestamp": 1779953748.175535,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140204038577024",
"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 which definition you use for “metropolitan area.”\n\n- Paris urban area (aire urbaine): about 12–13 million people. For example, roughly 12.3 million in 2018 and around 12.7 million in the early 2020s.\n- Île-de-France region (the wider administrative region around Paris): about 12.5 million in recent years.\n\nIf you tell me which definition and year you want, I can give a more precise figure.",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1839,
"gen_ai.usage.total_tokens": 1920,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "90e5b0eb035fb562",
"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 115171ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
92ac9927gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92ac9927gen_ai.output.messagesMissing output messages attribute
9b17d043gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b17d043gen_ai.output.messagesMissing output messages attribute
8f18f8bfgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f18f8bfgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
92ac9927gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "ca0085e72f8047b4b9bd9bc9061122ec",
"span_id": "9f41f798a9925d99",
"parent_span_id": "92ac9927019bfc7d",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:32.176023Z",
"timestamp": "2026-05-28T07:35:32.181904Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20653
},
"data": {
"thread.id": "140443269004160",
"thread.name": "MainThread"
}
},
{
"trace_id": "ca0085e72f8047b4b9bd9bc9061122ec",
"span_id": "afdb05083a35fa53",
"parent_span_id": "92ac9927019bfc7d",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:32.182025Z",
"timestamp": "2026-05-28T07:35:32.182175Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20653
},
"data": {
"thread.id": "140443269004160",
"thread.name": "MainThread"
}
},
{
"trace_id": "ca0085e72f8047b4b9bd9bc9061122ec",
"span_id": "90444d1e843baefc",
"parent_span_id": "afdb05083a35fa53",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:32.182128Z",
"timestamp": "2026-05-28T07:35:32.182164Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20653
},
"data": {
"thread.id": "140443269004160",
"thread.name": "MainThread"
}
},
{
"trace_id": "ca0085e72f8047b4b9bd9bc9061122ec",
"span_id": "85182959c33dfb6a",
"parent_span_id": "92ac9927019bfc7d",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:32.182215Z",
"timestamp": "2026-05-28T07:35:32.182230Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20653
},
"data": {
"thread.id": "140443269004160",
"thread.name": "MainThread"
}
},
{
"trace_id": "ca0085e72f8047b4b9bd9bc9061122ec",
"span_id": "bf20fb688522b792",
"parent_span_id": "92ac9927019bfc7d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:32.183911Z",
"timestamp": "2026-05-28T07:35:32.745399Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140443269004160",
"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": "ca0085e72f8047b4b9bd9bc9061122ec",
"span_id": "92e897ae4519011f",
"parent_span_id": "9b17d043f9cfd079",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:32.902221Z",
"timestamp": "2026-05-28T07:35:36.657184Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140443269004160",
"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": "ca0085e72f8047b4b9bd9bc9061122ec",
"span_id": "a3662dd400e062bb",
"parent_span_id": "8f18f8bffb9eb51b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:36.660342Z",
"timestamp": "2026-05-28T07:35:37.526655Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140443269004160",
"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": "b7e79fa8bed7627b",
"trace_id": "ca0085e72f8047b4b9bd9bc9061122ec",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:32.089060Z",
"timestamp": "2026-05-28T07:35:37.527635Z",
"data": {
"thread.id": "140443269004160",
"thread.name": "MainThread"
}
},
{
"span_id": "92ac9927019bfc7d",
"trace_id": "ca0085e72f8047b4b9bd9bc9061122ec",
"parent_span_id": "b7e79fa8bed7627b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953732.098242,
"timestamp": 1779953732.8942,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140443269004160",
"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": "b7e79fa8bed7627b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9b17d043f9cfd079",
"trace_id": "ca0085e72f8047b4b9bd9bc9061122ec",
"parent_span_id": "b7e79fa8bed7627b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953732.900461,
"timestamp": 1779953736.658178,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140443269004160",
"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": "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 surrounding suburbs and towns. The most commonly cited figure for Paris itself is around 2.1 million residents, making it one of the largest cities in Europe.",
"gen_ai.usage.input_tokens": 41,
"gen_ai.usage.output_tokens": 112,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "b7e79fa8bed7627b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8f18f8bffb9eb51b",
"trace_id": "ca0085e72f8047b4b9bd9bc9061122ec",
"parent_span_id": "b7e79fa8bed7627b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953736.658558,
"timestamp": 1779953737.527534,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140443269004160",
"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,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "b7e79fa8bed7627b",
"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) 125505ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
9dc3479fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9dc3479fgen_ai.output.messagesMissing output messages attribute
b5a002b9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b5a002b9gen_ai.output.messagesMissing output messages attribute
bea2c16cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bea2c16cgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "9ab235e5dc0b4f85b17281b4d048a199",
"span_id": "ab97d4181bce4c9a",
"parent_span_id": "9dc3479fb92e6012",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:31.682282Z",
"timestamp": "2026-05-28T07:35:31.688914Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20651
},
"data": {
"thread.id": "139853773002432",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "9ab235e5dc0b4f85b17281b4d048a199",
"span_id": "aec704a674fe72be",
"parent_span_id": "9dc3479fb92e6012",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:31.689004Z",
"timestamp": "2026-05-28T07:35:31.689141Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20651
},
"data": {
"thread.id": "139853773002432",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "9ab235e5dc0b4f85b17281b4d048a199",
"span_id": "b177826ea8aca82e",
"parent_span_id": "aec704a674fe72be",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:31.689095Z",
"timestamp": "2026-05-28T07:35:31.689131Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20651
},
"data": {
"thread.id": "139853773002432",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "9ab235e5dc0b4f85b17281b4d048a199",
"span_id": "8814f84ecb7f9477",
"parent_span_id": "9dc3479fb92e6012",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:31.689180Z",
"timestamp": "2026-05-28T07:35:31.689196Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20651
},
"data": {
"thread.id": "139853773002432",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "9ab235e5dc0b4f85b17281b4d048a199",
"span_id": "b2ffb2ab137b54a4",
"parent_span_id": "9dc3479fb92e6012",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:31.690880Z",
"timestamp": "2026-05-28T07:35:33.651227Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139853885913984",
"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": "9ab235e5dc0b4f85b17281b4d048a199",
"span_id": "b83cd2a3430d4d68",
"parent_span_id": "b5a002b935e58db3",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:33.691558Z",
"timestamp": "2026-05-28T07:35:40.897188Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139853885913984",
"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": "9ab235e5dc0b4f85b17281b4d048a199",
"span_id": "8199fc9719e4437b",
"parent_span_id": "bea2c16c63b808d8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:41.301260Z",
"timestamp": "2026-05-28T07:35:47.440583Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139853885913984",
"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": "94c22114c1b4d308",
"trace_id": "9ab235e5dc0b4f85b17281b4d048a199",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:31.664191Z",
"timestamp": "2026-05-28T07:35:47.833047Z",
"data": {
"thread.id": "139853885913984",
"thread.name": "MainThread"
}
},
{
"span_id": "9dc3479fb92e6012",
"trace_id": "9ab235e5dc0b4f85b17281b4d048a199",
"parent_span_id": "94c22114c1b4d308",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953731.673917,
"timestamp": 1779953733.687655,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139853773002432",
"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": "94c22114c1b4d308",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b5a002b935e58db3",
"trace_id": "9ab235e5dc0b4f85b17281b4d048a199",
"parent_span_id": "94c22114c1b4d308",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953733.688403,
"timestamp": 1779953741.294004,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139853773002432",
"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.1 million residents. If you’re asking about the broader area: the Paris urban/metro area is around 11–12 million, and the Île-de-France region (which includes Paris and surrounding departments) is roughly 12–13 million. Want a specific figure for a particular definition (city proper, metro/urban area, or Île-de-France) and year?",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1504,
"gen_ai.usage.total_tokens": 1552,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "94c22114c1b4d308",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bea2c16c63b808d8",
"trace_id": "9ab235e5dc0b4f85b17281b4d048a199",
"parent_span_id": "94c22114c1b4d308",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953741.294851,
"timestamp": 1779953747.829787,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139853773002432",
"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 you mean the Paris metropolitan area in the common sense (the Paris urban area, or aire urbaine), it has about 12 million inhabitants.\n\nIf you mean the broader Île-de-France region (the wider “greater Paris” region around the city), that population is around 12 to 13 million, with recent counts often cited near 12.3–12.5 million.\n\nDefinitions vary, so tell me which metric/year you want and I can give a precise figure.",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1260,
"gen_ai.usage.total_tokens": 1341,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "94c22114c1b4d308",
"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) 110817ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
b64d1cffgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b64d1cffgen_ai.output.messagesMissing output messages attribute
b3ac9b71gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b3ac9b71gen_ai.output.messagesMissing output messages attribute
a8b623bagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8b623bagen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "0f47ead8f28d4f7d8bbd3a3f53d5c27d",
"span_id": "8ec426e288e67ff4",
"parent_span_id": "b64d1cffe0705255",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:32.454976Z",
"timestamp": "2026-05-28T07:35:32.459516Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20658
},
"data": {
"thread.id": "140155343070912",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0f47ead8f28d4f7d8bbd3a3f53d5c27d",
"span_id": "9564bb8b18869c03",
"parent_span_id": "b64d1cffe0705255",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:32.459641Z",
"timestamp": "2026-05-28T07:35:32.459788Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20658
},
"data": {
"thread.id": "140155343070912",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0f47ead8f28d4f7d8bbd3a3f53d5c27d",
"span_id": "85f0628b104d8e4b",
"parent_span_id": "9564bb8b18869c03",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:32.459743Z",
"timestamp": "2026-05-28T07:35:32.459777Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20658
},
"data": {
"thread.id": "140155343070912",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0f47ead8f28d4f7d8bbd3a3f53d5c27d",
"span_id": "883aebb5c221df3e",
"parent_span_id": "b64d1cffe0705255",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:32.459822Z",
"timestamp": "2026-05-28T07:35:32.459837Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20658
},
"data": {
"thread.id": "140155343070912",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0f47ead8f28d4f7d8bbd3a3f53d5c27d",
"span_id": "a04abe123144449b",
"parent_span_id": "b64d1cffe0705255",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:32.461503Z",
"timestamp": "2026-05-28T07:35:33.083510Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140155458677632",
"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": "0f47ead8f28d4f7d8bbd3a3f53d5c27d",
"span_id": "8ac48235c8d0493f",
"parent_span_id": "b3ac9b71847f09ba",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:33.315454Z",
"timestamp": "2026-05-28T07:35:33.814356Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140155458677632",
"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": "0f47ead8f28d4f7d8bbd3a3f53d5c27d",
"span_id": "935ab7d31faacb53",
"parent_span_id": "a8b623ba3eff6a56",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:34.507133Z",
"timestamp": "2026-05-28T07:35:35.050032Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140155458677632",
"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": "9c0ecca9a3df1eee",
"trace_id": "0f47ead8f28d4f7d8bbd3a3f53d5c27d",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:32.412791Z",
"timestamp": "2026-05-28T07:35:35.328953Z",
"data": {
"thread.id": "140155458677632",
"thread.name": "MainThread"
}
},
{
"span_id": "b64d1cffe0705255",
"trace_id": "0f47ead8f28d4f7d8bbd3a3f53d5c27d",
"parent_span_id": "9c0ecca9a3df1eee",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953732.417642,
"timestamp": 1779953733.312831,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140155343070912",
"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.usage.total_tokens": 56,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9c0ecca9a3df1eee",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b3ac9b71847f09ba",
"trace_id": "0f47ead8f28d4f7d8bbd3a3f53d5c27d",
"parent_span_id": "9c0ecca9a3df1eee",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953733.313536,
"timestamp": 1779953734.504608,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140155343070912",
"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 which area you're referring to:\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 city proper is one of the most densely populated cities in Europe, while the greater metropolitan area makes it one of the largest urban agglomerations in the continent.",
"gen_ai.usage.input_tokens": 41,
"gen_ai.usage.output_tokens": 90,
"gen_ai.usage.total_tokens": 131,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9c0ecca9a3df1eee",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a8b623ba3eff6a56",
"trace_id": "0f47ead8f28d4f7d8bbd3a3f53d5c27d",
"parent_span_id": "9c0ecca9a3df1eee",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953734.505303,
"timestamp": 1779953735.327815,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140155343070912",
"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": "9c0ecca9a3df1eee",
"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) 129616ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
8df87e27gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8df87e27gen_ai.output.messagesMissing output messages attribute
85bd13cbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
85bd13cbgen_ai.output.messagesMissing output messages attribute
92b426d0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92b426d0gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "0a1af8b01b4f47f390f537c6ff92be1e",
"span_id": "a7336c82cf9c61f7",
"parent_span_id": "8df87e275a61c637",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:32.899803Z",
"timestamp": "2026-05-28T07:35:32.903707Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20663
},
"data": {
"thread.id": "140517908149952",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0a1af8b01b4f47f390f537c6ff92be1e",
"span_id": "8db768e213ecc3be",
"parent_span_id": "8df87e275a61c637",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:32.903797Z",
"timestamp": "2026-05-28T07:35:32.903936Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20663
},
"data": {
"thread.id": "140517908149952",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0a1af8b01b4f47f390f537c6ff92be1e",
"span_id": "8c8cf16b223b8059",
"parent_span_id": "8db768e213ecc3be",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:32.903890Z",
"timestamp": "2026-05-28T07:35:32.903925Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20663
},
"data": {
"thread.id": "140517908149952",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0a1af8b01b4f47f390f537c6ff92be1e",
"span_id": "9f33691c1d773857",
"parent_span_id": "8df87e275a61c637",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:32.903972Z",
"timestamp": "2026-05-28T07:35:32.903986Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20663
},
"data": {
"thread.id": "140517908149952",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0a1af8b01b4f47f390f537c6ff92be1e",
"span_id": "a0fe24408f077508",
"parent_span_id": "8df87e275a61c637",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:32.908547Z",
"timestamp": "2026-05-28T07:35:34.604376Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140518092077952",
"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": "0a1af8b01b4f47f390f537c6ff92be1e",
"span_id": "91bbd5f86b3b30b3",
"parent_span_id": "85bd13cbca38ec2d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:34.621982Z",
"timestamp": "2026-05-28T07:35:43.929124Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140518092077952",
"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": "0a1af8b01b4f47f390f537c6ff92be1e",
"span_id": "9e722ec367a23b5a",
"parent_span_id": "92b426d07a219256",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:43.942767Z",
"timestamp": "2026-05-28T07:35:53.130094Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140518092077952",
"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": "b992795c2261a0f4",
"trace_id": "0a1af8b01b4f47f390f537c6ff92be1e",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:32.873198Z",
"timestamp": "2026-05-28T07:35:53.138835Z",
"data": {
"thread.id": "140518092077952",
"thread.name": "MainThread"
}
},
{
"span_id": "8df87e275a61c637",
"trace_id": "0a1af8b01b4f47f390f537c6ff92be1e",
"parent_span_id": "b992795c2261a0f4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953732.884919,
"timestamp": 1779953734.618026,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140517908149952",
"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": "Multi-Turn LLM Test",
"sentry.segment.id": "b992795c2261a0f4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "85bd13cbca38ec2d",
"trace_id": "0a1af8b01b4f47f390f537c6ff92be1e",
"parent_span_id": "b992795c2261a0f4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953734.618837,
"timestamp": 1779953743.935425,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140517908149952",
"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": "Do you mean Paris the city proper, the Paris urban area, or the wider Île-de-France region? Here are rough figures:\n\n- City proper (the commune of Paris): about 2.1–2.2 million people (latest commonly cited figures around 2020–2022).\n- Paris urban area (continuous built-up area): about 11–12 million people.\n- Île-de-France region (the wider metropolitan area around Paris): about 12–13 million people.\n\nIf you want a precise number for a specific year and definition, tell me which one you want and I’ll give the exact figure.",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1545,
"gen_ai.usage.total_tokens": 1593,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "b992795c2261a0f4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "92b426d07a219256",
"trace_id": "0a1af8b01b4f47f390f537c6ff92be1e",
"parent_span_id": "b992795c2261a0f4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953743.936125,
"timestamp": 1779953753.137734,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140517908149952",
"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": "It depends on the definition of “metropolitan area.” Here are the common ones:\n\n- Paris urban area (aire urbaine): about 12 million people.\n- Île-de-France region (the wider administrative region): around 12–13 million.\n- Métropole du Grand Paris (the intercommunal metropolitan authority): about 7 million.\n\nWhich definition would you like me to use, and for what year?",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1951,
"gen_ai.usage.total_tokens": 2032,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "b992795c2261a0f4",
"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 111395ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
901deaa2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
901deaa2gen_ai.output.messagesMissing output messages attribute
91f98905gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
91f98905gen_ai.output.messagesMissing output messages attribute
a93da546gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a93da546gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
901deaa2gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "d98c11e3fa1243a78ad48772c1fcea71",
"span_id": "8fb0bd2b5965c281",
"parent_span_id": "901deaa2b1e10521",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:33.926131Z",
"timestamp": "2026-05-28T07:35:33.927572Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20670
},
"data": {
"thread.id": "140205625435840",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d98c11e3fa1243a78ad48772c1fcea71",
"span_id": "b9490612332c5a03",
"parent_span_id": "901deaa2b1e10521",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:33.927679Z",
"timestamp": "2026-05-28T07:35:33.928604Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20670
},
"data": {
"thread.id": "140205625435840",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d98c11e3fa1243a78ad48772c1fcea71",
"span_id": "ad726343a21ab369",
"parent_span_id": "b9490612332c5a03",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:33.928417Z",
"timestamp": "2026-05-28T07:35:33.928589Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20670
},
"data": {
"thread.id": "140205625435840",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d98c11e3fa1243a78ad48772c1fcea71",
"span_id": "a5aab8302576e2a4",
"parent_span_id": "901deaa2b1e10521",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:33.928662Z",
"timestamp": "2026-05-28T07:35:33.928680Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20670
},
"data": {
"thread.id": "140205625435840",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d98c11e3fa1243a78ad48772c1fcea71",
"span_id": "bd6bfab3842013f1",
"parent_span_id": "901deaa2b1e10521",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:33.930285Z",
"timestamp": "2026-05-28T07:35:35.153017Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140205739285376",
"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": "d98c11e3fa1243a78ad48772c1fcea71",
"span_id": "8bce43b4402d6cd6",
"parent_span_id": "91f9890513b6cf12",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:35.178918Z",
"timestamp": "2026-05-28T07:35:36.487107Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140205739285376",
"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": "d98c11e3fa1243a78ad48772c1fcea71",
"span_id": "a8b347d4a9ea25af",
"parent_span_id": "a93da54665724dcf",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:36.491160Z",
"timestamp": "2026-05-28T07:35:37.268047Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140205739285376",
"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": "8de9253136b8ad7f",
"trace_id": "d98c11e3fa1243a78ad48772c1fcea71",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:35:33.882563Z",
"timestamp": "2026-05-28T07:35:37.278029Z",
"data": {
"thread.id": "140205739285376",
"thread.name": "MainThread"
}
},
{
"span_id": "901deaa2b1e10521",
"trace_id": "d98c11e3fa1243a78ad48772c1fcea71",
"parent_span_id": "8de9253136b8ad7f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953733.887295,
"timestamp": 1779953735.17712,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140205625435840",
"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": "8de9253136b8ad7f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "91f9890513b6cf12",
"trace_id": "d98c11e3fa1243a78ad48772c1fcea71",
"parent_span_id": "8de9253136b8ad7f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953735.177685,
"timestamp": 1779953736.488429,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140205625435840",
"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": "Paris has a population of approximately 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.\n\nThese figures are based on recent estimates, as exact populations can vary depending on the source and how boundaries are defined.",
"gen_ai.usage.input_tokens": 41,
"gen_ai.usage.output_tokens": 85,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "8de9253136b8ad7f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a93da54665724dcf",
"trace_id": "d98c11e3fa1243a78ad48772c1fcea71",
"parent_span_id": "8de9253136b8ad7f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953736.489197,
"timestamp": 1779953737.271793,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140205625435840",
"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 (also called 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": 42,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "8de9253136b8ad7f",
"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 16649ms
Critical
checkChatSpanAttributes
9a00ebaagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9a00ebaagen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
9a00ebaagen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
9a00ebaagen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "e56f8eb09cc8425baacfdc4b1968f57d",
"span_id": "ba73cbf045ce817a",
"parent_span_id": "9a00ebaa5bf72291",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:41.821569Z",
"timestamp": "2026-05-28T07:35:41.823724Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20725
},
"data": {
"thread.id": "139717895711616",
"thread.name": "MainThread"
}
},
{
"trace_id": "e56f8eb09cc8425baacfdc4b1968f57d",
"span_id": "823b951b0e320027",
"parent_span_id": "9a00ebaa5bf72291",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:41.823805Z",
"timestamp": "2026-05-28T07:35:41.823962Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20725
},
"data": {
"thread.id": "139717895711616",
"thread.name": "MainThread"
}
},
{
"trace_id": "e56f8eb09cc8425baacfdc4b1968f57d",
"span_id": "a6518caf48b09e0f",
"parent_span_id": "823b951b0e320027",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:41.823889Z",
"timestamp": "2026-05-28T07:35:41.823950Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20725
},
"data": {
"thread.id": "139717895711616",
"thread.name": "MainThread"
}
},
{
"trace_id": "e56f8eb09cc8425baacfdc4b1968f57d",
"span_id": "b3421661696e3278",
"parent_span_id": "9a00ebaa5bf72291",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:41.823999Z",
"timestamp": "2026-05-28T07:35:41.824027Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20725
},
"data": {
"thread.id": "139717895711616",
"thread.name": "MainThread"
}
},
{
"trace_id": "e56f8eb09cc8425baacfdc4b1968f57d",
"span_id": "857c62563477e70a",
"parent_span_id": "9a00ebaa5bf72291",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:41.825330Z",
"timestamp": "2026-05-28T07:35:42.377170Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139717895711616",
"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": "b81e8eed3697657d",
"trace_id": "e56f8eb09cc8425baacfdc4b1968f57d",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:41.811565Z",
"timestamp": "2026-05-28T07:35:42.514579Z",
"data": {
"thread.id": "139717895711616",
"thread.name": "MainThread"
}
},
{
"span_id": "9a00ebaa5bf72291",
"trace_id": "e56f8eb09cc8425baacfdc4b1968f57d",
"parent_span_id": "b81e8eed3697657d",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953741.814484,
"timestamp": 1779953742.514511,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139717895711616",
"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": "b81e8eed3697657d",
"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 17824ms
Critical
checkChatSpanAttributes
a048254fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a048254fgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a048254fgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a048254fgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "e7bf25e44360451985f0a16d674ad4bb",
"span_id": "a6bccb2d72819007",
"parent_span_id": "a048254fba867c9e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:42.395368Z",
"timestamp": "2026-05-28T07:35:42.398700Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20732
},
"data": {
"thread.id": "140214443371392",
"thread.name": "MainThread"
}
},
{
"trace_id": "e7bf25e44360451985f0a16d674ad4bb",
"span_id": "a3d4c394b22af1cf",
"parent_span_id": "a048254fba867c9e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:42.398798Z",
"timestamp": "2026-05-28T07:35:42.398933Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20732
},
"data": {
"thread.id": "140214443371392",
"thread.name": "MainThread"
}
},
{
"trace_id": "e7bf25e44360451985f0a16d674ad4bb",
"span_id": "9bb66566fceeb750",
"parent_span_id": "a3d4c394b22af1cf",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:42.398890Z",
"timestamp": "2026-05-28T07:35:42.398924Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20732
},
"data": {
"thread.id": "140214443371392",
"thread.name": "MainThread"
}
},
{
"trace_id": "e7bf25e44360451985f0a16d674ad4bb",
"span_id": "a38cc7f5646d0ae8",
"parent_span_id": "a048254fba867c9e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:42.398968Z",
"timestamp": "2026-05-28T07:35:42.398982Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20732
},
"data": {
"thread.id": "140214443371392",
"thread.name": "MainThread"
}
},
{
"trace_id": "e7bf25e44360451985f0a16d674ad4bb",
"span_id": "9d90084dfadc6ace",
"parent_span_id": "a048254fba867c9e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:42.400352Z",
"timestamp": "2026-05-28T07:35:43.734025Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140214443371392",
"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": "9064f167bf773ee7",
"trace_id": "e7bf25e44360451985f0a16d674ad4bb",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:42.310171Z",
"timestamp": "2026-05-28T07:35:43.811529Z",
"data": {
"thread.id": "140214443371392",
"thread.name": "MainThread"
}
},
{
"span_id": "a048254fba867c9e",
"trace_id": "e7bf25e44360451985f0a16d674ad4bb",
"parent_span_id": "9064f167bf773ee7",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953742.319416,
"timestamp": 1779953743.811453,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140214443371392",
"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": "9064f167bf773ee7",
"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 17183ms
Critical
checkChatSpanAttributes
b0684a10gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0684a10gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b0684a10gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b0684a10gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "44b9f920c28a4089b144bd4296c38315",
"span_id": "8ba2d21c24793d67",
"parent_span_id": "b0684a106ff64431",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:43.480743Z",
"timestamp": "2026-05-28T07:35:43.482930Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20741
},
"data": {
"thread.id": "139747140471680",
"thread.name": "MainThread"
}
},
{
"trace_id": "44b9f920c28a4089b144bd4296c38315",
"span_id": "b56a368be581eb56",
"parent_span_id": "b0684a106ff64431",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:43.483014Z",
"timestamp": "2026-05-28T07:35:43.483147Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20741
},
"data": {
"thread.id": "139747140471680",
"thread.name": "MainThread"
}
},
{
"trace_id": "44b9f920c28a4089b144bd4296c38315",
"span_id": "a7998641b7bb452c",
"parent_span_id": "b56a368be581eb56",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:43.483103Z",
"timestamp": "2026-05-28T07:35:43.483137Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20741
},
"data": {
"thread.id": "139747140471680",
"thread.name": "MainThread"
}
},
{
"trace_id": "44b9f920c28a4089b144bd4296c38315",
"span_id": "a8162f716765bd92",
"parent_span_id": "b0684a106ff64431",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:43.483182Z",
"timestamp": "2026-05-28T07:35:43.483196Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20741
},
"data": {
"thread.id": "139747140471680",
"thread.name": "MainThread"
}
},
{
"trace_id": "44b9f920c28a4089b144bd4296c38315",
"span_id": "a14d21dd67befef6",
"parent_span_id": "b0684a106ff64431",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:43.484498Z",
"timestamp": "2026-05-28T07:35:44.314650Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139747140471680",
"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": "b0cad7055c768c26",
"trace_id": "44b9f920c28a4089b144bd4296c38315",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:43.470537Z",
"timestamp": "2026-05-28T07:35:44.337641Z",
"data": {
"thread.id": "139747140471680",
"thread.name": "MainThread"
}
},
{
"span_id": "b0684a106ff64431",
"trace_id": "44b9f920c28a4089b144bd4296c38315",
"parent_span_id": "b0cad7055c768c26",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953743.473478,
"timestamp": 1779953744.337512,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139747140471680",
"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": "b0cad7055c768c26",
"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 27191ms
Critical
checkChatSpanAttributes
bed0c451gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bed0c451gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
bed0c451gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
bed0c451gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
bed0c451gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "eda602c34e534332a2764dbd50393f10",
"span_id": "85dad2902f3ffe62",
"parent_span_id": "bed0c451f3952ef2",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:42.903967Z",
"timestamp": "2026-05-28T07:35:42.908018Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20737
},
"data": {
"thread.id": "139719020084096",
"thread.name": "MainThread"
}
},
{
"trace_id": "eda602c34e534332a2764dbd50393f10",
"span_id": "8a74a204ff3acad4",
"parent_span_id": "bed0c451f3952ef2",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:42.908122Z",
"timestamp": "2026-05-28T07:35:42.908862Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20737
},
"data": {
"thread.id": "139719020084096",
"thread.name": "MainThread"
}
},
{
"trace_id": "eda602c34e534332a2764dbd50393f10",
"span_id": "b6f701e17f3b2543",
"parent_span_id": "8a74a204ff3acad4",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:42.908801Z",
"timestamp": "2026-05-28T07:35:42.908847Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20737
},
"data": {
"thread.id": "139719020084096",
"thread.name": "MainThread"
}
},
{
"trace_id": "eda602c34e534332a2764dbd50393f10",
"span_id": "94be28492af37e98",
"parent_span_id": "bed0c451f3952ef2",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:42.908901Z",
"timestamp": "2026-05-28T07:35:42.908917Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20737
},
"data": {
"thread.id": "139719020084096",
"thread.name": "MainThread"
}
},
{
"trace_id": "eda602c34e534332a2764dbd50393f10",
"span_id": "9b24f75dce559638",
"parent_span_id": "bed0c451f3952ef2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:42.910346Z",
"timestamp": "2026-05-28T07:35:44.477811Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139719020084096",
"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": "93b935f92dd9692c",
"trace_id": "eda602c34e534332a2764dbd50393f10",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:42.811744Z",
"timestamp": "2026-05-28T07:35:44.572531Z",
"data": {
"thread.id": "139719020084096",
"thread.name": "MainThread"
}
},
{
"span_id": "bed0c451f3952ef2",
"trace_id": "eda602c34e534332a2764dbd50393f10",
"parent_span_id": "93b935f92dd9692c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953742.821497,
"timestamp": 1779953744.572436,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139719020084096",
"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": "93b935f92dd9692c",
"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 16201ms
Critical
checkChatSpanAttributes
b1052f47gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1052f47gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b1052f47gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b1052f47gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "1238fcb03c014075bb2c14e5213d6a92",
"span_id": "895f6bc20e0a6ea0",
"parent_span_id": "b1052f47739c62bf",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:43.673264Z",
"timestamp": "2026-05-28T07:35:43.675478Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20748
},
"data": {
"thread.id": "140085038114496",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1238fcb03c014075bb2c14e5213d6a92",
"span_id": "be335f2cdd69aac3",
"parent_span_id": "b1052f47739c62bf",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:43.675565Z",
"timestamp": "2026-05-28T07:35:43.675715Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20748
},
"data": {
"thread.id": "140085038114496",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1238fcb03c014075bb2c14e5213d6a92",
"span_id": "aa8722fe971b4777",
"parent_span_id": "be335f2cdd69aac3",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:43.675669Z",
"timestamp": "2026-05-28T07:35:43.675704Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20748
},
"data": {
"thread.id": "140085038114496",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1238fcb03c014075bb2c14e5213d6a92",
"span_id": "b1f2e38ca74588d8",
"parent_span_id": "b1052f47739c62bf",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:43.675751Z",
"timestamp": "2026-05-28T07:35:43.675767Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20748
},
"data": {
"thread.id": "140085038114496",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1238fcb03c014075bb2c14e5213d6a92",
"span_id": "bff5791f8c7c0f15",
"parent_span_id": "b1052f47739c62bf",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:43.677303Z",
"timestamp": "2026-05-28T07:35:44.191464Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140085151837056",
"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": "8789910e0ee7dbde",
"trace_id": "1238fcb03c014075bb2c14e5213d6a92",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:43.662340Z",
"timestamp": "2026-05-28T07:35:44.234013Z",
"data": {
"thread.id": "140085151837056",
"thread.name": "MainThread"
}
},
{
"span_id": "b1052f47739c62bf",
"trace_id": "1238fcb03c014075bb2c14e5213d6a92",
"parent_span_id": "8789910e0ee7dbde",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953743.666114,
"timestamp": 1779953744.230043,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140085038114496",
"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": "8789910e0ee7dbde",
"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 16264ms
Critical
checkChatSpanAttributes
a7cb036dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a7cb036dgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a7cb036dgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a7cb036dgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "b07a6fa030334cb2b1f970fb1c2b40f5",
"span_id": "9e220bea7dc2b9f0",
"parent_span_id": "a7cb036dcdae6b51",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:46.766838Z",
"timestamp": "2026-05-28T07:35:46.771721Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20771
},
"data": {
"thread.id": "139689078023872",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "b07a6fa030334cb2b1f970fb1c2b40f5",
"span_id": "8db2079788d39967",
"parent_span_id": "a7cb036dcdae6b51",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:46.771825Z",
"timestamp": "2026-05-28T07:35:46.771967Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20771
},
"data": {
"thread.id": "139689078023872",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "b07a6fa030334cb2b1f970fb1c2b40f5",
"span_id": "bdc6484fc1918b4c",
"parent_span_id": "8db2079788d39967",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:46.771920Z",
"timestamp": "2026-05-28T07:35:46.771956Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20771
},
"data": {
"thread.id": "139689078023872",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "b07a6fa030334cb2b1f970fb1c2b40f5",
"span_id": "8db9eb53bf8a815a",
"parent_span_id": "a7cb036dcdae6b51",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:46.771998Z",
"timestamp": "2026-05-28T07:35:46.772011Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20771
},
"data": {
"thread.id": "139689078023872",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "b07a6fa030334cb2b1f970fb1c2b40f5",
"span_id": "b529328039c3b0c2",
"parent_span_id": "a7cb036dcdae6b51",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:46.778525Z",
"timestamp": "2026-05-28T07:35:47.324311Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139689192373120",
"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": "bb3a647e13790a14",
"trace_id": "b07a6fa030334cb2b1f970fb1c2b40f5",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:46.663193Z",
"timestamp": "2026-05-28T07:35:47.431877Z",
"data": {
"thread.id": "139689192373120",
"thread.name": "MainThread"
}
},
{
"span_id": "a7cb036dcdae6b51",
"trace_id": "b07a6fa030334cb2b1f970fb1c2b40f5",
"parent_span_id": "bb3a647e13790a14",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953746.674346,
"timestamp": 1779953747.428879,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139689078023872",
"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": "bb3a647e13790a14",
"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 18754ms
Critical
checkChatSpanAttributes
90b65028gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
90b65028gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
90b65028gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
90b65028gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "d7a31da4f24b40b2b93518f8c146aad4",
"span_id": "bed6972f40c58260",
"parent_span_id": "90b650287a61c35c",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:49.878858Z",
"timestamp": "2026-05-28T07:35:49.881070Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20790
},
"data": {
"thread.id": "139849906517696",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d7a31da4f24b40b2b93518f8c146aad4",
"span_id": "ab7334960557bc5a",
"parent_span_id": "90b650287a61c35c",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:49.881158Z",
"timestamp": "2026-05-28T07:35:49.881293Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20790
},
"data": {
"thread.id": "139849906517696",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d7a31da4f24b40b2b93518f8c146aad4",
"span_id": "8443e3bf5fc95586",
"parent_span_id": "ab7334960557bc5a",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:49.881247Z",
"timestamp": "2026-05-28T07:35:49.881283Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20790
},
"data": {
"thread.id": "139849906517696",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d7a31da4f24b40b2b93518f8c146aad4",
"span_id": "b2c3c95cb0154b9a",
"parent_span_id": "90b650287a61c35c",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:49.881329Z",
"timestamp": "2026-05-28T07:35:49.881344Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20790
},
"data": {
"thread.id": "139849906517696",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d7a31da4f24b40b2b93518f8c146aad4",
"span_id": "94121f57e70503cc",
"parent_span_id": "90b650287a61c35c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:49.882973Z",
"timestamp": "2026-05-28T07:35:50.511254Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139850098256768",
"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": "b756685dca3439cd",
"trace_id": "d7a31da4f24b40b2b93518f8c146aad4",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:49.837466Z",
"timestamp": "2026-05-28T07:35:50.555132Z",
"data": {
"thread.id": "139850098256768",
"thread.name": "MainThread"
}
},
{
"span_id": "90b650287a61c35c",
"trace_id": "d7a31da4f24b40b2b93518f8c146aad4",
"parent_span_id": "b756685dca3439cd",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953749.853061,
"timestamp": 1779953750.548535,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139849906517696",
"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": "b756685dca3439cd",
"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 28622ms
Critical
checkChatSpanAttributes
992c1610gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
992c1610gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
992c1610gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
992c1610gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
992c1610gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "defa34755507423494a003e61770f530",
"span_id": "b9abdfb5aaa3bfc7",
"parent_span_id": "992c1610b964ebf6",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:49.668831Z",
"timestamp": "2026-05-28T07:35:49.675710Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20787
},
"data": {
"thread.id": "140172496725696",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "defa34755507423494a003e61770f530",
"span_id": "bf0cf5a034059572",
"parent_span_id": "992c1610b964ebf6",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:49.675809Z",
"timestamp": "2026-05-28T07:35:49.675954Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20787
},
"data": {
"thread.id": "140172496725696",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "defa34755507423494a003e61770f530",
"span_id": "92068ce90e12ea34",
"parent_span_id": "bf0cf5a034059572",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:49.675907Z",
"timestamp": "2026-05-28T07:35:49.675944Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20787
},
"data": {
"thread.id": "140172496725696",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "defa34755507423494a003e61770f530",
"span_id": "b233d42efff9086a",
"parent_span_id": "992c1610b964ebf6",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:49.675988Z",
"timestamp": "2026-05-28T07:35:49.676002Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20787
},
"data": {
"thread.id": "140172496725696",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "defa34755507423494a003e61770f530",
"span_id": "9a566be96d5f2017",
"parent_span_id": "992c1610b964ebf6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:49.679753Z",
"timestamp": "2026-05-28T07:35:50.291907Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140172610837376",
"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": "9652a3266ffb608c",
"trace_id": "defa34755507423494a003e61770f530",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:35:49.559446Z",
"timestamp": "2026-05-28T07:35:50.412068Z",
"data": {
"thread.id": "140172610837376",
"thread.name": "MainThread"
}
},
{
"span_id": "992c1610b964ebf6",
"trace_id": "defa34755507423494a003e61770f530",
"parent_span_id": "9652a3266ffb608c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953749.570798,
"timestamp": 1779953750.409802,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140172496725696",
"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": "9652a3266ffb608c",
"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) 18801ms
Critical
checkChatSpanAttributes
bdef7fe9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bdef7fe9gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "a6cbc55464c84705a19ce52087cfb3e3",
"span_id": "b5ee66279cf0afca",
"parent_span_id": "bdef7fe9a33bed97",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:50.658060Z",
"timestamp": "2026-05-28T07:35:50.661721Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20801
},
"data": {
"thread.id": "140617431186304",
"thread.name": "MainThread"
}
},
{
"trace_id": "a6cbc55464c84705a19ce52087cfb3e3",
"span_id": "99075752722b97e4",
"parent_span_id": "bdef7fe9a33bed97",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:50.661815Z",
"timestamp": "2026-05-28T07:35:50.661947Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20801
},
"data": {
"thread.id": "140617431186304",
"thread.name": "MainThread"
}
},
{
"trace_id": "a6cbc55464c84705a19ce52087cfb3e3",
"span_id": "b8284f1035660cad",
"parent_span_id": "99075752722b97e4",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:50.661903Z",
"timestamp": "2026-05-28T07:35:50.661936Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20801
},
"data": {
"thread.id": "140617431186304",
"thread.name": "MainThread"
}
},
{
"trace_id": "a6cbc55464c84705a19ce52087cfb3e3",
"span_id": "9f3a08434319d556",
"parent_span_id": "bdef7fe9a33bed97",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:50.661981Z",
"timestamp": "2026-05-28T07:35:50.661996Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20801
},
"data": {
"thread.id": "140617431186304",
"thread.name": "MainThread"
}
},
{
"trace_id": "a6cbc55464c84705a19ce52087cfb3e3",
"span_id": "ac84efc6dc53cd85",
"parent_span_id": "bdef7fe9a33bed97",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:50.663485Z",
"timestamp": "2026-05-28T07:35:51.185056Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140617431186304",
"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": "a61cd70bbd2face1",
"trace_id": "a6cbc55464c84705a19ce52087cfb3e3",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:50.635113Z",
"timestamp": "2026-05-28T07:35:51.427526Z",
"data": {
"thread.id": "140617431186304",
"thread.name": "MainThread"
}
},
{
"span_id": "bdef7fe9a33bed97",
"trace_id": "a6cbc55464c84705a19ce52087cfb3e3",
"parent_span_id": "a61cd70bbd2face1",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953750.641071,
"timestamp": 1779953751.427431,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140617431186304",
"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 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": "a61cd70bbd2face1",
"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) 18117ms
Critical
checkChatSpanAttributes
bf190e14gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bf190e14gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "6211073f86a446559af7d5bbc6eee784",
"span_id": "aad3792b44d4a59c",
"parent_span_id": "bf190e14a3d048d3",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:51.211367Z",
"timestamp": "2026-05-28T07:35:51.219833Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20804
},
"data": {
"thread.id": "139640675150720",
"thread.name": "MainThread"
}
},
{
"trace_id": "6211073f86a446559af7d5bbc6eee784",
"span_id": "8ed09dbf7363b9f9",
"parent_span_id": "bf190e14a3d048d3",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:51.219942Z",
"timestamp": "2026-05-28T07:35:51.220092Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20804
},
"data": {
"thread.id": "139640675150720",
"thread.name": "MainThread"
}
},
{
"trace_id": "6211073f86a446559af7d5bbc6eee784",
"span_id": "9a1f2c4fad46174c",
"parent_span_id": "8ed09dbf7363b9f9",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:51.220045Z",
"timestamp": "2026-05-28T07:35:51.220081Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20804
},
"data": {
"thread.id": "139640675150720",
"thread.name": "MainThread"
}
},
{
"trace_id": "6211073f86a446559af7d5bbc6eee784",
"span_id": "9d44de66096c8926",
"parent_span_id": "bf190e14a3d048d3",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:51.220127Z",
"timestamp": "2026-05-28T07:35:51.220142Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20804
},
"data": {
"thread.id": "139640675150720",
"thread.name": "MainThread"
}
},
{
"trace_id": "6211073f86a446559af7d5bbc6eee784",
"span_id": "860301ef4296f247",
"parent_span_id": "bf190e14a3d048d3",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:51.221818Z",
"timestamp": "2026-05-28T07:35:51.834214Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139640675150720",
"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": "97523c8cd005ca2b",
"trace_id": "6211073f86a446559af7d5bbc6eee784",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:51.120805Z",
"timestamp": "2026-05-28T07:35:52.042572Z",
"data": {
"thread.id": "139640675150720",
"thread.name": "MainThread"
}
},
{
"span_id": "bf190e14a3d048d3",
"trace_id": "6211073f86a446559af7d5bbc6eee784",
"parent_span_id": "97523c8cd005ca2b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953751.126036,
"timestamp": 1779953752.042494,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139640675150720",
"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 repeated many times to create a lengthy input.",
"gen_ai.usage.input_tokens": 5426,
"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": "97523c8cd005ca2b",
"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) 19377ms
Critical
checkChatSpanAttributes
8796cb3fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8796cb3fgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "297e8a0f14024dfe8f997abd5b065da1",
"span_id": "b3733f68fe9cca06",
"parent_span_id": "8796cb3f81077e20",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:52.182836Z",
"timestamp": "2026-05-28T07:35:52.187837Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20813
},
"data": {
"thread.id": "139877122464640",
"thread.name": "MainThread"
}
},
{
"trace_id": "297e8a0f14024dfe8f997abd5b065da1",
"span_id": "883285847db1957f",
"parent_span_id": "8796cb3f81077e20",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:52.187933Z",
"timestamp": "2026-05-28T07:35:52.188593Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20813
},
"data": {
"thread.id": "139877122464640",
"thread.name": "MainThread"
}
},
{
"trace_id": "297e8a0f14024dfe8f997abd5b065da1",
"span_id": "939145f4eb581b1b",
"parent_span_id": "883285847db1957f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:52.188532Z",
"timestamp": "2026-05-28T07:35:52.188577Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20813
},
"data": {
"thread.id": "139877122464640",
"thread.name": "MainThread"
}
},
{
"trace_id": "297e8a0f14024dfe8f997abd5b065da1",
"span_id": "ae490c76650b2082",
"parent_span_id": "8796cb3f81077e20",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:52.188654Z",
"timestamp": "2026-05-28T07:35:52.188671Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20813
},
"data": {
"thread.id": "139877122464640",
"thread.name": "MainThread"
}
},
{
"trace_id": "297e8a0f14024dfe8f997abd5b065da1",
"span_id": "8d86121b82317b3f",
"parent_span_id": "8796cb3f81077e20",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:52.190572Z",
"timestamp": "2026-05-28T07:35:53.086522Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139877122464640",
"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": "99b8344a7494dbf5",
"trace_id": "297e8a0f14024dfe8f997abd5b065da1",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:52.165463Z",
"timestamp": "2026-05-28T07:35:53.134739Z",
"data": {
"thread.id": "139877122464640",
"thread.name": "MainThread"
}
},
{
"span_id": "8796cb3f81077e20",
"trace_id": "297e8a0f14024dfe8f997abd5b065da1",
"parent_span_id": "99b8344a7494dbf5",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953752.171497,
"timestamp": 1779953753.134629,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139877122464640",
"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 numerous times 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": "99b8344a7494dbf5",
"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) 18676ms
Critical
checkChatSpanAttributes
b3256ef2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b3256ef2gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "aec6469bd39041668bff38d2600939ce",
"span_id": "8803d0cbfd1c712d",
"parent_span_id": "b3256ef2c7a7a5e1",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:52.089689Z",
"timestamp": "2026-05-28T07:35:52.091117Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20811
},
"data": {
"thread.id": "139970917342080",
"thread.name": "MainThread"
}
},
{
"trace_id": "aec6469bd39041668bff38d2600939ce",
"span_id": "8de3b4b63903edb0",
"parent_span_id": "b3256ef2c7a7a5e1",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:52.091219Z",
"timestamp": "2026-05-28T07:35:52.092218Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20811
},
"data": {
"thread.id": "139970917342080",
"thread.name": "MainThread"
}
},
{
"trace_id": "aec6469bd39041668bff38d2600939ce",
"span_id": "b53cd5eb235ff2e9",
"parent_span_id": "8de3b4b63903edb0",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:52.092020Z",
"timestamp": "2026-05-28T07:35:52.092201Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20811
},
"data": {
"thread.id": "139970917342080",
"thread.name": "MainThread"
}
},
{
"trace_id": "aec6469bd39041668bff38d2600939ce",
"span_id": "920f3ec7d6c3e3e7",
"parent_span_id": "b3256ef2c7a7a5e1",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:52.092262Z",
"timestamp": "2026-05-28T07:35:52.092280Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20811
},
"data": {
"thread.id": "139970917342080",
"thread.name": "MainThread"
}
},
{
"trace_id": "aec6469bd39041668bff38d2600939ce",
"span_id": "896880e34aa5e5f2",
"parent_span_id": "b3256ef2c7a7a5e1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:52.093940Z",
"timestamp": "2026-05-28T07:35:52.781477Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139970917342080",
"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": "a748dbee75c81634",
"trace_id": "aec6469bd39041668bff38d2600939ce",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:52.035770Z",
"timestamp": "2026-05-28T07:35:52.879677Z",
"data": {
"thread.id": "139970917342080",
"thread.name": "MainThread"
}
},
{
"span_id": "b3256ef2c7a7a5e1",
"trace_id": "aec6469bd39041668bff38d2600939ce",
"parent_span_id": "a748dbee75c81634",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953752.042891,
"timestamp": 1779953752.879546,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139970917342080",
"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 repeated many times to create a lengthy input.",
"gen_ai.usage.input_tokens": 5426,
"gen_ai.usage.output_tokens": 17,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "a748dbee75c81634",
"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) 19532ms
Critical
checkChatSpanAttributes
adb5068agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
adb5068agen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "764289c687624178acee88cb95d9f1e1",
"span_id": "aff5df293141767e",
"parent_span_id": "adb5068a6907d88b",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:51.788898Z",
"timestamp": "2026-05-28T07:35:51.792928Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20808
},
"data": {
"thread.id": "139623335843520",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "764289c687624178acee88cb95d9f1e1",
"span_id": "ad99713b7af73b71",
"parent_span_id": "adb5068a6907d88b",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:51.793028Z",
"timestamp": "2026-05-28T07:35:51.794204Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20808
},
"data": {
"thread.id": "139623335843520",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "764289c687624178acee88cb95d9f1e1",
"span_id": "b0279dfd36462338",
"parent_span_id": "ad99713b7af73b71",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:51.794138Z",
"timestamp": "2026-05-28T07:35:51.794187Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20808
},
"data": {
"thread.id": "139623335843520",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "764289c687624178acee88cb95d9f1e1",
"span_id": "b4c4d60f172dc349",
"parent_span_id": "adb5068a6907d88b",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:51.794245Z",
"timestamp": "2026-05-28T07:35:51.794262Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20808
},
"data": {
"thread.id": "139623335843520",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "764289c687624178acee88cb95d9f1e1",
"span_id": "979bceeeb2d73cf5",
"parent_span_id": "adb5068a6907d88b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:51.796277Z",
"timestamp": "2026-05-28T07:35:52.464208Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139623448710016",
"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": "b353e43a0bec4d5f",
"trace_id": "764289c687624178acee88cb95d9f1e1",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:51.765831Z",
"timestamp": "2026-05-28T07:35:53.263870Z",
"data": {
"thread.id": "139623448710016",
"thread.name": "MainThread"
}
},
{
"span_id": "adb5068a6907d88b",
"trace_id": "764289c687624178acee88cb95d9f1e1",
"parent_span_id": "b353e43a0bec4d5f",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953751.775139,
"timestamp": 1779953753.257295,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139623335843520",
"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 repeated phrase, \"This is a test message that will be repeated many times to create a very long input,\" emphasizes the intention to generate a lengthy input through its continuous repetition.",
"gen_ai.usage.input_tokens": 5429,
"gen_ai.usage.output_tokens": 36,
"gen_ai.usage.total_tokens": 5465,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "b353e43a0bec4d5f",
"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) 19717ms
Critical
checkChatSpanAttributes
84b5573cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84b5573cgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "65c0b2e5748541b8aad78f56271163c5",
"span_id": "9ae5a43e28fca3b1",
"parent_span_id": "84b5573c5029e71d",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:54.251826Z",
"timestamp": "2026-05-28T07:35:54.257750Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20833
},
"data": {
"thread.id": "139666632210112",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "65c0b2e5748541b8aad78f56271163c5",
"span_id": "9cbbe5a0c37b44d7",
"parent_span_id": "84b5573c5029e71d",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:54.257846Z",
"timestamp": "2026-05-28T07:35:54.257987Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20833
},
"data": {
"thread.id": "139666632210112",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "65c0b2e5748541b8aad78f56271163c5",
"span_id": "9809dba23d92b1ea",
"parent_span_id": "9cbbe5a0c37b44d7",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:54.257941Z",
"timestamp": "2026-05-28T07:35:54.257977Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20833
},
"data": {
"thread.id": "139666632210112",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "65c0b2e5748541b8aad78f56271163c5",
"span_id": "af4e10d3136f05d4",
"parent_span_id": "84b5573c5029e71d",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:54.258022Z",
"timestamp": "2026-05-28T07:35:54.258036Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20833
},
"data": {
"thread.id": "139666632210112",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "65c0b2e5748541b8aad78f56271163c5",
"span_id": "8e7548997034eee4",
"parent_span_id": "84b5573c5029e71d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:54.260280Z",
"timestamp": "2026-05-28T07:35:54.995151Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139666822421376",
"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": "930d97472fded3bd",
"trace_id": "65c0b2e5748541b8aad78f56271163c5",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:54.163836Z",
"timestamp": "2026-05-28T07:35:55.196187Z",
"data": {
"thread.id": "139666822421376",
"thread.name": "MainThread"
}
},
{
"span_id": "84b5573c5029e71d",
"trace_id": "65c0b2e5748541b8aad78f56271163c5",
"parent_span_id": "930d97472fded3bd",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953754.174854,
"timestamp": 1779953755.191752,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139666632210112",
"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 repeated many times to create lengthy input.",
"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": "930d97472fded3bd",
"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) 111394ms
Critical
checkChatSpanAttributes
8a357637gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8a357637gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "20d31e292b86457b805c55271fd514f0",
"span_id": "8461cfc847e3c1de",
"parent_span_id": "8a35763784110cee",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:57.708805Z",
"timestamp": "2026-05-28T07:35:57.710154Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20856
},
"data": {
"thread.id": "140500559423168",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "20d31e292b86457b805c55271fd514f0",
"span_id": "b604403a2b9b3083",
"parent_span_id": "8a35763784110cee",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:57.710237Z",
"timestamp": "2026-05-28T07:35:57.715944Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20856
},
"data": {
"thread.id": "140500559423168",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "20d31e292b86457b805c55271fd514f0",
"span_id": "8e738cd9825c027b",
"parent_span_id": "b604403a2b9b3083",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:57.715886Z",
"timestamp": "2026-05-28T07:35:57.715929Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20856
},
"data": {
"thread.id": "140500559423168",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "20d31e292b86457b805c55271fd514f0",
"span_id": "a4b43532a9a476fd",
"parent_span_id": "8a35763784110cee",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:57.715979Z",
"timestamp": "2026-05-28T07:35:57.715993Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20856
},
"data": {
"thread.id": "140500559423168",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "20d31e292b86457b805c55271fd514f0",
"span_id": "b79f2d0d062d6911",
"parent_span_id": "8a35763784110cee",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:57.721733Z",
"timestamp": "2026-05-28T07:35:59.016905Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140500673121152",
"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": "b247f91f1294ac39",
"trace_id": "20d31e292b86457b805c55271fd514f0",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:57.671058Z",
"timestamp": "2026-05-28T07:35:59.079917Z",
"data": {
"thread.id": "140500673121152",
"thread.name": "MainThread"
}
},
{
"span_id": "8a35763784110cee",
"trace_id": "20d31e292b86457b805c55271fd514f0",
"parent_span_id": "b247f91f1294ac39",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953757.691826,
"timestamp": 1779953759.073522,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140500559423168",
"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": "A repetitive test message is designed to be echoed multiple times to form an extensive input.",
"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": "b247f91f1294ac39",
"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) 110827ms
Critical
checkChatSpanAttributes
9c1bee19gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c1bee19gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "8e514d4297b94a04910e1dda3675917a",
"span_id": "9a70cc9d4665cde3",
"parent_span_id": "9c1bee19faba861e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:57.890852Z",
"timestamp": "2026-05-28T07:35:57.898724Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20861
},
"data": {
"thread.id": "140311246399168",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8e514d4297b94a04910e1dda3675917a",
"span_id": "873582b0be5c3df6",
"parent_span_id": "9c1bee19faba861e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:57.898829Z",
"timestamp": "2026-05-28T07:35:57.898973Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20861
},
"data": {
"thread.id": "140311246399168",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8e514d4297b94a04910e1dda3675917a",
"span_id": "a7d754df5052769e",
"parent_span_id": "873582b0be5c3df6",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:57.898928Z",
"timestamp": "2026-05-28T07:35:57.898962Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20861
},
"data": {
"thread.id": "140311246399168",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8e514d4297b94a04910e1dda3675917a",
"span_id": "a75a4ed23c5086bd",
"parent_span_id": "9c1bee19faba861e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:57.899008Z",
"timestamp": "2026-05-28T07:35:57.899022Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20861
},
"data": {
"thread.id": "140311246399168",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8e514d4297b94a04910e1dda3675917a",
"span_id": "b0e849f686294b25",
"parent_span_id": "9c1bee19faba861e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:35:57.901798Z",
"timestamp": "2026-05-28T07:35:58.694926Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140311360682880",
"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": "ac590525e6017d4c",
"trace_id": "8e514d4297b94a04910e1dda3675917a",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:35:57.745612Z",
"timestamp": "2026-05-28T07:35:58.813959Z",
"data": {
"thread.id": "140311360682880",
"thread.name": "MainThread"
}
},
{
"span_id": "9c1bee19faba861e",
"trace_id": "8e514d4297b94a04910e1dda3675917a",
"parent_span_id": "ac590525e6017d4c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953757.76275,
"timestamp": 1779953758.814206,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140311246399168",
"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 repeated many times to create a lengthy input.",
"gen_ai.usage.input_tokens": 5426,
"gen_ai.usage.output_tokens": 17,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "ac590525e6017d4c",
"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) 116458ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
97772446gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
97772446gen_ai.output.messagesMissing output messages attribute
8804d497gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8804d497gen_ai.output.messagesMissing output messages attribute
b07e7f30gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b07e7f30gen_ai.output.messagesMissing output messages attribute
99a8fb70gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
99a8fb70gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "3a51d9ad2c1244759ad7e21f68e3cf6f",
"span_id": "b352ee61903fd96a",
"parent_span_id": "977724466c6330b8",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:57.742039Z",
"timestamp": "2026-05-28T07:35:57.744790Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20858
},
"data": {
"thread.id": "139856159497088",
"thread.name": "MainThread"
}
},
{
"trace_id": "3a51d9ad2c1244759ad7e21f68e3cf6f",
"span_id": "a8854def8ae81906",
"parent_span_id": "977724466c6330b8",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:57.744885Z",
"timestamp": "2026-05-28T07:35:57.745022Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20858
},
"data": {
"thread.id": "139856159497088",
"thread.name": "MainThread"
}
},
{
"trace_id": "3a51d9ad2c1244759ad7e21f68e3cf6f",
"span_id": "b99ee70552499ec9",
"parent_span_id": "a8854def8ae81906",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:57.744978Z",
"timestamp": "2026-05-28T07:35:57.745011Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20858
},
"data": {
"thread.id": "139856159497088",
"thread.name": "MainThread"
}
},
{
"trace_id": "3a51d9ad2c1244759ad7e21f68e3cf6f",
"span_id": "8673a016c5f8789a",
"parent_span_id": "977724466c6330b8",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:57.745056Z",
"timestamp": "2026-05-28T07:35:57.745069Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20858
},
"data": {
"thread.id": "139856159497088",
"thread.name": "MainThread"
}
},
{
"trace_id": "3a51d9ad2c1244759ad7e21f68e3cf6f",
"span_id": "8494f15359ae8464",
"parent_span_id": "977724466c6330b8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:57.749729Z",
"timestamp": "2026-05-28T07:35:59.192105Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139856159497088",
"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": "3a51d9ad2c1244759ad7e21f68e3cf6f",
"span_id": "b4a32d13c1fe5a1d",
"parent_span_id": "8804d49710a1075e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:59.315141Z",
"timestamp": "2026-05-28T07:36:01.359393Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139856159497088",
"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": "3a51d9ad2c1244759ad7e21f68e3cf6f",
"span_id": "82ed5910e2ff2386",
"parent_span_id": "b07e7f30ed3c24ec",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:01.704423Z",
"timestamp": "2026-05-28T07:36:03.035487Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139856159497088",
"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": "3a51d9ad2c1244759ad7e21f68e3cf6f",
"span_id": "a6639b6d6f84901f",
"parent_span_id": "99a8fb708e2e612f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:03.108461Z",
"timestamp": "2026-05-28T07:36:05.225938Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139856159497088",
"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": "a702a8640db4188e",
"trace_id": "3a51d9ad2c1244759ad7e21f68e3cf6f",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:35:57.711880Z",
"timestamp": "2026-05-28T07:36:05.421032Z",
"data": {
"thread.id": "139856159497088",
"thread.name": "MainThread"
}
},
{
"span_id": "977724466c6330b8",
"trace_id": "3a51d9ad2c1244759ad7e21f68e3cf6f",
"parent_span_id": "a702a8640db4188e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953757.725215,
"timestamp": 1779953759.303434,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139856159497088",
"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. It is the capital and largest city of France. Want a bit more detail about Paris?",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 221,
"gen_ai.usage.total_tokens": 244,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a702a8640db4188e",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8804d49710a1075e",
"trace_id": "3a51d9ad2c1244759ad7e21f68e3cf6f",
"parent_span_id": "a702a8640db4188e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953759.303887,
"timestamp": 1779953761.698129,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139856159497088",
"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\n\nReason: Adding two and two gives four. For a quick check, you can count: 1, 2, 3, 4; or move two steps from 0 to 2, then two more to 4 on a number line. If you want, I can show other ways to see it.",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 332,
"gen_ai.usage.total_tokens": 356,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a702a8640db4188e",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b07e7f30ed3c24ec",
"trace_id": "3a51d9ad2c1244759ad7e21f68e3cf6f",
"parent_span_id": "a702a8640db4188e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953761.698584,
"timestamp": 1779953763.105669,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139856159497088",
"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": "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.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a702a8640db4188e",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "99a8fb708e2e612f",
"trace_id": "3a51d9ad2c1244759ad7e21f68e3cf6f",
"parent_span_id": "a702a8640db4188e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953763.106063,
"timestamp": 1779953765.42091,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "139856159497088",
"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.\n\nThink of it as two groups of three items; together they make six. Want another quick method to add numbers?",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 360,
"gen_ai.usage.total_tokens": 410,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a702a8640db4188e",
"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) 111881ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
bf330e31gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bf330e31gen_ai.output.messagesMissing output messages attribute
8c81cf8egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c81cf8egen_ai.output.messagesMissing output messages attribute
acc548f0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
acc548f0gen_ai.output.messagesMissing output messages attribute
a61436f2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a61436f2gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "ab902e7bd4104a1783940055b8ac090a",
"span_id": "8bed62f9aed49d0d",
"parent_span_id": "bf330e31ba97e21e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:00.198161Z",
"timestamp": "2026-05-28T07:36:00.202716Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20873
},
"data": {
"thread.id": "140375292734336",
"thread.name": "MainThread"
}
},
{
"trace_id": "ab902e7bd4104a1783940055b8ac090a",
"span_id": "8613de9f0d34b058",
"parent_span_id": "bf330e31ba97e21e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:00.202820Z",
"timestamp": "2026-05-28T07:36:00.202964Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20873
},
"data": {
"thread.id": "140375292734336",
"thread.name": "MainThread"
}
},
{
"trace_id": "ab902e7bd4104a1783940055b8ac090a",
"span_id": "baed01bd546743ce",
"parent_span_id": "8613de9f0d34b058",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:00.202916Z",
"timestamp": "2026-05-28T07:36:00.202952Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20873
},
"data": {
"thread.id": "140375292734336",
"thread.name": "MainThread"
}
},
{
"trace_id": "ab902e7bd4104a1783940055b8ac090a",
"span_id": "ae5c82d6c754a0b3",
"parent_span_id": "bf330e31ba97e21e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:00.203000Z",
"timestamp": "2026-05-28T07:36:00.203015Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20873
},
"data": {
"thread.id": "140375292734336",
"thread.name": "MainThread"
}
},
{
"trace_id": "ab902e7bd4104a1783940055b8ac090a",
"span_id": "a105cf66ebb2e35d",
"parent_span_id": "bf330e31ba97e21e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:00.204415Z",
"timestamp": "2026-05-28T07:36:00.721209Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140375292734336",
"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": "ab902e7bd4104a1783940055b8ac090a",
"span_id": "a3e7fdf6d6fe5b98",
"parent_span_id": "8c81cf8e5c77183a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:01.112349Z",
"timestamp": "2026-05-28T07:36:01.824114Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140375292734336",
"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": "ab902e7bd4104a1783940055b8ac090a",
"span_id": "bb7cb6db7b5eac97",
"parent_span_id": "acc548f081c03a91",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:02.034381Z",
"timestamp": "2026-05-28T07:36:02.508979Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140375292734336",
"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": "ab902e7bd4104a1783940055b8ac090a",
"span_id": "8333055721c9831a",
"parent_span_id": "a61436f2999bb929",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:02.569037Z",
"timestamp": "2026-05-28T07:36:03.083334Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140375292734336",
"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": "b1ec82e20d501f1a",
"trace_id": "ab902e7bd4104a1783940055b8ac090a",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:36:00.059187Z",
"timestamp": "2026-05-28T07:36:03.146315Z",
"data": {
"thread.id": "140375292734336",
"thread.name": "MainThread"
}
},
{
"span_id": "bf330e31ba97e21e",
"trace_id": "ab902e7bd4104a1783940055b8ac090a",
"parent_span_id": "b1ec82e20d501f1a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953760.075974,
"timestamp": 1779953761.110417,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140375292734336",
"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's located in the north-central part of the country along the Seine River and is one of the world's major cultural, artistic, and political centers.",
"gen_ai.usage.input_tokens": 20,
"gen_ai.usage.output_tokens": 42,
"gen_ai.usage.total_tokens": 62,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b1ec82e20d501f1a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8c81cf8e5c77183a",
"trace_id": "ab902e7bd4104a1783940055b8ac090a",
"parent_span_id": "b1ec82e20d501f1a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953761.110847,
"timestamp": 1779953762.032502,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140375292734336",
"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\nIs there anything else you'd like help with in math?",
"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": "b1ec82e20d501f1a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "acc548f081c03a91",
"trace_id": "ab902e7bd4104a1783940055b8ac090a",
"parent_span_id": "b1ec82e20d501f1a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953762.032885,
"timestamp": 1779953762.565165,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140375292734336",
"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": "b1ec82e20d501f1a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a61436f2999bb929",
"trace_id": "ab902e7bd4104a1783940055b8ac090a",
"parent_span_id": "b1ec82e20d501f1a",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953762.565515,
"timestamp": 1779953763.146241,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140375292734336",
"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": "b1ec82e20d501f1a",
"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) 117516ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
9de59808gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9de59808gen_ai.output.messagesMissing output messages attribute
88ebabd5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88ebabd5gen_ai.output.messagesMissing output messages attribute
bf637957gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bf637957gen_ai.output.messagesMissing output messages attribute
8801b8f8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8801b8f8gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "e88ac770340b4b6aaf601becaf06fd8b",
"span_id": "bf96ccc3fcee2405",
"parent_span_id": "9de598084c1f8137",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:35:59.878560Z",
"timestamp": "2026-05-28T07:35:59.882733Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20871
},
"data": {
"thread.id": "140592144591744",
"thread.name": "MainThread"
}
},
{
"trace_id": "e88ac770340b4b6aaf601becaf06fd8b",
"span_id": "860bd3318877c37e",
"parent_span_id": "9de598084c1f8137",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:35:59.882839Z",
"timestamp": "2026-05-28T07:35:59.882988Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20871
},
"data": {
"thread.id": "140592144591744",
"thread.name": "MainThread"
}
},
{
"trace_id": "e88ac770340b4b6aaf601becaf06fd8b",
"span_id": "8d0de338c61faeca",
"parent_span_id": "860bd3318877c37e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:59.882940Z",
"timestamp": "2026-05-28T07:35:59.882976Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20871
},
"data": {
"thread.id": "140592144591744",
"thread.name": "MainThread"
}
},
{
"trace_id": "e88ac770340b4b6aaf601becaf06fd8b",
"span_id": "869b6e67d44c0148",
"parent_span_id": "9de598084c1f8137",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:35:59.883026Z",
"timestamp": "2026-05-28T07:35:59.883041Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20871
},
"data": {
"thread.id": "140592144591744",
"thread.name": "MainThread"
}
},
{
"trace_id": "e88ac770340b4b6aaf601becaf06fd8b",
"span_id": "866cc43178ac9dfb",
"parent_span_id": "9de598084c1f8137",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:35:59.887490Z",
"timestamp": "2026-05-28T07:36:01.523567Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140592144591744",
"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": "e88ac770340b4b6aaf601becaf06fd8b",
"span_id": "ba3c31e33ab75a29",
"parent_span_id": "88ebabd5807c309d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:01.560599Z",
"timestamp": "2026-05-28T07:36:04.231072Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140592144591744",
"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": "e88ac770340b4b6aaf601becaf06fd8b",
"span_id": "90d050d7004bc4c3",
"parent_span_id": "bf63795746b98016",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:04.241591Z",
"timestamp": "2026-05-28T07:36:05.790591Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140592144591744",
"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": "e88ac770340b4b6aaf601becaf06fd8b",
"span_id": "afe9d484dfee886d",
"parent_span_id": "8801b8f864424d40",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:05.800687Z",
"timestamp": "2026-05-28T07:36:07.975923Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140592144591744",
"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": "9e77f8f3c939efb7",
"trace_id": "e88ac770340b4b6aaf601becaf06fd8b",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:35:59.851288Z",
"timestamp": "2026-05-28T07:36:07.976894Z",
"data": {
"thread.id": "140592144591744",
"thread.name": "MainThread"
}
},
{
"span_id": "9de598084c1f8137",
"trace_id": "e88ac770340b4b6aaf601becaf06fd8b",
"parent_span_id": "9e77f8f3c939efb7",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953759.861155,
"timestamp": 1779953761.558015,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140592144591744",
"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": "9e77f8f3c939efb7",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "88ebabd5807c309d",
"trace_id": "e88ac770340b4b6aaf601becaf06fd8b",
"parent_span_id": "9e77f8f3c939efb7",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953761.558424,
"timestamp": 1779953764.232047,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140592144591744",
"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\n\nIn base-10 arithmetic, 2 + 2 = 4. You can see it by counting two more steps from 2 on a number line or with fingers. Want a quick few more examples or a tiny explanation of why addition works this way?",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 511,
"gen_ai.usage.total_tokens": 535,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "9e77f8f3c939efb7",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bf63795746b98016",
"trace_id": "e88ac770340b4b6aaf601becaf06fd8b",
"parent_span_id": "9e77f8f3c939efb7",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953764.232437,
"timestamp": 1779953765.791525,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140592144591744",
"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": "The capital of Germany is Berlin. If you’d like more about Germany or Berlin, I can help.",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 158,
"gen_ai.usage.total_tokens": 202,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "9e77f8f3c939efb7",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8801b8f864424d40",
"trace_id": "e88ac770340b4b6aaf601becaf06fd8b",
"parent_span_id": "9e77f8f3c939efb7",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953765.791906,
"timestamp": 1779953767.976814,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140592144591744",
"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. (Doubling 3 gives 6.)",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 282,
"gen_ai.usage.total_tokens": 332,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "9e77f8f3c939efb7",
"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 112632ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
8aa5ce74gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8aa5ce74gen_ai.output.messagesMissing output messages attribute
a77d31b3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a77d31b3gen_ai.output.messagesMissing output messages attribute
9834a2eegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9834a2eegen_ai.output.messagesMissing output messages attribute
a8c9cd08gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8c9cd08gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
8aa5ce74gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "3b6ae106460b44c691a41c421722cc43",
"span_id": "a12573311ef94780",
"parent_span_id": "8aa5ce7402b23d58",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:00.858503Z",
"timestamp": "2026-05-28T07:36:00.862715Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20882
},
"data": {
"thread.id": "140519622384512",
"thread.name": "MainThread"
}
},
{
"trace_id": "3b6ae106460b44c691a41c421722cc43",
"span_id": "b5469c01ce978e08",
"parent_span_id": "8aa5ce7402b23d58",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:00.862822Z",
"timestamp": "2026-05-28T07:36:00.865674Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20882
},
"data": {
"thread.id": "140519622384512",
"thread.name": "MainThread"
}
},
{
"trace_id": "3b6ae106460b44c691a41c421722cc43",
"span_id": "ac2f289bcba4cfab",
"parent_span_id": "b5469c01ce978e08",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:00.862917Z",
"timestamp": "2026-05-28T07:36:00.865653Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20882
},
"data": {
"thread.id": "140519622384512",
"thread.name": "MainThread"
}
},
{
"trace_id": "3b6ae106460b44c691a41c421722cc43",
"span_id": "836741b77e79a83e",
"parent_span_id": "8aa5ce7402b23d58",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:00.865734Z",
"timestamp": "2026-05-28T07:36:00.865756Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20882
},
"data": {
"thread.id": "140519622384512",
"thread.name": "MainThread"
}
},
{
"trace_id": "3b6ae106460b44c691a41c421722cc43",
"span_id": "8974b0376bf681b9",
"parent_span_id": "8aa5ce7402b23d58",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:00.867142Z",
"timestamp": "2026-05-28T07:36:01.559376Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140519622384512",
"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": "3b6ae106460b44c691a41c421722cc43",
"span_id": "a0ff0bee5f29f734",
"parent_span_id": "a77d31b3ee59c998",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:01.669118Z",
"timestamp": "2026-05-28T07:36:02.675785Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140519622384512",
"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": "3b6ae106460b44c691a41c421722cc43",
"span_id": "b703e08aeb9696c7",
"parent_span_id": "9834a2ee59798401",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:02.681830Z",
"timestamp": "2026-05-28T07:36:03.292609Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140519622384512",
"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": "3b6ae106460b44c691a41c421722cc43",
"span_id": "8a253f4db3f4fc63",
"parent_span_id": "a8c9cd082e7e8337",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:03.300012Z",
"timestamp": "2026-05-28T07:36:03.868374Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140519622384512",
"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": "a632a7fbf68027d4",
"trace_id": "3b6ae106460b44c691a41c421722cc43",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:36:00.740035Z",
"timestamp": "2026-05-28T07:36:03.869349Z",
"data": {
"thread.id": "140519622384512",
"thread.name": "MainThread"
}
},
{
"span_id": "8aa5ce7402b23d58",
"trace_id": "3b6ae106460b44c691a41c421722cc43",
"parent_span_id": "a632a7fbf68027d4",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953760.747659,
"timestamp": 1779953761.666776,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140519622384512",
"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 largest city in France by population.",
"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": "a632a7fbf68027d4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a77d31b3ee59c998",
"trace_id": "3b6ae106460b44c691a41c421722cc43",
"parent_span_id": "a632a7fbf68027d4",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953761.66717,
"timestamp": 1779953762.676789,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140519622384512",
"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 basic addition facts in math. When you combine 2 groups of 2 items, you get 4 items total.",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 48,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a632a7fbf68027d4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9834a2ee59798401",
"trace_id": "3b6ae106460b44c691a41c421722cc43",
"parent_span_id": "a632a7fbf68027d4",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953762.67714,
"timestamp": 1779953763.293422,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140519622384512",
"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": "a632a7fbf68027d4",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a8c9cd082e7e8337",
"trace_id": "3b6ae106460b44c691a41c421722cc43",
"parent_span_id": "a632a7fbf68027d4",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953763.293763,
"timestamp": 1779953763.869268,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140519622384512",
"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": "a632a7fbf68027d4",
"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) 118386ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
8ac577a4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8ac577a4gen_ai.output.messagesMissing output messages attribute
a780c1f1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a780c1f1gen_ai.output.messagesMissing output messages attribute
9bb2407cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9bb2407cgen_ai.output.messagesMissing output messages attribute
9514abc8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9514abc8gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "8d980af129aa4328846e0baf9ea93135",
"span_id": "a0f3b9ef0995dda0",
"parent_span_id": "8ac577a4bee88359",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:00.459820Z",
"timestamp": "2026-05-28T07:36:00.463957Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20876
},
"data": {
"thread.id": "140122234287808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8d980af129aa4328846e0baf9ea93135",
"span_id": "8a46a78f1ded3c8f",
"parent_span_id": "8ac577a4bee88359",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:00.464047Z",
"timestamp": "2026-05-28T07:36:00.464186Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20876
},
"data": {
"thread.id": "140122234287808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8d980af129aa4328846e0baf9ea93135",
"span_id": "8f8e108a69a9cb7a",
"parent_span_id": "8a46a78f1ded3c8f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:00.464138Z",
"timestamp": "2026-05-28T07:36:00.464174Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20876
},
"data": {
"thread.id": "140122234287808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8d980af129aa4328846e0baf9ea93135",
"span_id": "b6110607aa9bb4b7",
"parent_span_id": "8ac577a4bee88359",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:00.464223Z",
"timestamp": "2026-05-28T07:36:00.464238Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20876
},
"data": {
"thread.id": "140122234287808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8d980af129aa4328846e0baf9ea93135",
"span_id": "920772532c9de891",
"parent_span_id": "8ac577a4bee88359",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:00.468970Z",
"timestamp": "2026-05-28T07:36:03.146846Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140122423749504",
"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": "8d980af129aa4328846e0baf9ea93135",
"span_id": "a4a8fbd27e7b077f",
"parent_span_id": "a780c1f1ba247f2a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:03.372859Z",
"timestamp": "2026-05-28T07:36:04.867515Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140122423749504",
"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": "8d980af129aa4328846e0baf9ea93135",
"span_id": "a6e21c94ce7ddd24",
"parent_span_id": "9bb2407c7851321d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:04.983386Z",
"timestamp": "2026-05-28T07:36:07.145480Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140122423749504",
"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": "8d980af129aa4328846e0baf9ea93135",
"span_id": "9006c21a003227fb",
"parent_span_id": "9514abc8ed5a2ea5",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:07.239925Z",
"timestamp": "2026-05-28T07:36:09.137516Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140122423749504",
"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": "bc5e5420c37207a5",
"trace_id": "8d980af129aa4328846e0baf9ea93135",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:36:00.441065Z",
"timestamp": "2026-05-28T07:36:09.308071Z",
"data": {
"thread.id": "140122423749504",
"thread.name": "MainThread"
}
},
{
"span_id": "8ac577a4bee88359",
"trace_id": "8d980af129aa4328846e0baf9ea93135",
"parent_span_id": "bc5e5420c37207a5",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953760.447867,
"timestamp": 1779953763.369791,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140122234287808",
"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. It’s the capital and largest city of France, located in the north-central part of the country along the Seine.",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 290,
"gen_ai.usage.total_tokens": 313,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "bc5e5420c37207a5",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a780c1f1ba247f2a",
"trace_id": "8d980af129aa4328846e0baf9ea93135",
"parent_span_id": "bc5e5420c37207a5",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953763.370534,
"timestamp": 1779953764.980252,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140122234287808",
"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\nIf you'd like a quick explanation or more practice with addition, I can help.",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 219,
"gen_ai.usage.total_tokens": 243,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "bc5e5420c37207a5",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9bb2407c7851321d",
"trace_id": "8d980af129aa4328846e0baf9ea93135",
"parent_span_id": "bc5e5420c37207a5",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953764.980893,
"timestamp": 1779953767.233143,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140122234287808",
"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": 336,
"gen_ai.usage.total_tokens": 380,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "bc5e5420c37207a5",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9514abc8ed5a2ea5",
"trace_id": "8d980af129aa4328846e0baf9ea93135",
"parent_span_id": "bc5e5420c37207a5",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953767.233852,
"timestamp": 1779953769.304214,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140122234287808",
"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 = 6.\n\nReason: adding two threes gives six. If you want, I can show a quick memory trick (double 3) or a number-line method.",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 368,
"gen_ai.usage.total_tokens": 418,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "bc5e5420c37207a5",
"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) 110978ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
91c6ef1egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
91c6ef1egen_ai.output.messagesMissing output messages attribute
94af9ceegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94af9ceegen_ai.output.messagesMissing output messages attribute
a3934e57gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a3934e57gen_ai.output.messagesMissing output messages attribute
934a9c3fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
934a9c3fgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "69c69cd2bc534e88bd6f9b3a1abe5436",
"span_id": "9a5bfe4da07bd3e2",
"parent_span_id": "91c6ef1e5f3381c4",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:01.006814Z",
"timestamp": "2026-05-28T07:36:01.013719Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20885
},
"data": {
"thread.id": "140437575689920",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "69c69cd2bc534e88bd6f9b3a1abe5436",
"span_id": "a884699c0447363d",
"parent_span_id": "91c6ef1e5f3381c4",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:01.013829Z",
"timestamp": "2026-05-28T07:36:01.013982Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20885
},
"data": {
"thread.id": "140437575689920",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "69c69cd2bc534e88bd6f9b3a1abe5436",
"span_id": "b4759fdd49c129e0",
"parent_span_id": "a884699c0447363d",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:01.013932Z",
"timestamp": "2026-05-28T07:36:01.013969Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20885
},
"data": {
"thread.id": "140437575689920",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "69c69cd2bc534e88bd6f9b3a1abe5436",
"span_id": "b39cddb01a277248",
"parent_span_id": "91c6ef1e5f3381c4",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:01.014020Z",
"timestamp": "2026-05-28T07:36:01.014035Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20885
},
"data": {
"thread.id": "140437575689920",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "69c69cd2bc534e88bd6f9b3a1abe5436",
"span_id": "90f2298e43a342ad",
"parent_span_id": "91c6ef1e5f3381c4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:01.015887Z",
"timestamp": "2026-05-28T07:36:01.529256Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140437689342848",
"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": "69c69cd2bc534e88bd6f9b3a1abe5436",
"span_id": "b0d56608608d042e",
"parent_span_id": "94af9cee21e2d177",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:01.602977Z",
"timestamp": "2026-05-28T07:36:02.064549Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140437689342848",
"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": "69c69cd2bc534e88bd6f9b3a1abe5436",
"span_id": "b6b85bac7ee19ea0",
"parent_span_id": "a3934e57321490f6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:02.649226Z",
"timestamp": "2026-05-28T07:36:03.243396Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140437689342848",
"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": "69c69cd2bc534e88bd6f9b3a1abe5436",
"span_id": "8679cfb9badb1a42",
"parent_span_id": "934a9c3f149a8008",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:03.305468Z",
"timestamp": "2026-05-28T07:36:03.842490Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140437689342848",
"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": "8231ec6af90d0b5b",
"trace_id": "69c69cd2bc534e88bd6f9b3a1abe5436",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:36:00.910789Z",
"timestamp": "2026-05-28T07:36:03.925128Z",
"data": {
"thread.id": "140437689342848",
"thread.name": "MainThread"
}
},
{
"span_id": "91c6ef1e5f3381c4",
"trace_id": "69c69cd2bc534e88bd6f9b3a1abe5436",
"parent_span_id": "8231ec6af90d0b5b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953760.919321,
"timestamp": 1779953761.597677,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140437575689920",
"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": 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": "8231ec6af90d0b5b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "94af9cee21e2d177",
"trace_id": "69c69cd2bc534e88bd6f9b3a1abe5436",
"parent_span_id": "8231ec6af90d0b5b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953761.60126,
"timestamp": 1779953762.646848,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140437575689920",
"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 one of the fundamental addition facts in math. You're adding two groups of 2, which gives you a total of 4.",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 44,
"gen_ai.usage.total_tokens": 67,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "8231ec6af90d0b5b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a3934e57321490f6",
"trace_id": "69c69cd2bc534e88bd6f9b3a1abe5436",
"parent_span_id": "8231ec6af90d0b5b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953762.647523,
"timestamp": 1779953763.300098,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140437575689920",
"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": "8231ec6af90d0b5b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "934a9c3f149a8008",
"trace_id": "69c69cd2bc534e88bd6f9b3a1abe5436",
"parent_span_id": "8231ec6af90d0b5b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953763.303755,
"timestamp": 1779953763.923763,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140437575689920",
"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": "8231ec6af90d0b5b",
"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) 116623ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
b2f98280gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b2f98280gen_ai.output.messagesMissing output messages attribute
9ff0bdefgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9ff0bdefgen_ai.output.messagesMissing output messages attribute
b7a411bagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7a411bagen_ai.output.messagesMissing output messages attribute
9b1ae396gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b1ae396gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "656f938d77c5407e8d02b3e36a471802",
"span_id": "a82c46b8fb428bd0",
"parent_span_id": "b2f982806457e528",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:01.319964Z",
"timestamp": "2026-05-28T07:36:01.321365Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20888
},
"data": {
"thread.id": "140397290415808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "656f938d77c5407e8d02b3e36a471802",
"span_id": "ab3f2a346ca298bd",
"parent_span_id": "b2f982806457e528",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:01.321451Z",
"timestamp": "2026-05-28T07:36:01.322420Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20888
},
"data": {
"thread.id": "140397290415808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "656f938d77c5407e8d02b3e36a471802",
"span_id": "a51dc31f7b8abc29",
"parent_span_id": "ab3f2a346ca298bd",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:01.322236Z",
"timestamp": "2026-05-28T07:36:01.322403Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20888
},
"data": {
"thread.id": "140397290415808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "656f938d77c5407e8d02b3e36a471802",
"span_id": "9c5475818ec6bfbc",
"parent_span_id": "b2f982806457e528",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:01.322460Z",
"timestamp": "2026-05-28T07:36:01.322476Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20888
},
"data": {
"thread.id": "140397290415808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "656f938d77c5407e8d02b3e36a471802",
"span_id": "a1580c30557993ef",
"parent_span_id": "b2f982806457e528",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:01.324034Z",
"timestamp": "2026-05-28T07:36:02.723974Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140397404470144",
"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": "656f938d77c5407e8d02b3e36a471802",
"span_id": "b5671fd93244fde6",
"parent_span_id": "9ff0bdef5a365a99",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:02.757970Z",
"timestamp": "2026-05-28T07:36:05.062818Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140397404470144",
"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": "656f938d77c5407e8d02b3e36a471802",
"span_id": "9a5d1ee9a1eb265e",
"parent_span_id": "b7a411ba46f2b833",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:05.068689Z",
"timestamp": "2026-05-28T07:36:06.747953Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140397404470144",
"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": "656f938d77c5407e8d02b3e36a471802",
"span_id": "9b4bc0b788683417",
"parent_span_id": "9b1ae3962928f83f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:06.760305Z",
"timestamp": "2026-05-28T07:36:09.719502Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140397404470144",
"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": "992f60fb8aaddcd2",
"trace_id": "656f938d77c5407e8d02b3e36a471802",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:36:01.310902Z",
"timestamp": "2026-05-28T07:36:09.732884Z",
"data": {
"thread.id": "140397404470144",
"thread.name": "MainThread"
}
},
{
"span_id": "b2f982806457e528",
"trace_id": "656f938d77c5407e8d02b3e36a471802",
"parent_span_id": "992f60fb8aaddcd2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953761.314566,
"timestamp": 1779953762.752168,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140397290415808",
"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": 203,
"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": "992f60fb8aaddcd2",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9ff0bdef5a365a99",
"trace_id": "656f938d77c5407e8d02b3e36a471802",
"parent_span_id": "992f60fb8aaddcd2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953762.752937,
"timestamp": 1779953765.065123,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140397290415808",
"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\nIf you’d like a quick check: 2 objects plus 2 objects makes 4 total (2 + 2 = 4).",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 359,
"gen_ai.usage.total_tokens": 383,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "992f60fb8aaddcd2",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b7a411ba46f2b833",
"trace_id": "656f938d77c5407e8d02b3e36a471802",
"parent_span_id": "992f60fb8aaddcd2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953765.06586,
"timestamp": 1779953766.753725,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140397290415808",
"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. If you want more details about Berlin or Germany, I can share them.",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 223,
"gen_ai.usage.total_tokens": 267,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "992f60fb8aaddcd2",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9b1ae3962928f83f",
"trace_id": "656f938d77c5407e8d02b3e36a471802",
"parent_span_id": "992f60fb8aaddcd2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953766.757287,
"timestamp": 1779953769.726073,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140397290415808",
"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 = 6.\n\nReason: adding the two threes gives six. Want to try a similar problem or see a quick method (like using a number line or doubling)?",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 239,
"gen_ai.usage.total_tokens": 289,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "992f60fb8aaddcd2",
"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 110889ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
96e68b1bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
96e68b1bgen_ai.output.messagesMissing output messages attribute
a14bccdcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a14bccdcgen_ai.output.messagesMissing output messages attribute
80f4a60bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
80f4a60bgen_ai.output.messagesMissing output messages attribute
af1e1157gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af1e1157gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
96e68b1bgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "0fa79d9cc1fd4c5ba94c011c30360dea",
"span_id": "b8244d4cd8c7873b",
"parent_span_id": "96e68b1be36d709e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:02.269250Z",
"timestamp": "2026-05-28T07:36:02.271520Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20891
},
"data": {
"thread.id": "140719905830592",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0fa79d9cc1fd4c5ba94c011c30360dea",
"span_id": "93e3c60825e8eab4",
"parent_span_id": "96e68b1be36d709e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:02.271633Z",
"timestamp": "2026-05-28T07:36:02.271772Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20891
},
"data": {
"thread.id": "140719905830592",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0fa79d9cc1fd4c5ba94c011c30360dea",
"span_id": "aa941824381ba52b",
"parent_span_id": "93e3c60825e8eab4",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:02.271725Z",
"timestamp": "2026-05-28T07:36:02.271759Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20891
},
"data": {
"thread.id": "140719905830592",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0fa79d9cc1fd4c5ba94c011c30360dea",
"span_id": "ab165fb6ac6e2e33",
"parent_span_id": "96e68b1be36d709e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:02.271808Z",
"timestamp": "2026-05-28T07:36:02.271827Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20891
},
"data": {
"thread.id": "140719905830592",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0fa79d9cc1fd4c5ba94c011c30360dea",
"span_id": "a9677243fe8a8ff6",
"parent_span_id": "96e68b1be36d709e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:02.273454Z",
"timestamp": "2026-05-28T07:36:02.850882Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140720094038912",
"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": "0fa79d9cc1fd4c5ba94c011c30360dea",
"span_id": "aaa76b9124a2e836",
"parent_span_id": "a14bccdc438efcd4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:02.889530Z",
"timestamp": "2026-05-28T07:36:03.737736Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140720094038912",
"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": "0fa79d9cc1fd4c5ba94c011c30360dea",
"span_id": "b9104ea96d67897c",
"parent_span_id": "80f4a60bcaf1f716",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:03.741524Z",
"timestamp": "2026-05-28T07:36:04.331015Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140720094038912",
"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": "0fa79d9cc1fd4c5ba94c011c30360dea",
"span_id": "a6ca612e2370306c",
"parent_span_id": "af1e1157a780341d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:04.342648Z",
"timestamp": "2026-05-28T07:36:05.056591Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140720094038912",
"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": "bb707413b0026b22",
"trace_id": "0fa79d9cc1fd4c5ba94c011c30360dea",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:36:02.225521Z",
"timestamp": "2026-05-28T07:36:05.058833Z",
"data": {
"thread.id": "140720094038912",
"thread.name": "MainThread"
}
},
{
"span_id": "96e68b1be36d709e",
"trace_id": "0fa79d9cc1fd4c5ba94c011c30360dea",
"parent_span_id": "bb707413b0026b22",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953762.230593,
"timestamp": 1779953762.886201,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140719905830592",
"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.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "bb707413b0026b22",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a14bccdc438efcd4",
"trace_id": "0fa79d9cc1fd4c5ba94c011c30360dea",
"parent_span_id": "bb707413b0026b22",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953762.887075,
"timestamp": 1779953763.739038,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140719905830592",
"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 one of the fundamental addition facts! Is there anything else you'd like help with?",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 34,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "bb707413b0026b22",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "80f4a60bcaf1f716",
"trace_id": "0fa79d9cc1fd4c5ba94c011c30360dea",
"parent_span_id": "bb707413b0026b22",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953763.739766,
"timestamp": 1779953764.334773,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140719889049280",
"thread.name": "asyncio_1",
"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": "bb707413b0026b22",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "af1e1157a780341d",
"trace_id": "0fa79d9cc1fd4c5ba94c011c30360dea",
"parent_span_id": "bb707413b0026b22",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953764.340738,
"timestamp": 1779953765.057742,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.langchain",
"thread.id": "140719889049280",
"thread.name": "asyncio_1",
"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": "bb707413b0026b22",
"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) 113514ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b52272d4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b52272d4gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "a3df4289159c4867b52e5432feef3a52",
"span_id": "8a683439080823b5",
"parent_span_id": "b52272d49c7c42e5",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:04.802068Z",
"timestamp": "2026-05-28T07:36:04.805810Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20903
},
"data": {
"thread.id": "139912476306304",
"thread.name": "MainThread"
}
},
{
"trace_id": "a3df4289159c4867b52e5432feef3a52",
"span_id": "9a4d60cfba6b1912",
"parent_span_id": "b52272d49c7c42e5",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:04.805909Z",
"timestamp": "2026-05-28T07:36:04.806038Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20903
},
"data": {
"thread.id": "139912476306304",
"thread.name": "MainThread"
}
},
{
"trace_id": "a3df4289159c4867b52e5432feef3a52",
"span_id": "a793098fdc66fa38",
"parent_span_id": "9a4d60cfba6b1912",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:04.805997Z",
"timestamp": "2026-05-28T07:36:04.806029Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20903
},
"data": {
"thread.id": "139912476306304",
"thread.name": "MainThread"
}
},
{
"trace_id": "a3df4289159c4867b52e5432feef3a52",
"span_id": "a82d69521c833c01",
"parent_span_id": "b52272d49c7c42e5",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:04.806069Z",
"timestamp": "2026-05-28T07:36:04.806082Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20903
},
"data": {
"thread.id": "139912476306304",
"thread.name": "MainThread"
}
},
{
"trace_id": "a3df4289159c4867b52e5432feef3a52",
"span_id": "99ec3df1476ed42d",
"parent_span_id": "b52272d49c7c42e5",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:04.807554Z",
"timestamp": "2026-05-28T07:36:06.700771Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139912476306304",
"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": "92ee617c7e63f5a3",
"trace_id": "a3df4289159c4867b52e5432feef3a52",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:04.760127Z",
"timestamp": "2026-05-28T07:36:07.171708Z",
"data": {
"thread.id": "139912476306304",
"thread.name": "MainThread"
}
},
{
"span_id": "b52272d49c7c42e5",
"trace_id": "a3df4289159c4867b52e5432feef3a52",
"parent_span_id": "92ee617c7e63f5a3",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953764.797171,
"timestamp": 1779953767.07012,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139912476306304",
"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": 267,
"gen_ai.usage.total_tokens": 290,
"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": "Basic LLM Test",
"sentry.segment.id": "92ee617c7e63f5a3",
"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) 110087ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
8c4b8cc5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c4b8cc5gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "0fd724dce87049b28fcd2c375aab4ae3",
"span_id": "b0ebab9976458a4e",
"parent_span_id": "8c4b8cc55d899dd6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:05.008708Z",
"timestamp": "2026-05-28T07:36:05.484649Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139656672246656",
"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": "b9b855f6859b0e9c",
"trace_id": "0fd724dce87049b28fcd2c375aab4ae3",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:04.769325Z",
"timestamp": "2026-05-28T07:36:05.670240Z",
"data": {
"thread.id": "139656672246656",
"thread.name": "MainThread"
}
},
{
"span_id": "8c4b8cc55d899dd6",
"trace_id": "0fd724dce87049b28fcd2c375aab4ae3",
"parent_span_id": "b9b855f6859b0e9c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953765.007223,
"timestamp": 1779953765.572823,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139656672246656",
"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": "b9b855f6859b0e9c",
"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 19747ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
a8d226fagen_ai.usage.input_tokensSpan a8d226fa: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a8d226fagen_ai.usage.output_tokensSpan a8d226fa: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
a8d226fagen_ai.usage.input_tokensinput_tokens must exist
a8d226fagen_ai.usage.output_tokensoutput_tokens must exist
a8d226fagen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "f05c9c68442247eeb5e91a48a0a2e4a2",
"span_id": "b6a234b9083a7165",
"parent_span_id": "a8d226fa90a6e7bb",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:05.649477Z",
"timestamp": "2026-05-28T07:36:05.864641Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140235588488064",
"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": "8f4f7d06f793bbb2",
"trace_id": "f05c9c68442247eeb5e91a48a0a2e4a2",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:05.625285Z",
"timestamp": "2026-05-28T07:36:08.260717Z",
"data": {
"thread.id": "140235588488064",
"thread.name": "MainThread"
}
},
{
"span_id": "a8d226fa90a6e7bb",
"trace_id": "f05c9c68442247eeb5e91a48a0a2e4a2",
"parent_span_id": "8f4f7d06f793bbb2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953765.648596,
"timestamp": 1779953768.14993,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140235588488064",
"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": "8f4f7d06f793bbb2",
"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) 17685ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
8e0d8d31gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8e0d8d31gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "a46f91d66ae249489f3a719dc851b700",
"span_id": "a4b6fe3ee5c62a2b",
"parent_span_id": "8e0d8d31989af175",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:06.406854Z",
"timestamp": "2026-05-28T07:36:06.878310Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140075762674560",
"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": "87ad8b8788bbe6aa",
"trace_id": "a46f91d66ae249489f3a719dc851b700",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:05.783409Z",
"timestamp": "2026-05-28T07:36:07.068981Z",
"data": {
"thread.id": "140075762674560",
"thread.name": "MainThread"
}
},
{
"span_id": "8e0d8d31989af175",
"trace_id": "a46f91d66ae249489f3a719dc851b700",
"parent_span_id": "87ad8b8788bbe6aa",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953766.405495,
"timestamp": 1779953766.948666,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140075762674560",
"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": "87ad8b8788bbe6aa",
"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) 111322ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
aa062f0cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aa062f0cgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "95cd38789ad64c24ada632953fa84835",
"span_id": "a5d5f9429c416206",
"parent_span_id": "aa062f0cda624d40",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:11.280561Z",
"timestamp": "2026-05-28T07:36:11.287735Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20952
},
"data": {
"thread.id": "140379203652480",
"thread.name": "MainThread"
}
},
{
"trace_id": "95cd38789ad64c24ada632953fa84835",
"span_id": "838a89f9fe7193f1",
"parent_span_id": "aa062f0cda624d40",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:11.287841Z",
"timestamp": "2026-05-28T07:36:11.287989Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20952
},
"data": {
"thread.id": "140379203652480",
"thread.name": "MainThread"
}
},
{
"trace_id": "95cd38789ad64c24ada632953fa84835",
"span_id": "833940077c2c9e29",
"parent_span_id": "838a89f9fe7193f1",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:11.287939Z",
"timestamp": "2026-05-28T07:36:11.287978Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20952
},
"data": {
"thread.id": "140379203652480",
"thread.name": "MainThread"
}
},
{
"trace_id": "95cd38789ad64c24ada632953fa84835",
"span_id": "9913b1da5006f057",
"parent_span_id": "aa062f0cda624d40",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:11.288026Z",
"timestamp": "2026-05-28T07:36:11.288041Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20952
},
"data": {
"thread.id": "140379203652480",
"thread.name": "MainThread"
}
},
{
"trace_id": "95cd38789ad64c24ada632953fa84835",
"span_id": "8b4918e1fca70304",
"parent_span_id": "aa062f0cda624d40",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:11.289736Z",
"timestamp": "2026-05-28T07:36:12.388245Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140379203652480",
"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": "8a8f356ac0df51a3",
"trace_id": "95cd38789ad64c24ada632953fa84835",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:11.219695Z",
"timestamp": "2026-05-28T07:36:12.617699Z",
"data": {
"thread.id": "140379203652480",
"thread.name": "MainThread"
}
},
{
"span_id": "aa062f0cda624d40",
"trace_id": "95cd38789ad64c24ada632953fa84835",
"parent_span_id": "8a8f356ac0df51a3",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953771.263369,
"timestamp": 1779953772.515241,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140379203652480",
"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": "8a8f356ac0df51a3",
"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) 116650ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
a1be7b69gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a1be7b69gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "ce936aa61f7a4fb28536f9a7d7359c77",
"span_id": "862b7263e9695b6b",
"parent_span_id": "a1be7b6903c1fd22",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:16.514663Z",
"timestamp": "2026-05-28T07:36:19.002694Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140195966716800",
"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": "82294db96735a957",
"trace_id": "ce936aa61f7a4fb28536f9a7d7359c77",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:15.765534Z",
"timestamp": "2026-05-28T07:36:19.124472Z",
"data": {
"thread.id": "140195966716800",
"thread.name": "MainThread"
}
},
{
"span_id": "a1be7b6903c1fd22",
"trace_id": "ce936aa61f7a4fb28536f9a7d7359c77",
"parent_span_id": "82294db96735a957",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953776.508097,
"timestamp": 1779953779.023732,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140195966716800",
"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 is the largest city in France and has been the country's capital since the 12th century. Paris is located in the north-central part of France 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\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
"gen_ai.usage.input_tokens": 20,
"gen_ai.usage.output_tokens": 73,
"gen_ai.usage.total_tokens": 93,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "82294db96735a957",
"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) 113009ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
9edf5e30gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "61b0f383da024667b971ad030f605970",
"span_id": "b6599f8df9772450",
"parent_span_id": "9edf5e300ad21ae4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:14.306190Z",
"timestamp": "2026-05-28T07:36:15.569167Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139988609006464",
"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": "9496a3f9fadea4d2",
"trace_id": "61b0f383da024667b971ad030f605970",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:14.271210Z",
"timestamp": "2026-05-28T07:36:15.711133Z",
"data": {
"thread.id": "139988609006464",
"thread.name": "MainThread"
}
},
{
"span_id": "9edf5e300ad21ae4",
"trace_id": "61b0f383da024667b971ad030f605970",
"parent_span_id": "9496a3f9fadea4d2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953774.302732,
"timestamp": 1779953775.610058,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139988609006464",
"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": 126,
"gen_ai.usage.total_tokens": 149,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "9496a3f9fadea4d2",
"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) 115166ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
a45cb40agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a45cb40agen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "10a5cd0c62f84ac4840b1640ed00f7fb",
"span_id": "a5c53458970a9cc4",
"parent_span_id": "a45cb40af1776b4c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:18.054545Z",
"timestamp": "2026-05-28T07:36:18.607196Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140306931567488",
"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": "b9fd450bf4d026c2",
"trace_id": "10a5cd0c62f84ac4840b1640ed00f7fb",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:17.433721Z",
"timestamp": "2026-05-28T07:36:18.729700Z",
"data": {
"thread.id": "140306931567488",
"thread.name": "MainThread"
}
},
{
"span_id": "a45cb40af1776b4c",
"trace_id": "10a5cd0c62f84ac4840b1640ed00f7fb",
"parent_span_id": "b9fd450bf4d026c2",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953778.053062,
"timestamp": 1779953778.622999,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140306931567488",
"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": "b9fd450bf4d026c2",
"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) 116326ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b4c34d55gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b4c34d55gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "22ca739de90548ee9a19e53b28ce4f15",
"span_id": "ae5d5ccf42dc5b61",
"parent_span_id": "b4c34d55972dae27",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:18.263322Z",
"timestamp": "2026-05-28T07:36:18.265633Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20975
},
"data": {
"thread.id": "140211872425664",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "22ca739de90548ee9a19e53b28ce4f15",
"span_id": "b588ed37bcaea456",
"parent_span_id": "b4c34d55972dae27",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:18.265734Z",
"timestamp": "2026-05-28T07:36:18.265872Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20975
},
"data": {
"thread.id": "140211872425664",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "22ca739de90548ee9a19e53b28ce4f15",
"span_id": "b0392a48134333a5",
"parent_span_id": "b588ed37bcaea456",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:18.265828Z",
"timestamp": "2026-05-28T07:36:18.265861Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20975
},
"data": {
"thread.id": "140211872425664",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "22ca739de90548ee9a19e53b28ce4f15",
"span_id": "8f025b37aa91fab2",
"parent_span_id": "b4c34d55972dae27",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:18.265908Z",
"timestamp": "2026-05-28T07:36:18.265924Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 20975
},
"data": {
"thread.id": "140211872425664",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "22ca739de90548ee9a19e53b28ce4f15",
"span_id": "9a2692fb2d56f2c7",
"parent_span_id": "b4c34d55972dae27",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:18.268754Z",
"timestamp": "2026-05-28T07:36:19.779886Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140212027448192",
"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": "22ca739de90548ee9a19e53b28ce4f15",
"span_id": "a688930b5cc765c0",
"parent_span_id": "9a2692fb2d56f2c7",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:18.269643Z",
"timestamp": "2026-05-28T07:36:19.777375Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140212027448192",
"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": "b4c8723c67187ad4",
"trace_id": "22ca739de90548ee9a19e53b28ce4f15",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:18.210086Z",
"timestamp": "2026-05-28T07:36:20.953980Z",
"data": {
"thread.id": "140212027448192",
"thread.name": "MainThread"
}
},
{
"span_id": "b4c34d55972dae27",
"trace_id": "22ca739de90548ee9a19e53b28ce4f15",
"parent_span_id": "b4c8723c67187ad4",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953778.25198,
"timestamp": 1779953780.845315,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140212027448192",
"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": 139,
"gen_ai.usage.total_tokens": 162,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "b4c8723c67187ad4",
"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) 114533ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
bac7cd3cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bac7cd3cgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "e53593f2c2754431973b7ac59570f24b",
"span_id": "bd9d66d244ef4061",
"parent_span_id": "bac7cd3cbd9d58f2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:18.798158Z",
"timestamp": "2026-05-28T07:36:19.303630Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139773808466816",
"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": "e53593f2c2754431973b7ac59570f24b",
"span_id": "81c6d4a196f7c70a",
"parent_span_id": "bd9d66d244ef4061",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:18.799092Z",
"timestamp": "2026-05-28T07:36:19.302270Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139773808466816",
"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": "ae11e172fbdedfbe",
"trace_id": "e53593f2c2754431973b7ac59570f24b",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:18.004030Z",
"timestamp": "2026-05-28T07:36:19.526109Z",
"data": {
"thread.id": "139773808466816",
"thread.name": "MainThread"
}
},
{
"span_id": "bac7cd3cbd9d58f2",
"trace_id": "e53593f2c2754431973b7ac59570f24b",
"parent_span_id": "ae11e172fbdedfbe",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953778.796648,
"timestamp": 1779953779.416707,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139773652592320",
"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": "ae11e172fbdedfbe",
"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 116558ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
bd6d5b7dgen_ai.usage.input_tokensSpan bd6d5b7d: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
bd6d5b7dgen_ai.usage.output_tokensSpan bd6d5b7d: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
bd6d5b7dgen_ai.usage.input_tokensinput_tokens must exist
bd6d5b7dgen_ai.usage.output_tokensoutput_tokens must exist
bd6d5b7dgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "67f35e56eed047cea144633f61224e63",
"span_id": "917df7267339b9b1",
"parent_span_id": "bd6d5b7d5f29dc9c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:20.654320Z",
"timestamp": "2026-05-28T07:36:20.920303Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140069695183744",
"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": "67f35e56eed047cea144633f61224e63",
"span_id": "b517b2ac7b92bada",
"parent_span_id": "917df7267339b9b1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:20.655229Z",
"timestamp": "2026-05-28T07:36:20.917085Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140069695183744",
"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": "bc2a16497152bfee",
"trace_id": "67f35e56eed047cea144633f61224e63",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:19.903412Z",
"timestamp": "2026-05-28T07:36:22.546035Z",
"data": {
"thread.id": "140069695183744",
"thread.name": "MainThread"
}
},
{
"span_id": "bd6d5b7d5f29dc9c",
"trace_id": "67f35e56eed047cea144633f61224e63",
"parent_span_id": "bc2a16497152bfee",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953780.653306,
"timestamp": 1779953782.436472,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140069695183744",
"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": "bc2a16497152bfee",
"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) 114735ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b3660c83gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b3660c83gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "587720aa013f4594873c833602c207fc",
"span_id": "a4c138d7eb4d4948",
"parent_span_id": "b3660c834e376cb4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:21.069470Z",
"timestamp": "2026-05-28T07:36:21.542516Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140328393436032",
"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": "587720aa013f4594873c833602c207fc",
"span_id": "9a51ed1e2c2dde24",
"parent_span_id": "a4c138d7eb4d4948",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:21.070509Z",
"timestamp": "2026-05-28T07:36:21.541273Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140328393436032",
"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": "ac60c693e83d0ecc",
"trace_id": "587720aa013f4594873c833602c207fc",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:20.376880Z",
"timestamp": "2026-05-28T07:36:21.729033Z",
"data": {
"thread.id": "140328393436032",
"thread.name": "MainThread"
}
},
{
"span_id": "b3660c834e376cb4",
"trace_id": "587720aa013f4594873c833602c207fc",
"parent_span_id": "ac60c693e83d0ecc",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953781.068213,
"timestamp": 1779953781.624582,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140328238147264",
"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 LLM Test",
"sentry.segment.id": "ac60c693e83d0ecc",
"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) 114356ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b34440c8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b34440c8gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "5fb11ab59f0142e7a9595476345fb866",
"span_id": "b7532522f754499f",
"parent_span_id": "b34440c89684c366",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:21.134862Z",
"timestamp": "2026-05-28T07:36:21.136112Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21003
},
"data": {
"thread.id": "139974576531136",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5fb11ab59f0142e7a9595476345fb866",
"span_id": "ab6bd69d880eede5",
"parent_span_id": "b34440c89684c366",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:21.136201Z",
"timestamp": "2026-05-28T07:36:21.137126Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21003
},
"data": {
"thread.id": "139974576531136",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5fb11ab59f0142e7a9595476345fb866",
"span_id": "803885ff4681108d",
"parent_span_id": "ab6bd69d880eede5",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:21.137067Z",
"timestamp": "2026-05-28T07:36:21.137111Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21003
},
"data": {
"thread.id": "139974576531136",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5fb11ab59f0142e7a9595476345fb866",
"span_id": "97d1eed7240476c8",
"parent_span_id": "b34440c89684c366",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:21.137164Z",
"timestamp": "2026-05-28T07:36:21.137179Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21003
},
"data": {
"thread.id": "139974576531136",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5fb11ab59f0142e7a9595476345fb866",
"span_id": "8023271f5d00b3e1",
"parent_span_id": "b34440c89684c366",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:21.142645Z",
"timestamp": "2026-05-28T07:36:22.216949Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139974732028800",
"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": "5fb11ab59f0142e7a9595476345fb866",
"span_id": "91953c72d31fb078",
"parent_span_id": "8023271f5d00b3e1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:21.143418Z",
"timestamp": "2026-05-28T07:36:22.215397Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139974732028800",
"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": "84b7aab3b3fdb8ab",
"trace_id": "5fb11ab59f0142e7a9595476345fb866",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:21.075112Z",
"timestamp": "2026-05-28T07:36:22.421920Z",
"data": {
"thread.id": "139974732028800",
"thread.name": "MainThread"
}
},
{
"span_id": "b34440c89684c366",
"trace_id": "5fb11ab59f0142e7a9595476345fb866",
"parent_span_id": "84b7aab3b3fdb8ab",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953781.125126,
"timestamp": 1779953782.311403,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139974732028800",
"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": "84b7aab3b3fdb8ab",
"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) 114119ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b23744aegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b23744aegen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "469b631c76d34209b2c6e26cfe60dda5",
"span_id": "b91e15874030b024",
"parent_span_id": "b23744aed1194de9",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:21.221686Z",
"timestamp": "2026-05-28T07:36:21.791929Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139710159657856",
"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": "469b631c76d34209b2c6e26cfe60dda5",
"span_id": "a1fc5284db79cc1a",
"parent_span_id": "b91e15874030b024",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:21.222582Z",
"timestamp": "2026-05-28T07:36:21.785147Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139710159657856",
"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": "8cd7ade83aeb6825",
"trace_id": "469b631c76d34209b2c6e26cfe60dda5",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:20.581918Z",
"timestamp": "2026-05-28T07:36:21.958057Z",
"data": {
"thread.id": "139710159657856",
"thread.name": "MainThread"
}
},
{
"span_id": "b23744aed1194de9",
"trace_id": "469b631c76d34209b2c6e26cfe60dda5",
"parent_span_id": "8cd7ade83aeb6825",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953781.219091,
"timestamp": 1779953781.848231,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139710005077696",
"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": "8cd7ade83aeb6825",
"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) 113922ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
8495122egen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "5b2a2ef4fb684d7599ee3374dc716d8c",
"span_id": "86c36ad5ec984ee2",
"parent_span_id": "8495122e0a2e4a7f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:22.056549Z",
"timestamp": "2026-05-28T07:36:23.480785Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140689999260544",
"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": "5b2a2ef4fb684d7599ee3374dc716d8c",
"span_id": "b08461c481bddd28",
"parent_span_id": "86c36ad5ec984ee2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:22.057506Z",
"timestamp": "2026-05-28T07:36:23.479352Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140689999260544",
"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": "a8cd28fb4e07a4c5",
"trace_id": "5b2a2ef4fb684d7599ee3374dc716d8c",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:22.015903Z",
"timestamp": "2026-05-28T07:36:23.672893Z",
"data": {
"thread.id": "140689999260544",
"thread.name": "MainThread"
}
},
{
"span_id": "8495122e0a2e4a7f",
"trace_id": "5b2a2ef4fb684d7599ee3374dc716d8c",
"parent_span_id": "a8cd28fb4e07a4c5",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953782.055667,
"timestamp": 1779953783.562944,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140689999260544",
"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": 198,
"gen_ai.usage.total_tokens": 221,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "a8cd28fb4e07a4c5",
"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) 116856ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
a8c11c5egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8c11c5egen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "9a9e4c48388b4b7885eb469a9a712b4f",
"span_id": "9cfe7ba9b232a669",
"parent_span_id": "a8c11c5ecb22edc8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:24.415152Z",
"timestamp": "2026-05-28T07:36:25.148047Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139693816458112",
"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": "9a9e4c48388b4b7885eb469a9a712b4f",
"span_id": "89340ed67325206f",
"parent_span_id": "9cfe7ba9b232a669",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:24.416130Z",
"timestamp": "2026-05-28T07:36:25.146359Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139693816458112",
"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": "9a48f358b218f40b",
"trace_id": "9a9e4c48388b4b7885eb469a9a712b4f",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:36:23.472543Z",
"timestamp": "2026-05-28T07:36:25.337951Z",
"data": {
"thread.id": "139693816458112",
"thread.name": "MainThread"
}
},
{
"span_id": "a8c11c5ecb22edc8",
"trace_id": "9a9e4c48388b4b7885eb469a9a712b4f",
"parent_span_id": "9a48f358b218f40b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953784.407611,
"timestamp": 1779953785.236384,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139693661972160",
"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.\", \"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": 36,
"gen_ai.usage.total_tokens": 56,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "9a48f358b218f40b",
"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) 130203ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
ac08bfabgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac08bfabgen_ai.output.messagesMissing output messages attribute
9efd1a5bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9efd1a5bgen_ai.output.messagesMissing output messages attribute
928987cagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
928987cagen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "60a75322469e4d73a0e4aca7beffb298",
"span_id": "92b645e900450738",
"parent_span_id": "ac08bfabdb065651",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:26.949660Z",
"timestamp": "2026-05-28T07:36:26.954728Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21051
},
"data": {
"thread.id": "140063499987840",
"thread.name": "MainThread"
}
},
{
"trace_id": "60a75322469e4d73a0e4aca7beffb298",
"span_id": "8e29fabe4f32487a",
"parent_span_id": "ac08bfabdb065651",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:26.954827Z",
"timestamp": "2026-05-28T07:36:26.954971Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21051
},
"data": {
"thread.id": "140063499987840",
"thread.name": "MainThread"
}
},
{
"trace_id": "60a75322469e4d73a0e4aca7beffb298",
"span_id": "a3acfc2bcf7e3328",
"parent_span_id": "8e29fabe4f32487a",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:26.954923Z",
"timestamp": "2026-05-28T07:36:26.954960Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21051
},
"data": {
"thread.id": "140063499987840",
"thread.name": "MainThread"
}
},
{
"trace_id": "60a75322469e4d73a0e4aca7beffb298",
"span_id": "8c5905890d6e25f1",
"parent_span_id": "ac08bfabdb065651",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:26.955007Z",
"timestamp": "2026-05-28T07:36:26.955022Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21051
},
"data": {
"thread.id": "140063499987840",
"thread.name": "MainThread"
}
},
{
"trace_id": "60a75322469e4d73a0e4aca7beffb298",
"span_id": "a201768a63a48457",
"parent_span_id": "ac08bfabdb065651",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:26.956609Z",
"timestamp": "2026-05-28T07:36:28.351811Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140063499987840",
"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": "60a75322469e4d73a0e4aca7beffb298",
"span_id": "97308c581a3737b4",
"parent_span_id": "9efd1a5b719f9b7e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:29.595755Z",
"timestamp": "2026-05-28T07:36:35.212153Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140063499987840",
"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": "60a75322469e4d73a0e4aca7beffb298",
"span_id": "93f82111bf585917",
"parent_span_id": "928987ca42ce7da1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:35.717977Z",
"timestamp": "2026-05-28T07:36:44.054098Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140063499987840",
"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": "a7fbdadf57d89002",
"trace_id": "60a75322469e4d73a0e4aca7beffb298",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:26.870301Z",
"timestamp": "2026-05-28T07:36:44.598861Z",
"data": {
"thread.id": "140063499987840",
"thread.name": "MainThread"
}
},
{
"span_id": "ac08bfabdb065651",
"trace_id": "60a75322469e4d73a0e4aca7beffb298",
"parent_span_id": "a7fbdadf57d89002",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953786.932364,
"timestamp": 1779953789.477057,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140063499987840",
"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\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "a7fbdadf57d89002",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9efd1a5b719f9b7e",
"trace_id": "60a75322469e4d73a0e4aca7beffb298",
"parent_span_id": "a7fbdadf57d89002",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953789.583645,
"timestamp": 1779953795.606432,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140063499987840",
"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": 1099,
"gen_ai.usage.total_tokens": 1147,
"gen_ai.response.text": "{\"content\": \"- Paris (city proper): about 2.1 million residents (latest estimates in the 2020s).\\n- Paris metropolitan area (\\u00cele-de-France): about 12\\u201313 million people.\\n\\nIf you want an exact figure, tell me whether you mean the city proper or the metro area and the year you want.\", \"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": "a7fbdadf57d89002",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "928987ca42ce7da1",
"trace_id": "60a75322469e4d73a0e4aca7beffb298",
"parent_span_id": "a7fbdadf57d89002",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953795.708706,
"timestamp": 1779953804.499218,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140063499987840",
"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": 1713,
"gen_ai.usage.total_tokens": 1794,
"gen_ai.response.text": "{\"content\": \"The term \\u201cmetropolitan area\\u201d can mean different things. Here are the main definitions for Paris:\\n\\n- Paris urban area (aire urbaine): about 12 million people.\\n- \\u00cele-de-France region (the wider metro region around Paris): about 12.3 million people.\\n- M\\u00e9tropole du Grand Paris (the intercommunal structure around Paris): about 7\\u20137.5 million people.\\n\\nIf you tell me which definition you want (and the year), I can give exact figures with sources.\", \"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": "a7fbdadf57d89002",
"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) 114681ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
914667ddgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
914667ddgen_ai.output.messagesMissing output messages attribute
ad1488c7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad1488c7gen_ai.output.messagesMissing output messages attribute
a5358c46gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a5358c46gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "d934c2768a834b5eaf6d0ef3f666e319",
"span_id": "81c10f81b478d031",
"parent_span_id": "914667dd91b557e1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:28.518033Z",
"timestamp": "2026-05-28T07:36:29.015781Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140110403246976",
"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": "d934c2768a834b5eaf6d0ef3f666e319",
"span_id": "9df8336cb263d7d5",
"parent_span_id": "ad1488c74218db85",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:29.343209Z",
"timestamp": "2026-05-28T07:36:30.153760Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140110403246976",
"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": "d934c2768a834b5eaf6d0ef3f666e319",
"span_id": "ab99f26d7a44f539",
"parent_span_id": "a5358c462d6049aa",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:30.956556Z",
"timestamp": "2026-05-28T07:36:31.439804Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140110403246976",
"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": "956f167540d4a3e6",
"trace_id": "d934c2768a834b5eaf6d0ef3f666e319",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:27.866503Z",
"timestamp": "2026-05-28T07:36:31.807690Z",
"data": {
"thread.id": "140110403246976",
"thread.name": "MainThread"
}
},
{
"span_id": "914667dd91b557e1",
"trace_id": "d934c2768a834b5eaf6d0ef3f666e319",
"parent_span_id": "956f167540d4a3e6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953788.51046,
"timestamp": 1779953789.238698,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140110403246976",
"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": 34,
"gen_ai.usage.total_tokens": 54,
"gen_ai.response.text": "{\"content\": \"The capital of France is **Paris**. It is also the largest city in France and serves as the country's political, cultural, and economic center.\", \"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": "956f167540d4a3e6",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ad1488c74218db85",
"trace_id": "d934c2768a834b5eaf6d0ef3f666e319",
"parent_span_id": "956f167540d4a3e6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953789.342381,
"timestamp": 1779953790.847043,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140110403246976",
"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": 75,
"gen_ai.usage.total_tokens": 116,
"gen_ai.response.text": "{\"content\": \"The population of Paris is approximately 2.1 to 2.2 million people within the city proper. However, if you include the greater Paris metropolitan area (\\u00cele-de-France region), the population is much larger\\u2014around 12 million people. The exact figures can vary slightly depending on the source and how boundaries are defined.\", \"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": "956f167540d4a3e6",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a5358c462d6049aa",
"trace_id": "d934c2768a834b5eaf6d0ef3f666e319",
"parent_span_id": "956f167540d4a3e6",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953790.955639,
"timestamp": 1779953791.71029,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140110403246976",
"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": "956f167540d4a3e6",
"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 133105ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
908820d6gen_ai.usage.input_tokensSpan 908820d6: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
908820d6gen_ai.usage.output_tokensSpan 908820d6: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
98d8bd7fgen_ai.usage.input_tokensSpan 98d8bd7f: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
98d8bd7fgen_ai.usage.output_tokensSpan 98d8bd7f: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b080ae26gen_ai.usage.input_tokensSpan b080ae26: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b080ae26gen_ai.usage.output_tokensSpan b080ae26: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
908820d6gen_ai.usage.input_tokensinput_tokens must exist
908820d6gen_ai.usage.output_tokensoutput_tokens must exist
908820d6gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "46a52530d004408283b134272c35c4cf",
"span_id": "87c078f709c6224a",
"parent_span_id": "908820d64968c844",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:32.325917Z",
"timestamp": "2026-05-28T07:36:32.611018Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140071159413632",
"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": "46a52530d004408283b134272c35c4cf",
"span_id": "aa638165d582d926",
"parent_span_id": "98d8bd7f2f612709",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:34.030221Z",
"timestamp": "2026-05-28T07:36:34.233262Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140071159413632",
"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": "46a52530d004408283b134272c35c4cf",
"span_id": "83db3846fb9cdbc6",
"parent_span_id": "b080ae26c38499b6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:44.057362Z",
"timestamp": "2026-05-28T07:36:44.215797Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140071159413632",
"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": "bde10b50cd3a87bb",
"trace_id": "46a52530d004408283b134272c35c4cf",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:32.283993Z",
"timestamp": "2026-05-28T07:36:52.530909Z",
"data": {
"thread.id": "140071159413632",
"thread.name": "MainThread"
}
},
{
"span_id": "908820d64968c844",
"trace_id": "46a52530d004408283b134272c35c4cf",
"parent_span_id": "bde10b50cd3a87bb",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953792.318791,
"timestamp": 1779953793.920221,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140071159413632",
"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": "bde10b50cd3a87bb",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "98d8bd7f2f612709",
"trace_id": "46a52530d004408283b134272c35c4cf",
"parent_span_id": "bde10b50cd3a87bb",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953794.029434,
"timestamp": 1779953803.954098,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140071159413632",
"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": "bde10b50cd3a87bb",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b080ae26c38499b6",
"trace_id": "46a52530d004408283b134272c35c4cf",
"parent_span_id": "bde10b50cd3a87bb",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953804.05688,
"timestamp": 1779953812.426031,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140071159413632",
"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": "bde10b50cd3a87bb",
"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) 114574ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
8580ec74gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8580ec74gen_ai.output.messagesMissing output messages attribute
a31d053egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a31d053egen_ai.output.messagesMissing output messages attribute
9093b8cdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9093b8cdgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "6032184c575b4390b83e998d027f6c5b",
"span_id": "8d60119b39f978b3",
"parent_span_id": "8580ec7447e35f7d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:31.726734Z",
"timestamp": "2026-05-28T07:36:32.550751Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140672242576256",
"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": "6032184c575b4390b83e998d027f6c5b",
"span_id": "a14543641c6037c7",
"parent_span_id": "a31d053e3133a126",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:32.770937Z",
"timestamp": "2026-05-28T07:36:33.222332Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140672242576256",
"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": "6032184c575b4390b83e998d027f6c5b",
"span_id": "90495dfda43a1e6d",
"parent_span_id": "9093b8cde9d83986",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:34.099794Z",
"timestamp": "2026-05-28T07:36:34.645286Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140672242576256",
"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": "be916da3fe51dff5",
"trace_id": "6032184c575b4390b83e998d027f6c5b",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:31.249051Z",
"timestamp": "2026-05-28T07:36:35.038724Z",
"data": {
"thread.id": "140672242576256",
"thread.name": "MainThread"
}
},
{
"span_id": "8580ec7447e35f7d",
"trace_id": "6032184c575b4390b83e998d027f6c5b",
"parent_span_id": "be916da3fe51dff5",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953791.725245,
"timestamp": 1779953792.636746,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140672242576256",
"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": "be916da3fe51dff5",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a31d053e3133a126",
"trace_id": "6032184c575b4390b83e998d027f6c5b",
"parent_span_id": "be916da3fe51dff5",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953792.769099,
"timestamp": 1779953793.976855,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140672242576256",
"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": 84,
"gen_ai.usage.total_tokens": 125,
"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- **Greater Paris (\\u00cele-de-France region)**: approximately 12 million people\\n\\nThe city proper figure is based on the administrative boundaries of Paris itself, while the greater metropolitan area includes surrounding suburbs and cities.\", \"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": "be916da3fe51dff5",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9093b8cde9d83986",
"trace_id": "6032184c575b4390b83e998d027f6c5b",
"parent_span_id": "be916da3fe51dff5",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953794.095944,
"timestamp": 1779953794.91289,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140672242576256",
"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": 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": "be916da3fe51dff5",
"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) 129303ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
8f13399fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f13399fgen_ai.output.messagesMissing output messages attribute
b141f064gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b141f064gen_ai.output.messagesMissing output messages attribute
85e402c8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
85e402c8gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "79592003d9c1466391e461f727d72650",
"span_id": "b6169105dee14bbb",
"parent_span_id": "8f13399fe1d41ccd",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:31.619743Z",
"timestamp": "2026-05-28T07:36:31.623724Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21066
},
"data": {
"thread.id": "140468680231808",
"thread.name": "MainThread"
}
},
{
"trace_id": "79592003d9c1466391e461f727d72650",
"span_id": "9a01f55ca93f715e",
"parent_span_id": "8f13399fe1d41ccd",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:31.623819Z",
"timestamp": "2026-05-28T07:36:31.623963Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21066
},
"data": {
"thread.id": "140468680231808",
"thread.name": "MainThread"
}
},
{
"trace_id": "79592003d9c1466391e461f727d72650",
"span_id": "9b654ca973f4ce3d",
"parent_span_id": "9a01f55ca93f715e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:31.623914Z",
"timestamp": "2026-05-28T07:36:31.623952Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21066
},
"data": {
"thread.id": "140468680231808",
"thread.name": "MainThread"
}
},
{
"trace_id": "79592003d9c1466391e461f727d72650",
"span_id": "876840741c0faca7",
"parent_span_id": "8f13399fe1d41ccd",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:31.624000Z",
"timestamp": "2026-05-28T07:36:31.624015Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21066
},
"data": {
"thread.id": "140468680231808",
"thread.name": "MainThread"
}
},
{
"trace_id": "79592003d9c1466391e461f727d72650",
"span_id": "bc18875136562f1f",
"parent_span_id": "8f13399fe1d41ccd",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:31.625739Z",
"timestamp": "2026-05-28T07:36:32.804285Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140468680231808",
"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": "79592003d9c1466391e461f727d72650",
"span_id": "997a97e4f52ab22c",
"parent_span_id": "b141f06417f849e5",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:32.999275Z",
"timestamp": "2026-05-28T07:36:41.643765Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140468680231808",
"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": "79592003d9c1466391e461f727d72650",
"span_id": "bcbc136440449598",
"parent_span_id": "85e402c8687b35aa",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:41.751452Z",
"timestamp": "2026-05-28T07:36:49.396717Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140468680231808",
"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": "969c138e89524f9d",
"trace_id": "79592003d9c1466391e461f727d72650",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:31.571232Z",
"timestamp": "2026-05-28T07:36:49.501965Z",
"data": {
"thread.id": "140468680231808",
"thread.name": "MainThread"
}
},
{
"span_id": "8f13399fe1d41ccd",
"trace_id": "79592003d9c1466391e461f727d72650",
"parent_span_id": "969c138e89524f9d",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953791.608358,
"timestamp": 1779953792.887265,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140468680231808",
"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": "969c138e89524f9d",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b141f06417f849e5",
"trace_id": "79592003d9c1466391e461f727d72650",
"parent_span_id": "969c138e89524f9d",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953792.993153,
"timestamp": 1779953801.646463,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140468680231808",
"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) is home to roughly 12 million people.\\n\\nNote: exact numbers depend on the definition (city proper vs. urban area vs. metropolitan area) and the year of the estimate. If you tell me which definition and year you want, I can give a precise figure.\", \"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": 1817,
"gen_ai.usage.total_tokens": 1865,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "969c138e89524f9d",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "85e402c8687b35aa",
"trace_id": "79592003d9c1466391e461f727d72650",
"parent_span_id": "969c138e89524f9d",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953801.747966,
"timestamp": 1779953809.403051,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140468680231808",
"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\": \"Do you mean:\\n- the Paris urban area (aire urbaine) or\\n- the \\u00cele-de-France region (the wider Paris region including suburbs)?\\n\\nApproximate figures:\\n- Paris urban area: about 12 million people.\\n- \\u00cele-de-France region: about 12 to 13 million people (roughly 12.3\\u201312.5 million in recent estimates).\\n\\nIf you specify a year or source, I can give exact numbers.\", \"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": 1445,
"gen_ai.usage.total_tokens": 1526,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "969c138e89524f9d",
"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) 116358ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
936fdb10gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
936fdb10gen_ai.output.messagesMissing output messages attribute
aaee9e1bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aaee9e1bgen_ai.output.messagesMissing output messages attribute
b5e3d538gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b5e3d538gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "f3d45e293e3048928e267aa56038e945",
"span_id": "ab659a6fb3b9355e",
"parent_span_id": "936fdb10860a8129",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:35.045209Z",
"timestamp": "2026-05-28T07:36:35.596103Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139926568840064",
"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": "f3d45e293e3048928e267aa56038e945",
"span_id": "a3423b901475829a",
"parent_span_id": "aaee9e1b314a0b9b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:35.711391Z",
"timestamp": "2026-05-28T07:36:37.321603Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139926568840064",
"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": "f3d45e293e3048928e267aa56038e945",
"span_id": "9e4e1b29f57d3d85",
"parent_span_id": "b5e3d538d1d278d8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:37.425800Z",
"timestamp": "2026-05-28T07:36:38.251725Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139926568840064",
"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": "9297353621d2b4f1",
"trace_id": "f3d45e293e3048928e267aa56038e945",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:34.693465Z",
"timestamp": "2026-05-28T07:36:38.353357Z",
"data": {
"thread.id": "139926568840064",
"thread.name": "MainThread"
}
},
{
"span_id": "936fdb10860a8129",
"trace_id": "f3d45e293e3048928e267aa56038e945",
"parent_span_id": "9297353621d2b4f1",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953795.043719,
"timestamp": 1779953795.608323,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139926568840064",
"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": "9297353621d2b4f1",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "aaee9e1b314a0b9b",
"trace_id": "f3d45e293e3048928e267aa56038e945",
"parent_span_id": "9297353621d2b4f1",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953795.710599,
"timestamp": 1779953797.323798,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139926568840064",
"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\": \"Paris has a population of 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 (\\u00cele-de-France), the population is much larger\\u2014approximately 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.\", \"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": 101,
"gen_ai.usage.total_tokens": 142,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9297353621d2b4f1",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b5e3d538d1d278d8",
"trace_id": "f3d45e293e3048928e267aa56038e945",
"parent_span_id": "9297353621d2b4f1",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953797.424981,
"timestamp": 1779953798.253603,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139926568840064",
"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": "9297353621d2b4f1",
"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) Timeout60027ms
Details:
Test execution timed out (60s)
python/litellm :: Multi-Turn LLM Test (sync, blocking, responses, anthropic) 112747ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
b4ed00adgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b4ed00adgen_ai.output.messagesMissing output messages attribute
ab3bb236gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ab3bb236gen_ai.output.messagesMissing output messages attribute
b6757b09gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b6757b09gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "d55a411a532043b48ba2497027cb1d3d",
"span_id": "bc02b16b1ab932da",
"parent_span_id": "b4ed00ad3c9ec3e9",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:32.780763Z",
"timestamp": "2026-05-28T07:36:33.371130Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140589575551872",
"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": "d55a411a532043b48ba2497027cb1d3d",
"span_id": "999d668b926ad8f0",
"parent_span_id": "ab3bb236e93962f0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:33.498943Z",
"timestamp": "2026-05-28T07:36:34.913113Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140589575551872",
"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": "d55a411a532043b48ba2497027cb1d3d",
"span_id": "9e5b59100928ea04",
"parent_span_id": "b6757b09461307be",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:35.026747Z",
"timestamp": "2026-05-28T07:36:35.762597Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140589575551872",
"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": "9153cc0dca8d1a99",
"trace_id": "d55a411a532043b48ba2497027cb1d3d",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:32.491208Z",
"timestamp": "2026-05-28T07:36:35.869628Z",
"data": {
"thread.id": "140589575551872",
"thread.name": "MainThread"
}
},
{
"span_id": "b4ed00ad3c9ec3e9",
"trace_id": "d55a411a532043b48ba2497027cb1d3d",
"parent_span_id": "9153cc0dca8d1a99",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953792.779285,
"timestamp": 1779953793.385054,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140589575551872",
"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,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9153cc0dca8d1a99",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ab3bb236e93962f0",
"trace_id": "d55a411a532043b48ba2497027cb1d3d",
"parent_span_id": "9153cc0dca8d1a99",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953793.495051,
"timestamp": 1779953794.919239,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140589575551872",
"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 how you define the city:\\n\\n- **City proper (Paris municipality)**: Approximately 2.1 million people\\n- **Greater Paris (\\u00cele-de-France region)**: Approximately 12 million people\\n\\nThe city proper refers to just Paris itself, while the metropolitan area includes surrounding suburbs and towns. Most commonly, when people refer to \\\"Paris,\\\" they mean the city proper, which makes it one of the largest 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": 103,
"gen_ai.usage.total_tokens": 144,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9153cc0dca8d1a99",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b6757b09461307be",
"trace_id": "d55a411a532043b48ba2497027cb1d3d",
"parent_span_id": "9153cc0dca8d1a99",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953795.022906,
"timestamp": 1779953795.769043,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140589575551872",
"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 metropolitan area of Paris (known as the \\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": 42,
"gen_ai.usage.total_tokens": 113,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9153cc0dca8d1a99",
"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) 130803ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
9697b2d9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9697b2d9gen_ai.output.messagesMissing output messages attribute
b674fcf4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b674fcf4gen_ai.output.messagesMissing output messages attribute
86195b88gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
86195b88gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (14)
[
{
"trace_id": "fbee7bb8d99547c2909ba79ec45a2458",
"span_id": "9fbb82913254bb2a",
"parent_span_id": "9697b2d9bdb21cd0",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:35.728655Z",
"timestamp": "2026-05-28T07:36:35.730971Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21110
},
"data": {
"thread.id": "140571504633536",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "fbee7bb8d99547c2909ba79ec45a2458",
"span_id": "902307579ebc6de6",
"parent_span_id": "9697b2d9bdb21cd0",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:35.731056Z",
"timestamp": "2026-05-28T07:36:35.731764Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21110
},
"data": {
"thread.id": "140571504633536",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "fbee7bb8d99547c2909ba79ec45a2458",
"span_id": "bfddc1ba25dd8a4b",
"parent_span_id": "902307579ebc6de6",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:35.731709Z",
"timestamp": "2026-05-28T07:36:35.731749Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21110
},
"data": {
"thread.id": "140571504633536",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "fbee7bb8d99547c2909ba79ec45a2458",
"span_id": "96acaada62b4c3d2",
"parent_span_id": "9697b2d9bdb21cd0",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:35.731806Z",
"timestamp": "2026-05-28T07:36:35.731824Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21110
},
"data": {
"thread.id": "140571504633536",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "fbee7bb8d99547c2909ba79ec45a2458",
"span_id": "ab37fa50a698c1f6",
"parent_span_id": "9697b2d9bdb21cd0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:35.735676Z",
"timestamp": "2026-05-28T07:36:36.440489Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140571659099008",
"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": "fbee7bb8d99547c2909ba79ec45a2458",
"span_id": "bb5cd71f353c7f47",
"parent_span_id": "ab37fa50a698c1f6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:35.736529Z",
"timestamp": "2026-05-28T07:36:36.439154Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140571659099008",
"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": "fbee7bb8d99547c2909ba79ec45a2458",
"span_id": "b147b514446984da",
"parent_span_id": "b674fcf4fb09f899",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:36.798875Z",
"timestamp": "2026-05-28T07:36:43.586778Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140571659099008",
"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": "fbee7bb8d99547c2909ba79ec45a2458",
"span_id": "9a15c8f85294a276",
"parent_span_id": "b147b514446984da",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:36.799384Z",
"timestamp": "2026-05-28T07:36:43.586141Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140571659099008",
"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": "fbee7bb8d99547c2909ba79ec45a2458",
"span_id": "9714a16cb4b36da2",
"parent_span_id": "86195b880c2fc1c4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:44.353396Z",
"timestamp": "2026-05-28T07:36:52.668776Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140571659099008",
"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": "fbee7bb8d99547c2909ba79ec45a2458",
"span_id": "99e07293831fb32c",
"parent_span_id": "9714a16cb4b36da2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:44.353878Z",
"timestamp": "2026-05-28T07:36:52.668105Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140571659099008",
"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": "80423a5c11bf3161",
"trace_id": "fbee7bb8d99547c2909ba79ec45a2458",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:35.675018Z",
"timestamp": "2026-05-28T07:36:53.390993Z",
"data": {
"thread.id": "140571659099008",
"thread.name": "MainThread"
}
},
{
"span_id": "9697b2d9bdb21cd0",
"trace_id": "fbee7bb8d99547c2909ba79ec45a2458",
"parent_span_id": "80423a5c11bf3161",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953795.718423,
"timestamp": 1779953796.693081,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140571659099008",
"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": "Multi-Turn LLM Test",
"sentry.segment.id": "80423a5c11bf3161",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b674fcf4fb09f899",
"trace_id": "fbee7bb8d99547c2909ba79ec45a2458",
"parent_span_id": "80423a5c11bf3161",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953796.7959,
"timestamp": 1779953804.247935,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140571659099008",
"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\": \"Paris (city proper) has about 2.1 million residents (roughly 2.15 million as of the 2020 census).\\n\\nIf you mean the wider area:\\n- \\u00cele-de-France (the Paris region): about 12 million people.\\n- The Paris urban/metro area is also in the neighborhood of 12\\u201313 million.\\n\\nWhich definition would you like me to use?\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1369,
"gen_ai.usage.total_tokens": 1417,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "80423a5c11bf3161",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "86195b880c2fc1c4",
"trace_id": "fbee7bb8d99547c2909ba79ec45a2458",
"parent_span_id": "80423a5c11bf3161",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953804.350022,
"timestamp": 1779953813.282977,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140571659099008",
"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\": \"\\u201cMetropolitan area\\u201d can mean several different things around Paris. Here are the common definitions and their approximate populations:\\n\\n- Paris urban area (aire urbaine): about 12 million people. This is the wider commuter area around Paris, not just the city itself.\\n- M\\u00e9tropole du Grand Paris (the formal Greater Paris metropolis of 131 municipalities): about 7 million people.\\n- \\u00cele-de-France region (the wider administrative region that includes Paris and surrounding departments): about 12.5\\u201313 million people.\\n\\nIf you tell me which definition you\\u2019re using (or the year you want), 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": 1610,
"gen_ai.usage.total_tokens": 1691,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "80423a5c11bf3161",
"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) 115190ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
81f919c8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81f919c8gen_ai.output.messagesMissing output messages attribute
b147078cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b147078cgen_ai.output.messagesMissing output messages attribute
b0c32be7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0c32be7gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (10)
[
{
"trace_id": "a89f83e066d949ffa221b296556a961d",
"span_id": "9073e70103406d9f",
"parent_span_id": "81f919c8af4cf125",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:36.089697Z",
"timestamp": "2026-05-28T07:36:36.545660Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140005701012352",
"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": "a89f83e066d949ffa221b296556a961d",
"span_id": "bdc78de5880c881b",
"parent_span_id": "9073e70103406d9f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:36.090587Z",
"timestamp": "2026-05-28T07:36:36.544428Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140005701012352",
"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": "a89f83e066d949ffa221b296556a961d",
"span_id": "bfed62554a98ab5a",
"parent_span_id": "b147078c0db214e1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:36.719389Z",
"timestamp": "2026-05-28T07:36:37.466821Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140005701012352",
"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": "a89f83e066d949ffa221b296556a961d",
"span_id": "819ec67c7db270c1",
"parent_span_id": "bfed62554a98ab5a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:36.719906Z",
"timestamp": "2026-05-28T07:36:37.466243Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140005701012352",
"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": "a89f83e066d949ffa221b296556a961d",
"span_id": "996d58c680c9f2fa",
"parent_span_id": "b0c32be7f5c3fb39",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:38.297139Z",
"timestamp": "2026-05-28T07:36:38.769975Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140005701012352",
"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": "a89f83e066d949ffa221b296556a961d",
"span_id": "b600f476bc5783b5",
"parent_span_id": "996d58c680c9f2fa",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:38.297594Z",
"timestamp": "2026-05-28T07:36:38.769484Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140005701012352",
"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": "a09463461b1f20ce",
"trace_id": "a89f83e066d949ffa221b296556a961d",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:35.801660Z",
"timestamp": "2026-05-28T07:36:39.110427Z",
"data": {
"thread.id": "140005701012352",
"thread.name": "MainThread"
}
},
{
"span_id": "81f919c8af4cf125",
"trace_id": "a89f83e066d949ffa221b296556a961d",
"parent_span_id": "a09463461b1f20ce",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953796.088274,
"timestamp": 1779953796.616043,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140005464864448",
"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": "a09463461b1f20ce",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b147078c0db214e1",
"trace_id": "a89f83e066d949ffa221b296556a961d",
"parent_span_id": "a09463461b1f20ce",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953796.718413,
"timestamp": 1779953798.19438,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140005432080064",
"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\": \"Paris has a population of approximately 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 (\\u00cele-de-France region) has a much larger population of around 12 million people.\\n\\nThe exact figures can vary depending on the source and how city boundaries are defined, but these are the commonly cited numbers.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
"gen_ai.usage.input_tokens": 41,
"gen_ai.usage.output_tokens": 87,
"gen_ai.usage.total_tokens": 128,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "a09463461b1f20ce",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b0c32be7f5c3fb39",
"trace_id": "a89f83e066d949ffa221b296556a961d",
"parent_span_id": "a09463461b1f20ce",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953798.296094,
"timestamp": 1779953799.009047,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140005464864448",
"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": "a09463461b1f20ce",
"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 135066ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
a05d0bd1gen_ai.usage.input_tokensSpan a05d0bd1: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a05d0bd1gen_ai.usage.output_tokensSpan a05d0bd1: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
a01e754bgen_ai.usage.input_tokensSpan a01e754b: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a01e754bgen_ai.usage.output_tokensSpan a01e754b: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
bbd9d8e0gen_ai.usage.input_tokensSpan bbd9d8e0: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
bbd9d8e0gen_ai.usage.output_tokensSpan bbd9d8e0: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
a05d0bd1gen_ai.usage.input_tokensinput_tokens must exist
a05d0bd1gen_ai.usage.output_tokensoutput_tokens must exist
a05d0bd1gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (10)
[
{
"trace_id": "aea39543f00243beb6827d266d0d0c0c",
"span_id": "8d31e0747f5a3f53",
"parent_span_id": "a05d0bd16cba3f74",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:35.889185Z",
"timestamp": "2026-05-28T07:36:36.174913Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139808126315392",
"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": "aea39543f00243beb6827d266d0d0c0c",
"span_id": "a983b3da2910f64b",
"parent_span_id": "8d31e0747f5a3f53",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:35.890375Z",
"timestamp": "2026-05-28T07:36:36.173713Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139808126315392",
"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": "aea39543f00243beb6827d266d0d0c0c",
"span_id": "ad7d02fd810d3831",
"parent_span_id": "a01e754b412bc1a3",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:37.203474Z",
"timestamp": "2026-05-28T07:36:37.441593Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139808126315392",
"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": "aea39543f00243beb6827d266d0d0c0c",
"span_id": "9c6a99d3e1acd4c6",
"parent_span_id": "ad7d02fd810d3831",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:37.203994Z",
"timestamp": "2026-05-28T07:36:37.441049Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139808126315392",
"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": "aea39543f00243beb6827d266d0d0c0c",
"span_id": "9f3819175704212b",
"parent_span_id": "bbd9d8e08267d2c7",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:45.301534Z",
"timestamp": "2026-05-28T07:36:45.463533Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139808126315392",
"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": "aea39543f00243beb6827d266d0d0c0c",
"span_id": "979155e04a2ce538",
"parent_span_id": "9f3819175704212b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:45.302034Z",
"timestamp": "2026-05-28T07:36:45.463204Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139808126315392",
"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": "a775613eb688208f",
"trace_id": "aea39543f00243beb6827d266d0d0c0c",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:35.505287Z",
"timestamp": "2026-05-28T07:36:57.885011Z",
"data": {
"thread.id": "139808126315392",
"thread.name": "MainThread"
}
},
{
"span_id": "a05d0bd16cba3f74",
"trace_id": "aea39543f00243beb6827d266d0d0c0c",
"parent_span_id": "a775613eb688208f",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953795.888119,
"timestamp": 1779953797.099381,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139808126315392",
"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": "a775613eb688208f",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a01e754b412bc1a3",
"trace_id": "aea39543f00243beb6827d266d0d0c0c",
"parent_span_id": "a775613eb688208f",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953797.202724,
"timestamp": 1779953805.197352,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139808126315392",
"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": "a775613eb688208f",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bbd9d8e08267d2c7",
"trace_id": "aea39543f00243beb6827d266d0d0c0c",
"parent_span_id": "a775613eb688208f",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953805.300725,
"timestamp": 1779953817.777495,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139808126315392",
"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": "a775613eb688208f",
"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) 112160ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
a705dda7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a705dda7gen_ai.output.messagesMissing output messages attribute
b4f1725agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b4f1725agen_ai.output.messagesMissing output messages attribute
81e615bbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81e615bbgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (10)
[
{
"trace_id": "d4d9dccea771494a80ec3b0b08d2c352",
"span_id": "af37e185df243267",
"parent_span_id": "a705dda7f16a3d17",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:36.045718Z",
"timestamp": "2026-05-28T07:36:36.616463Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139921764510592",
"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": "d4d9dccea771494a80ec3b0b08d2c352",
"span_id": "beb380347dc87c6e",
"parent_span_id": "af37e185df243267",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:36.046749Z",
"timestamp": "2026-05-28T07:36:36.615247Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139921764510592",
"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": "d4d9dccea771494a80ec3b0b08d2c352",
"span_id": "8fb69c88f358f414",
"parent_span_id": "b4f1725a5cd1c709",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:36.879603Z",
"timestamp": "2026-05-28T07:36:37.416889Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139921764510592",
"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": "d4d9dccea771494a80ec3b0b08d2c352",
"span_id": "9b116d2580373ab3",
"parent_span_id": "8fb69c88f358f414",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:36.880123Z",
"timestamp": "2026-05-28T07:36:37.416281Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139921764510592",
"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": "d4d9dccea771494a80ec3b0b08d2c352",
"span_id": "b658a5cad2a9a3b8",
"parent_span_id": "81e615bb837f2bb0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:38.462897Z",
"timestamp": "2026-05-28T07:36:38.950879Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139921764510592",
"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": "d4d9dccea771494a80ec3b0b08d2c352",
"span_id": "82feb2b4d740a555",
"parent_span_id": "b658a5cad2a9a3b8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:38.463344Z",
"timestamp": "2026-05-28T07:36:38.950293Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139921764510592",
"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": "a477207cc162bad3",
"trace_id": "d4d9dccea771494a80ec3b0b08d2c352",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:35.640706Z",
"timestamp": "2026-05-28T07:36:39.324884Z",
"data": {
"thread.id": "139921764510592",
"thread.name": "MainThread"
}
},
{
"span_id": "a705dda7f16a3d17",
"trace_id": "d4d9dccea771494a80ec3b0b08d2c352",
"parent_span_id": "a477207cc162bad3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953796.04439,
"timestamp": 1779953796.772381,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139921609811648",
"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": "a477207cc162bad3",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b4f1725a5cd1c709",
"trace_id": "d4d9dccea771494a80ec3b0b08d2c352",
"parent_span_id": "a477207cc162bad3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953796.878643,
"timestamp": 1779953798.358272,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139921497769664",
"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\": \"The population of Paris varies depending on how you define the city:\\n\\n- **City proper (Paris)**: Approximately 2.1-2.2 million people\\n- **Greater Paris (\\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 is much larger.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
"gen_ai.usage.input_tokens": 41,
"gen_ai.usage.output_tokens": 85,
"gen_ai.usage.total_tokens": 126,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "a477207cc162bad3",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "81e615bb837f2bb0",
"trace_id": "d4d9dccea771494a80ec3b0b08d2c352",
"parent_span_id": "a477207cc162bad3",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953798.461934,
"timestamp": 1779953799.22101,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139921609811648",
"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": 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": "a477207cc162bad3",
"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) 119029ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
a5e2f3a3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a5e2f3a3gen_ai.output.messagesMissing output messages attribute
98b08d8fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
98b08d8fgen_ai.output.messagesMissing output messages attribute
aaecfc04gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aaecfc04gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (14)
[
{
"trace_id": "d550b213313146b8bf499a0e9209d020",
"span_id": "9d8c74aabb6622af",
"parent_span_id": "a5e2f3a35f3b2555",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:37.761910Z",
"timestamp": "2026-05-28T07:36:37.762765Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21131
},
"data": {
"thread.id": "140112704399040",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d550b213313146b8bf499a0e9209d020",
"span_id": "8ba51e986275f81b",
"parent_span_id": "a5e2f3a35f3b2555",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:37.762842Z",
"timestamp": "2026-05-28T07:36:37.763387Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21131
},
"data": {
"thread.id": "140112704399040",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d550b213313146b8bf499a0e9209d020",
"span_id": "b23e5a347d0a4512",
"parent_span_id": "8ba51e986275f81b",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:37.763342Z",
"timestamp": "2026-05-28T07:36:37.763376Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21131
},
"data": {
"thread.id": "140112704399040",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d550b213313146b8bf499a0e9209d020",
"span_id": "9b974c2e8766a2b3",
"parent_span_id": "a5e2f3a35f3b2555",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:37.763410Z",
"timestamp": "2026-05-28T07:36:37.763419Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21131
},
"data": {
"thread.id": "140112704399040",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d550b213313146b8bf499a0e9209d020",
"span_id": "b37f8cde738fbd52",
"parent_span_id": "a5e2f3a35f3b2555",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:37.764477Z",
"timestamp": "2026-05-28T07:36:38.872943Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140112859286400",
"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": "d550b213313146b8bf499a0e9209d020",
"span_id": "be91e49bf883ffa8",
"parent_span_id": "b37f8cde738fbd52",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:37.765023Z",
"timestamp": "2026-05-28T07:36:38.871249Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140112859286400",
"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": "d550b213313146b8bf499a0e9209d020",
"span_id": "adc1816debd4c1fc",
"parent_span_id": "98b08d8fa8fdad76",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:39.005588Z",
"timestamp": "2026-05-28T07:36:43.400846Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140112859286400",
"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": "d550b213313146b8bf499a0e9209d020",
"span_id": "a4357205addd0546",
"parent_span_id": "adc1816debd4c1fc",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:39.006128Z",
"timestamp": "2026-05-28T07:36:43.400054Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140112859286400",
"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": "d550b213313146b8bf499a0e9209d020",
"span_id": "b9090e42c24ec083",
"parent_span_id": "aaecfc04aef163a8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:43.510886Z",
"timestamp": "2026-05-28T07:36:50.824695Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140112859286400",
"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": "d550b213313146b8bf499a0e9209d020",
"span_id": "b3ea7086925b8bda",
"parent_span_id": "b9090e42c24ec083",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:43.511774Z",
"timestamp": "2026-05-28T07:36:50.823988Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140112859286400",
"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": "ba7d0b727c48b2fd",
"trace_id": "d550b213313146b8bf499a0e9209d020",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:37.747192Z",
"timestamp": "2026-05-28T07:36:50.931653Z",
"data": {
"thread.id": "140112859286400",
"thread.name": "MainThread"
}
},
{
"span_id": "a5e2f3a35f3b2555",
"trace_id": "d550b213313146b8bf499a0e9209d020",
"parent_span_id": "ba7d0b727c48b2fd",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953797.759244,
"timestamp": 1779953798.9005,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140112859286400",
"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": "ba7d0b727c48b2fd",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "98b08d8fa8fdad76",
"trace_id": "d550b213313146b8bf499a0e9209d020",
"parent_span_id": "ba7d0b727c48b2fd",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953799.002478,
"timestamp": 1779953803.403558,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140112859286400",
"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\": \"Some context, since \\u201cParis\\u201d can mean different areas:\\n\\n- Paris city proper: about 2.1 million people (roughly 2.1\\u20132.2 million).\\n- Wider urban area / \\u00cele-de-France metro: around 11\\u201312 million.\\n- \\u00cele-de-France metropolitan area: about 12\\u201313 million.\\n\\nIf you want a precise figure, tell me which definition and the year you have in mind, and I\\u2019ll fetch the 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": 746,
"gen_ai.usage.total_tokens": 794,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "ba7d0b727c48b2fd",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "aaecfc04aef163a8",
"trace_id": "d550b213313146b8bf499a0e9209d020",
"parent_span_id": "ba7d0b727c48b2fd",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953803.506189,
"timestamp": 1779953810.832218,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140112859286400",
"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\": \"It depends on what you mean by \\\"metropolitan area.\\\" Here are the common definitions and rough numbers:\\n\\n- Paris metropolitan area (aire urbaine) \\u2014 the broader urban area: about 12 to 13 million people (latest widely cited figures are around 2019). \\n- M\\u00e9tropole du Grand Paris \\u2014 the administrative intercommunal entity around Paris: about 7 million people (roughly 7.0\\u20137.5 million as of around 2019).\\n\\nIf you\\u2019d like, tell me which definition and year you want, and I can give a more precise figure.\", \"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": 1538,
"gen_ai.usage.total_tokens": 1619,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "ba7d0b727c48b2fd",
"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) 17833ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
9d74aaf5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d74aaf5gen_ai.output.messagesMissing output messages attribute
84f61341gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84f61341gen_ai.output.messagesMissing output messages attribute
9ac9b2bagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9ac9b2bagen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (10)
[
{
"trace_id": "40fbd69ab5884381a3c1e59cf7fdc38b",
"span_id": "8bdb337c25c76931",
"parent_span_id": "9d74aaf5549045d5",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:39.948747Z",
"timestamp": "2026-05-28T07:36:40.621815Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139659761286016",
"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": "40fbd69ab5884381a3c1e59cf7fdc38b",
"span_id": "9c5eaa2f5bf38216",
"parent_span_id": "8bdb337c25c76931",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:39.949356Z",
"timestamp": "2026-05-28T07:36:40.620170Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139659761286016",
"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": "40fbd69ab5884381a3c1e59cf7fdc38b",
"span_id": "a1fbf9b3293ae941",
"parent_span_id": "84f61341a5e6b7d1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:40.743137Z",
"timestamp": "2026-05-28T07:36:41.977057Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139659761286016",
"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": "40fbd69ab5884381a3c1e59cf7fdc38b",
"span_id": "95862092fff3480c",
"parent_span_id": "a1fbf9b3293ae941",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:40.743649Z",
"timestamp": "2026-05-28T07:36:41.976333Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139659761286016",
"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": "40fbd69ab5884381a3c1e59cf7fdc38b",
"span_id": "967ce3761ea6e1a2",
"parent_span_id": "9ac9b2ba22297046",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:42.082476Z",
"timestamp": "2026-05-28T07:36:43.187210Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139659761286016",
"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": "40fbd69ab5884381a3c1e59cf7fdc38b",
"span_id": "a2a539727c24322b",
"parent_span_id": "967ce3761ea6e1a2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:42.082947Z",
"timestamp": "2026-05-28T07:36:43.186265Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139659761286016",
"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": "858556735d8f9fee",
"trace_id": "40fbd69ab5884381a3c1e59cf7fdc38b",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:39.665399Z",
"timestamp": "2026-05-28T07:36:43.291088Z",
"data": {
"thread.id": "139659761286016",
"thread.name": "MainThread"
}
},
{
"span_id": "9d74aaf5549045d5",
"trace_id": "40fbd69ab5884381a3c1e59cf7fdc38b",
"parent_span_id": "858556735d8f9fee",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953799.947749,
"timestamp": 1779953800.641924,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139659606320832",
"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. It is located in the north-central part of the country along the Seine River and is the largest city in France.\", \"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": 34,
"gen_ai.usage.total_tokens": 54,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "858556735d8f9fee",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "84f61341a5e6b7d1",
"trace_id": "40fbd69ab5884381a3c1e59cf7fdc38b",
"parent_span_id": "858556735d8f9fee",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953800.74211,
"timestamp": 1779953801.979353,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139659606320832",
"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\": \"Paris has a population of approximately 2.1 to 2.2 million people within the city proper. However, if you include the greater Paris metropolitan area (\\u00cele-de-France region), the population is much larger at around 12 million people, making it one of Europe's largest metropolitan areas.\", \"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": 69,
"gen_ai.usage.total_tokens": 110,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "858556735d8f9fee",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9ac9b2ba22297046",
"trace_id": "40fbd69ab5884381a3c1e59cf7fdc38b",
"parent_span_id": "858556735d8f9fee",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953802.081439,
"timestamp": 1779953803.189644,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139659606320832",
"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": "858556735d8f9fee",
"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) 127795ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
b3f5f9ccgen_ai.output.messagesMissing output messages attribute
80f15928gen_ai.output.messagesMissing output messages attribute
a0166fd8gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (10)
[
{
"trace_id": "7dbd8fcd264141b29daaec53fafedf1f",
"span_id": "995a588f89c5ef53",
"parent_span_id": "b3f5f9cc8ca1db14",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:39.923546Z",
"timestamp": "2026-05-28T07:36:41.461395Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140224559922048",
"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": "7dbd8fcd264141b29daaec53fafedf1f",
"span_id": "8067ee748b6128b5",
"parent_span_id": "995a588f89c5ef53",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:39.924340Z",
"timestamp": "2026-05-28T07:36:41.459885Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140224559922048",
"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": "7dbd8fcd264141b29daaec53fafedf1f",
"span_id": "928b6db1dbbbb3a3",
"parent_span_id": "80f159283b433676",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:41.586171Z",
"timestamp": "2026-05-28T07:36:53.968750Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140224559922048",
"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": "7dbd8fcd264141b29daaec53fafedf1f",
"span_id": "b9af4a23bc09dbfb",
"parent_span_id": "928b6db1dbbbb3a3",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:41.586745Z",
"timestamp": "2026-05-28T07:36:53.968040Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140224559922048",
"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": "7dbd8fcd264141b29daaec53fafedf1f",
"span_id": "90a247da5bba8c1c",
"parent_span_id": "a0166fd8ff9433e4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:54.076846Z",
"timestamp": "2026-05-28T07:37:02.833648Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140224559922048",
"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": "7dbd8fcd264141b29daaec53fafedf1f",
"span_id": "a1e6aaa0bbd2e5c0",
"parent_span_id": "90a247da5bba8c1c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:54.077532Z",
"timestamp": "2026-05-28T07:37:02.833003Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140224559922048",
"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": "aee8bef4d014a042",
"trace_id": "7dbd8fcd264141b29daaec53fafedf1f",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:39.913138Z",
"timestamp": "2026-05-28T07:37:02.946064Z",
"data": {
"thread.id": "140224559922048",
"thread.name": "MainThread"
}
},
{
"span_id": "b3f5f9cc8ca1db14",
"trace_id": "7dbd8fcd264141b29daaec53fafedf1f",
"parent_span_id": "aee8bef4d014a042",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953799.922814,
"timestamp": 1779953801.485869,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140224559922048",
"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": 219,
"gen_ai.usage.total_tokens": 242,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "aee8bef4d014a042",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "80f159283b433676",
"trace_id": "7dbd8fcd264141b29daaec53fafedf1f",
"parent_span_id": "aee8bef4d014a042",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953801.585375,
"timestamp": 1779953813.981433,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140224559922048",
"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": 1770,
"gen_ai.usage.total_tokens": 1818,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "aee8bef4d014a042",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a0166fd8ff9433e4",
"trace_id": "7dbd8fcd264141b29daaec53fafedf1f",
"parent_span_id": "aee8bef4d014a042",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953814.076071,
"timestamp": 1779953822.844593,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140224559922048",
"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": 1713,
"gen_ai.usage.total_tokens": 1794,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "aee8bef4d014a042",
"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) 17028ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
838a661fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
838a661fgen_ai.output.messagesMissing output messages attribute
a080c9ddgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a080c9ddgen_ai.output.messagesMissing output messages attribute
8433a1f8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8433a1f8gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (10)
[
{
"trace_id": "33736dc16daf41a19a2b7f27191c1314",
"span_id": "a994760b9fbe431f",
"parent_span_id": "838a661f931c622c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:42.257085Z",
"timestamp": "2026-05-28T07:36:42.814788Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140379985898368",
"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": "33736dc16daf41a19a2b7f27191c1314",
"span_id": "9271fc5aaa471dd2",
"parent_span_id": "a994760b9fbe431f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:42.257723Z",
"timestamp": "2026-05-28T07:36:42.813150Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140379985898368",
"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": "33736dc16daf41a19a2b7f27191c1314",
"span_id": "90dc0731989a74c1",
"parent_span_id": "a080c9ddf339b0a1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:42.939467Z",
"timestamp": "2026-05-28T07:36:44.393108Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140379985898368",
"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": "33736dc16daf41a19a2b7f27191c1314",
"span_id": "8c66e0ceb1560d9b",
"parent_span_id": "90dc0731989a74c1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:42.939985Z",
"timestamp": "2026-05-28T07:36:44.392373Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140379985898368",
"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": "33736dc16daf41a19a2b7f27191c1314",
"span_id": "93c7bbdd40d5a6b9",
"parent_span_id": "8433a1f8be93c815",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:44.500117Z",
"timestamp": "2026-05-28T07:36:45.291486Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140379985898368",
"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": "33736dc16daf41a19a2b7f27191c1314",
"span_id": "b4f0300c2da3603a",
"parent_span_id": "93c7bbdd40d5a6b9",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:44.500418Z",
"timestamp": "2026-05-28T07:36:45.290718Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140379985898368",
"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": "bbedd25e20a04f9f",
"trace_id": "33736dc16daf41a19a2b7f27191c1314",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:36:42.105436Z",
"timestamp": "2026-05-28T07:36:45.396498Z",
"data": {
"thread.id": "140379985898368",
"thread.name": "MainThread"
}
},
{
"span_id": "838a661f931c622c",
"trace_id": "33736dc16daf41a19a2b7f27191c1314",
"parent_span_id": "bbedd25e20a04f9f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953802.256055,
"timestamp": 1779953802.83608,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140379830183616",
"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": 11,
"gen_ai.usage.total_tokens": 31,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "bbedd25e20a04f9f",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a080c9ddf339b0a1",
"trace_id": "33736dc16daf41a19a2b7f27191c1314",
"parent_span_id": "bbedd25e20a04f9f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953802.938443,
"timestamp": 1779953804.396193,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140379830183616",
"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\": \"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- **Greater Paris metropolitan area (\\u00cele-de-France region)**: approximately 12 million people\\n\\nThe city proper figure refers to people living within Paris's administrative boundaries, while the metropolitan area includes the surrounding suburbs and communes.\", \"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": 86,
"gen_ai.usage.total_tokens": 127,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "bbedd25e20a04f9f",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8433a1f8be93c815",
"trace_id": "33736dc16daf41a19a2b7f27191c1314",
"parent_span_id": "bbedd25e20a04f9f",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953804.499326,
"timestamp": 1779953805.295114,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140379830183616",
"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 metropolitan area of Paris (\\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": 39,
"gen_ai.usage.total_tokens": 110,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "bbedd25e20a04f9f",
"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) 15675ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
9a57159aSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "860ffe1ddfb54f3fb2645d8231c8c422",
"span_id": "93b74b301dff0302",
"parent_span_id": "9a57159a65d413fd",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:43.405412Z",
"timestamp": "2026-05-28T07:36:43.407040Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21167
},
"data": {
"thread.id": "139757058218880",
"thread.name": "MainThread"
}
},
{
"trace_id": "860ffe1ddfb54f3fb2645d8231c8c422",
"span_id": "aacfe47a8cdde11d",
"parent_span_id": "9a57159a65d413fd",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:43.407145Z",
"timestamp": "2026-05-28T07:36:43.407804Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21167
},
"data": {
"thread.id": "139757058218880",
"thread.name": "MainThread"
}
},
{
"trace_id": "860ffe1ddfb54f3fb2645d8231c8c422",
"span_id": "aa00b6b816183b51",
"parent_span_id": "aacfe47a8cdde11d",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:43.407750Z",
"timestamp": "2026-05-28T07:36:43.407791Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21167
},
"data": {
"thread.id": "139757058218880",
"thread.name": "MainThread"
}
},
{
"trace_id": "860ffe1ddfb54f3fb2645d8231c8c422",
"span_id": "b936bcff88321112",
"parent_span_id": "9a57159a65d413fd",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:43.407845Z",
"timestamp": "2026-05-28T07:36:43.407860Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21167
},
"data": {
"thread.id": "139757058218880",
"thread.name": "MainThread"
}
},
{
"trace_id": "860ffe1ddfb54f3fb2645d8231c8c422",
"span_id": "837df387ead5ea96",
"parent_span_id": "9a57159a65d413fd",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:43.409721Z",
"timestamp": "2026-05-28T07:36:43.410438Z",
"origin": "auto.http.httpx",
"status": "internal_error",
"tags": {
"http.status_code": "500",
"status": "internal_error"
},
"data": {
"thread.id": "139757058218880",
"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": "860ffe1ddfb54f3fb2645d8231c8c422",
"span_id": "96c983bde29ed594",
"parent_span_id": "9a57159a65d413fd",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:43.879352Z",
"timestamp": "2026-05-28T07:36:43.880106Z",
"origin": "auto.http.httpx",
"status": "internal_error",
"tags": {
"http.status_code": "500",
"status": "internal_error"
},
"data": {
"thread.id": "139757058218880",
"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": "860ffe1ddfb54f3fb2645d8231c8c422",
"span_id": "8c94b808c85b5243",
"parent_span_id": "9a57159a65d413fd",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:44.648066Z",
"timestamp": "2026-05-28T07:36:44.648794Z",
"origin": "auto.http.httpx",
"status": "internal_error",
"tags": {
"http.status_code": "500",
"status": "internal_error"
},
"data": {
"thread.id": "139757058218880",
"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": "b3a1c0f3fb2cc287",
"trace_id": "860ffe1ddfb54f3fb2645d8231c8c422",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:36:43.375657Z",
"timestamp": "2026-05-28T07:36:44.706140Z",
"data": {
"thread.id": "139757058218880",
"thread.name": "MainThread"
},
"status": "internal_error"
},
{
"span_id": "9a57159a65d413fd",
"trace_id": "860ffe1ddfb54f3fb2645d8231c8c422",
"parent_span_id": "b3a1c0f3fb2cc287",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953803.397709,
"timestamp": 1779953804.689938,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139757058218880",
"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": "b3a1c0f3fb2cc287",
"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) 14343ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
b65f9338Span has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "1a8187d013624359b7f9e07bbed09983",
"span_id": "aee0362c3d8f2184",
"parent_span_id": "b65f93384836e139",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:43.755067Z",
"timestamp": "2026-05-28T07:36:43.755639Z",
"origin": "auto.http.httpx",
"status": "internal_error",
"tags": {
"http.status_code": "500",
"status": "internal_error"
},
"data": {
"thread.id": "139961624931200",
"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": "870966a2ff564457",
"trace_id": "1a8187d013624359b7f9e07bbed09983",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:36:43.590897Z",
"timestamp": "2026-05-28T07:36:43.780948Z",
"data": {
"thread.id": "139961624931200",
"thread.name": "MainThread"
},
"status": "internal_error"
},
{
"span_id": "b65f93384836e139",
"trace_id": "1a8187d013624359b7f9e07bbed09983",
"parent_span_id": "870966a2ff564457",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953803.754042,
"timestamp": 1779953803.773875,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139961624931200",
"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": "870966a2ff564457",
"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) 15443ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
811cf1d5Span has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "caef5063f1e24f8989e55ba677572318",
"span_id": "be418e1512de31d1",
"parent_span_id": "811cf1d5707966df",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:48.209693Z",
"timestamp": "2026-05-28T07:36:48.210596Z",
"origin": "auto.http.httpx",
"status": "internal_error",
"tags": {
"http.status_code": "500",
"status": "internal_error"
},
"data": {
"thread.id": "140649457646464",
"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": "82b7c428a801bfe3",
"trace_id": "caef5063f1e24f8989e55ba677572318",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:36:48.197779Z",
"timestamp": "2026-05-28T07:36:48.245570Z",
"data": {
"thread.id": "140649457646464",
"thread.name": "MainThread"
},
"status": "internal_error"
},
{
"span_id": "811cf1d5707966df",
"trace_id": "caef5063f1e24f8989e55ba677572318",
"parent_span_id": "82b7c428a801bfe3",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953808.208898,
"timestamp": 1779953808.236734,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140649457646464",
"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": "82b7c428a801bfe3",
"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) 16816ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
8e4bd7ddSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "b029966d990949aaac9dfee05c4e6b8a",
"span_id": "b56ead4a4884eace",
"parent_span_id": "8e4bd7dd5e6b4440",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:49.912259Z",
"timestamp": "2026-05-28T07:36:49.918176Z",
"origin": "auto.http.httpx",
"status": "internal_error",
"tags": {
"http.status_code": "500",
"status": "internal_error"
},
"data": {
"thread.id": "139910215965568",
"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": "bdb068ecbfbf13ad",
"trace_id": "b029966d990949aaac9dfee05c4e6b8a",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:36:49.465349Z",
"timestamp": "2026-05-28T07:36:50.049446Z",
"data": {
"thread.id": "139910215965568",
"thread.name": "MainThread"
},
"status": "internal_error"
},
{
"span_id": "8e4bd7dd5e6b4440",
"trace_id": "b029966d990949aaac9dfee05c4e6b8a",
"parent_span_id": "bdb068ecbfbf13ad",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953809.910744,
"timestamp": 1779953809.961555,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139910215965568",
"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": "bdb068ecbfbf13ad",
"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) 18196ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
857b3380Span has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "742d6cd348844d53acf7babdacb416b9",
"span_id": "81251a0ce3097992",
"parent_span_id": "857b3380e32facac",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:50.564881Z",
"timestamp": "2026-05-28T07:36:50.567088Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21204
},
"data": {
"thread.id": "140502773697408",
"thread.name": "MainThread"
}
},
{
"trace_id": "742d6cd348844d53acf7babdacb416b9",
"span_id": "bccf03f14d8ef7f9",
"parent_span_id": "857b3380e32facac",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:50.567182Z",
"timestamp": "2026-05-28T07:36:50.567317Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21204
},
"data": {
"thread.id": "140502773697408",
"thread.name": "MainThread"
}
},
{
"trace_id": "742d6cd348844d53acf7babdacb416b9",
"span_id": "9bc0e35b079ac47a",
"parent_span_id": "bccf03f14d8ef7f9",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:50.567272Z",
"timestamp": "2026-05-28T07:36:50.567306Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21204
},
"data": {
"thread.id": "140502773697408",
"thread.name": "MainThread"
}
},
{
"trace_id": "742d6cd348844d53acf7babdacb416b9",
"span_id": "b831a2e51a5ebe76",
"parent_span_id": "857b3380e32facac",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:50.567347Z",
"timestamp": "2026-05-28T07:36:50.567359Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21204
},
"data": {
"thread.id": "140502773697408",
"thread.name": "MainThread"
}
},
{
"trace_id": "742d6cd348844d53acf7babdacb416b9",
"span_id": "a9ea128c2c1f8a0c",
"parent_span_id": "857b3380e32facac",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:50.568809Z",
"timestamp": "2026-05-28T07:36:50.569664Z",
"origin": "auto.http.httpx",
"status": "internal_error",
"tags": {
"http.status_code": "500",
"status": "internal_error"
},
"data": {
"thread.id": "140502773697408",
"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": "742d6cd348844d53acf7babdacb416b9",
"span_id": "89eadc0572f1c5d7",
"parent_span_id": "857b3380e32facac",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:51.014355Z",
"timestamp": "2026-05-28T07:36:51.015118Z",
"origin": "auto.http.httpx",
"status": "internal_error",
"tags": {
"http.status_code": "500",
"status": "internal_error"
},
"data": {
"thread.id": "140502773697408",
"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": "742d6cd348844d53acf7babdacb416b9",
"span_id": "928596eebd953def",
"parent_span_id": "857b3380e32facac",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:51.852281Z",
"timestamp": "2026-05-28T07:36:51.853039Z",
"origin": "auto.http.httpx",
"status": "internal_error",
"tags": {
"http.status_code": "500",
"status": "internal_error"
},
"data": {
"thread.id": "140502773697408",
"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": "bf7465c2f29c9c94",
"trace_id": "742d6cd348844d53acf7babdacb416b9",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:36:50.540540Z",
"timestamp": "2026-05-28T07:36:51.981451Z",
"data": {
"thread.id": "140502773697408",
"thread.name": "MainThread"
},
"status": "internal_error"
},
{
"span_id": "857b3380e32facac",
"trace_id": "742d6cd348844d53acf7babdacb416b9",
"parent_span_id": "bf7465c2f29c9c94",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953810.559872,
"timestamp": 1779953811.955493,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140502773697408",
"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": "bf7465c2f29c9c94",
"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) 17032ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
ba8cfbf3Span has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "b0040544a3a04ea0a922ea4ba224d975",
"span_id": "954959bf2867743f",
"parent_span_id": "ba8cfbf382cd75e8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:51.277723Z",
"timestamp": "2026-05-28T07:36:51.278556Z",
"origin": "auto.http.httpx",
"status": "internal_error",
"tags": {
"http.status_code": "500",
"status": "internal_error"
},
"data": {
"thread.id": "140581238553472",
"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": "81cef55965763f65",
"trace_id": "b0040544a3a04ea0a922ea4ba224d975",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:36:50.947105Z",
"timestamp": "2026-05-28T07:36:51.313373Z",
"data": {
"thread.id": "140581238553472",
"thread.name": "MainThread"
},
"status": "internal_error"
},
{
"span_id": "ba8cfbf382cd75e8",
"trace_id": "b0040544a3a04ea0a922ea4ba224d975",
"parent_span_id": "81cef55965763f65",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953811.276198,
"timestamp": 1779953811.299246,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140581238553472",
"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": "81cef55965763f65",
"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) 16023ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
8a8a73cfSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "32bae31c489c4be5ac724cf9e9365817",
"span_id": "b8750b02965aa393",
"parent_span_id": "8a8a73cf05e2d2c3",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:36:51.013926Z",
"timestamp": "2026-05-28T07:36:51.014858Z",
"origin": "auto.http.httpx",
"status": "internal_error",
"tags": {
"http.status_code": "500",
"status": "internal_error"
},
"data": {
"thread.id": "139959236475776",
"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": "b7dfb1c64d11654e",
"trace_id": "32bae31c489c4be5ac724cf9e9365817",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:36:51.003674Z",
"timestamp": "2026-05-28T07:36:51.034093Z",
"data": {
"thread.id": "139959236475776",
"thread.name": "MainThread"
},
"status": "internal_error"
},
{
"span_id": "8a8a73cf05e2d2c3",
"trace_id": "32bae31c489c4be5ac724cf9e9365817",
"parent_span_id": "b7dfb1c64d11654e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953811.013151,
"timestamp": 1779953811.028058,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139959236475776",
"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": "b7dfb1c64d11654e",
"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) 111373ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
a6f144deSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "62ba2f867eb24dca9c6d251b154834b1",
"span_id": "972b839e74021eed",
"parent_span_id": "a6f144de35e23664",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:36:58.291147Z",
"timestamp": "2026-05-28T07:36:58.292138Z",
"origin": "auto.http.httpx",
"status": "internal_error",
"tags": {
"http.status_code": "500",
"status": "internal_error"
},
"data": {
"thread.id": "140390475316096",
"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": "ac6fbed0454d7141",
"trace_id": "62ba2f867eb24dca9c6d251b154834b1",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:36:57.453852Z",
"timestamp": "2026-05-28T07:36:58.428283Z",
"data": {
"thread.id": "140390475316096",
"thread.name": "MainThread"
},
"status": "internal_error"
},
{
"span_id": "a6f144de35e23664",
"trace_id": "62ba2f867eb24dca9c6d251b154834b1",
"parent_span_id": "ac6fbed0454d7141",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953818.283555,
"timestamp": 1779953818.356581,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140390475316096",
"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": "ac6fbed0454d7141",
"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) 112936ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
ae53104bSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "6c5cf8fa73784f059720ba27377971ed",
"span_id": "9da23edd11b8b2c8",
"parent_span_id": "ae53104b80cf81ed",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:36:59.379477Z",
"timestamp": "2026-05-28T07:36:59.380937Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21245
},
"data": {
"thread.id": "140018682783424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6c5cf8fa73784f059720ba27377971ed",
"span_id": "8ef1417061d3e058",
"parent_span_id": "ae53104b80cf81ed",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:36:59.381030Z",
"timestamp": "2026-05-28T07:36:59.384917Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21245
},
"data": {
"thread.id": "140018682783424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6c5cf8fa73784f059720ba27377971ed",
"span_id": "843f607c66123310",
"parent_span_id": "8ef1417061d3e058",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:59.384859Z",
"timestamp": "2026-05-28T07:36:59.384902Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21245
},
"data": {
"thread.id": "140018682783424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6c5cf8fa73784f059720ba27377971ed",
"span_id": "a0791abb4a1cad92",
"parent_span_id": "ae53104b80cf81ed",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:36:59.384952Z",
"timestamp": "2026-05-28T07:36:59.384966Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21245
},
"data": {
"thread.id": "140018682783424",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6c5cf8fa73784f059720ba27377971ed",
"span_id": "8129e228db2f0262",
"parent_span_id": "ae53104b80cf81ed",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:59.386683Z",
"timestamp": "2026-05-28T07:37:01.236680Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140018837842816",
"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": "6c5cf8fa73784f059720ba27377971ed",
"span_id": "962ed4c8a13d29f6",
"parent_span_id": "8129e228db2f0262",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:36:59.387469Z",
"timestamp": "2026-05-28T07:37:01.235276Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140018837842816",
"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": "b1861c8d470e5fd7",
"trace_id": "6c5cf8fa73784f059720ba27377971ed",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:36:59.309405Z",
"timestamp": "2026-05-28T07:37:02.021018Z",
"data": {
"thread.id": "140018837842816",
"thread.name": "MainThread"
}
},
{
"span_id": "ae53104b80cf81ed",
"trace_id": "6c5cf8fa73784f059720ba27377971ed",
"parent_span_id": "b1861c8d470e5fd7",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953819.368895,
"timestamp": 1779953821.917481,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140018837842816",
"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 Error LLM Test",
"sentry.segment.id": "b1861c8d470e5fd7",
"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) 112605ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
84caab5fSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "e1becf6787374f0c91f141573d8912a5",
"span_id": "82e942d418f078da",
"parent_span_id": "84caab5f7e3b1041",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:01.198456Z",
"timestamp": "2026-05-28T07:37:01.889594Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139645420559232",
"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": "e1becf6787374f0c91f141573d8912a5",
"span_id": "8ca0f11665a030a8",
"parent_span_id": "82e942d418f078da",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:01.199381Z",
"timestamp": "2026-05-28T07:37:01.888334Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139645420559232",
"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": "9ac3be062b3e2b6d",
"trace_id": "e1becf6787374f0c91f141573d8912a5",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:37:00.862826Z",
"timestamp": "2026-05-28T07:37:02.087061Z",
"data": {
"thread.id": "139645420559232",
"thread.name": "MainThread"
}
},
{
"span_id": "84caab5f7e3b1041",
"trace_id": "e1becf6787374f0c91f141573d8912a5",
"parent_span_id": "9ac3be062b3e2b6d",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953821.197069,
"timestamp": 1779953821.977705,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139645263898304",
"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 Error LLM Test",
"sentry.segment.id": "9ac3be062b3e2b6d",
"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) 112721ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
99e4e06dSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "613c581f3c1f40d0920278143baeae34",
"span_id": "b0356643db9555cb",
"parent_span_id": "99e4e06dd654825b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:01.445213Z",
"timestamp": "2026-05-28T07:37:01.682199Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140549395856256",
"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": "613c581f3c1f40d0920278143baeae34",
"span_id": "99afcbf084605b9e",
"parent_span_id": "b0356643db9555cb",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:01.446123Z",
"timestamp": "2026-05-28T07:37:01.680994Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140549395856256",
"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": "99f492fe9869ae69",
"trace_id": "613c581f3c1f40d0920278143baeae34",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:37:00.768710Z",
"timestamp": "2026-05-28T07:37:02.678887Z",
"data": {
"thread.id": "140549395856256",
"thread.name": "MainThread"
}
},
{
"span_id": "99e4e06dd654825b",
"trace_id": "613c581f3c1f40d0920278143baeae34",
"parent_span_id": "99f492fe9869ae69",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953821.444359,
"timestamp": 1779953822.571369,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140549395856256",
"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": "99f492fe9869ae69",
"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) 110703ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
b988a14eSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "678179f8e4fd443b8038099733f7e10a",
"span_id": "92561316be0f8b4b",
"parent_span_id": "b988a14e7679bafc",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:00.491123Z",
"timestamp": "2026-05-28T07:37:00.967673Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140443671657344",
"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": "678179f8e4fd443b8038099733f7e10a",
"span_id": "a12b749d75693ff8",
"parent_span_id": "92561316be0f8b4b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:00.492015Z",
"timestamp": "2026-05-28T07:37:00.966243Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140443671657344",
"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": "b93e83e923d369ab",
"trace_id": "678179f8e4fd443b8038099733f7e10a",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:37:00.078365Z",
"timestamp": "2026-05-28T07:37:01.188088Z",
"data": {
"thread.id": "140443671657344",
"thread.name": "MainThread"
}
},
{
"span_id": "b988a14e7679bafc",
"trace_id": "678179f8e4fd443b8038099733f7e10a",
"parent_span_id": "b93e83e923d369ab",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953820.487494,
"timestamp": 1779953821.079448,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140443515446976",
"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": "b93e83e923d369ab",
"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) 116729ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
8084e71fSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "3eac0dc369b74b8c9300014e760781de",
"span_id": "981ce06b0ce6680c",
"parent_span_id": "8084e71fc141bb4a",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:37:01.189867Z",
"timestamp": "2026-05-28T07:37:01.200724Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21267
},
"data": {
"thread.id": "140508280743616",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "3eac0dc369b74b8c9300014e760781de",
"span_id": "b926ddfbf2196b21",
"parent_span_id": "8084e71fc141bb4a",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:37:01.200818Z",
"timestamp": "2026-05-28T07:37:01.201102Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21267
},
"data": {
"thread.id": "140508280743616",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "3eac0dc369b74b8c9300014e760781de",
"span_id": "98caaceeb785a2d2",
"parent_span_id": "b926ddfbf2196b21",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:01.200921Z",
"timestamp": "2026-05-28T07:37:01.200962Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21267
},
"data": {
"thread.id": "140508280743616",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "3eac0dc369b74b8c9300014e760781de",
"span_id": "adcd810f1e0985ef",
"parent_span_id": "8084e71fc141bb4a",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:01.201141Z",
"timestamp": "2026-05-28T07:37:01.201157Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21267
},
"data": {
"thread.id": "140508280743616",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "3eac0dc369b74b8c9300014e760781de",
"span_id": "a46ba5a49360f687",
"parent_span_id": "8084e71fc141bb4a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:01.202965Z",
"timestamp": "2026-05-28T07:37:06.913973Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140508436130688",
"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": "3eac0dc369b74b8c9300014e760781de",
"span_id": "916fac0e11ec68e1",
"parent_span_id": "a46ba5a49360f687",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:01.203901Z",
"timestamp": "2026-05-28T07:37:06.912430Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140508436130688",
"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": "9a8c7e82e6e46429",
"trace_id": "3eac0dc369b74b8c9300014e760781de",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:37:01.164229Z",
"timestamp": "2026-05-28T07:37:07.127125Z",
"data": {
"thread.id": "140508436130688",
"thread.name": "MainThread"
}
},
{
"span_id": "8084e71fc141bb4a",
"trace_id": "3eac0dc369b74b8c9300014e760781de",
"parent_span_id": "9a8c7e82e6e46429",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953821.18477,
"timestamp": 1779953827.019115,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140508436130688",
"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,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic Error LLM Test",
"sentry.segment.id": "9a8c7e82e6e46429",
"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) 112392ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
8a65329fSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "6fdd4438687e4f888f7f0c0c978d8d1d",
"span_id": "b29cd13848f94035",
"parent_span_id": "8a65329f7612c4a8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:03.460299Z",
"timestamp": "2026-05-28T07:37:04.044779Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139764631571328",
"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": "6fdd4438687e4f888f7f0c0c978d8d1d",
"span_id": "b4f99770c6374bfc",
"parent_span_id": "b29cd13848f94035",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:03.461307Z",
"timestamp": "2026-05-28T07:37:04.043347Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139764631571328",
"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": "adac1cbe806795a8",
"trace_id": "6fdd4438687e4f888f7f0c0c978d8d1d",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:37:02.721835Z",
"timestamp": "2026-05-28T07:37:04.198523Z",
"data": {
"thread.id": "139764631571328",
"thread.name": "MainThread"
}
},
{
"span_id": "8a65329f7612c4a8",
"trace_id": "6fdd4438687e4f888f7f0c0c978d8d1d",
"parent_span_id": "adac1cbe806795a8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953823.458743,
"timestamp": 1779953824.093814,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139764476503744",
"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": "Basic Error LLM Test",
"sentry.segment.id": "adac1cbe806795a8",
"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) 112913ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
83543bb4Span has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "a28215151055468f822a2dfd74edf3b5",
"span_id": "bfc64b8f15c29007",
"parent_span_id": "83543bb4e3babf3a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:03.614215Z",
"timestamp": "2026-05-28T07:37:05.461809Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140629822045056",
"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": "a28215151055468f822a2dfd74edf3b5",
"span_id": "a0928d040980d19b",
"parent_span_id": "bfc64b8f15c29007",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:03.617520Z",
"timestamp": "2026-05-28T07:37:05.460339Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140629822045056",
"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": "9ecebd0a9efcd58e",
"trace_id": "a28215151055468f822a2dfd74edf3b5",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:37:03.589027Z",
"timestamp": "2026-05-28T07:37:05.634119Z",
"data": {
"thread.id": "140629822045056",
"thread.name": "MainThread"
}
},
{
"span_id": "83543bb4e3babf3a",
"trace_id": "a28215151055468f822a2dfd74edf3b5",
"parent_span_id": "9ecebd0a9efcd58e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953823.61332,
"timestamp": 1779953825.536294,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140629822045056",
"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": 204,
"gen_ai.usage.total_tokens": 227,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic Error LLM Test",
"sentry.segment.id": "9ecebd0a9efcd58e",
"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) 113180ms
Critical
checkAISpanCount(>=1)
checkErrorCaptured
a515709eSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "1bebbf27914b49bb9c505eea81e1b9e0",
"span_id": "9423b27ae0444ae2",
"parent_span_id": "a515709e6536702b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:05.330511Z",
"timestamp": "2026-05-28T07:37:05.933901Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139882444675968",
"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": "1bebbf27914b49bb9c505eea81e1b9e0",
"span_id": "9eb2c681dc3b815e",
"parent_span_id": "9423b27ae0444ae2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:05.331475Z",
"timestamp": "2026-05-28T07:37:05.932301Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139882444675968",
"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": "b32319dcaa279564",
"trace_id": "1bebbf27914b49bb9c505eea81e1b9e0",
"parent_span_id": null,
"op": "test",
"description": "Basic Error LLM Test",
"start_timestamp": "2026-05-28T07:37:04.764406Z",
"timestamp": "2026-05-28T07:37:06.099916Z",
"data": {
"thread.id": "139882444675968",
"thread.name": "MainThread"
}
},
{
"span_id": "a515709e6536702b",
"trace_id": "1bebbf27914b49bb9c505eea81e1b9e0",
"parent_span_id": "b32319dcaa279564",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953825.329122,
"timestamp": 1779953825.999402,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139882289260224",
"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 Error LLM Test",
"sentry.segment.id": "b32319dcaa279564",
"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 113050ms
Critical
checkChatSpanAttributes
b5c583f0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b5c583f0gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b5c583f0gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b5c583f0gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "812931f5108842d5a50f573fa1677673",
"span_id": "8b2ffee07add56fa",
"parent_span_id": "b5c583f02b655c09",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:37:09.144326Z",
"timestamp": "2026-05-28T07:37:09.154717Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21325
},
"data": {
"thread.id": "140117893905280",
"thread.name": "MainThread"
}
},
{
"trace_id": "812931f5108842d5a50f573fa1677673",
"span_id": "a081c679853bf428",
"parent_span_id": "b5c583f02b655c09",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:37:09.154830Z",
"timestamp": "2026-05-28T07:37:09.154977Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21325
},
"data": {
"thread.id": "140117893905280",
"thread.name": "MainThread"
}
},
{
"trace_id": "812931f5108842d5a50f573fa1677673",
"span_id": "b5a6255ef8238a7f",
"parent_span_id": "a081c679853bf428",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:09.154930Z",
"timestamp": "2026-05-28T07:37:09.154967Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21325
},
"data": {
"thread.id": "140117893905280",
"thread.name": "MainThread"
}
},
{
"trace_id": "812931f5108842d5a50f573fa1677673",
"span_id": "bbc6007670095828",
"parent_span_id": "b5c583f02b655c09",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:09.155013Z",
"timestamp": "2026-05-28T07:37:09.155028Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21325
},
"data": {
"thread.id": "140117893905280",
"thread.name": "MainThread"
}
},
{
"trace_id": "812931f5108842d5a50f573fa1677673",
"span_id": "b977629901f7b791",
"parent_span_id": "b5c583f02b655c09",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:09.156804Z",
"timestamp": "2026-05-28T07:37:09.641885Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140117893905280",
"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": "a3d20b5018ef6d86",
"trace_id": "812931f5108842d5a50f573fa1677673",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:09.044353Z",
"timestamp": "2026-05-28T07:37:10.741698Z",
"data": {
"thread.id": "140117893905280",
"thread.name": "MainThread"
}
},
{
"span_id": "b5c583f02b655c09",
"trace_id": "812931f5108842d5a50f573fa1677673",
"parent_span_id": "a3d20b5018ef6d86",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953829.125848,
"timestamp": 1779953830.635841,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140117893905280",
"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": "a3d20b5018ef6d86",
"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 111771ms
Critical
checkChatSpanAttributes
908656aegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
908656aegen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
908656aegen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
908656aegen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "4532fb14a2764ee186aecc51c41144fa",
"span_id": "90cbf53d08071b78",
"parent_span_id": "908656ae0fdee340",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:09.960810Z",
"timestamp": "2026-05-28T07:37:10.474466Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140611068525440",
"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": "a69aae6f598f0604",
"trace_id": "4532fb14a2764ee186aecc51c41144fa",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:09.341714Z",
"timestamp": "2026-05-28T07:37:10.680688Z",
"data": {
"thread.id": "140611068525440",
"thread.name": "MainThread"
}
},
{
"span_id": "908656ae0fdee340",
"trace_id": "4532fb14a2764ee186aecc51c41144fa",
"parent_span_id": "a69aae6f598f0604",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953829.956177,
"timestamp": 1779953830.576362,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140611068525440",
"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": "a69aae6f598f0604",
"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 212404ms
Critical
checkChatSpanAttributes
a4f963fcgen_ai.usage.input_tokensSpan a4f963fc: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a4f963fcgen_ai.usage.output_tokensSpan a4f963fc: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
a4f963fcgen_ai.usage.input_tokensinput_tokens must exist
a4f963fcgen_ai.usage.output_tokensoutput_tokens must exist
a4f963fcgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
a4f963fcgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a4f963fcgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "31a281bb55e347df8c3fb0e173b7b864",
"span_id": "98aa7837ba5568f9",
"parent_span_id": "a4f963fcf2320d33",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:11.912203Z",
"timestamp": "2026-05-28T07:37:12.089630Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140258819050368",
"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": "bae5040e23c6c0be",
"trace_id": "31a281bb55e347df8c3fb0e173b7b864",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:11.868118Z",
"timestamp": "2026-05-28T07:37:12.979798Z",
"data": {
"thread.id": "140258819050368",
"thread.name": "MainThread"
}
},
{
"span_id": "a4f963fcf2320d33",
"trace_id": "31a281bb55e347df8c3fb0e173b7b864",
"parent_span_id": "bae5040e23c6c0be",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953831.906054,
"timestamp": 1779953832.874892,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140258819050368",
"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": "bae5040e23c6c0be",
"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 115481ms
Critical
checkChatSpanAttributes
a58aaab9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a58aaab9gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a58aaab9gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a58aaab9gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "7fd576faaba54fe78cccf1a081822eff",
"span_id": "bc0f9d2827ceb390",
"parent_span_id": "a58aaab930cd94e2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:16.333086Z",
"timestamp": "2026-05-28T07:37:16.854859Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139736642579328",
"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": "a343cf0753eabc5b",
"trace_id": "7fd576faaba54fe78cccf1a081822eff",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:15.529522Z",
"timestamp": "2026-05-28T07:37:17.078733Z",
"data": {
"thread.id": "139736642579328",
"thread.name": "MainThread"
}
},
{
"span_id": "a58aaab930cd94e2",
"trace_id": "7fd576faaba54fe78cccf1a081822eff",
"parent_span_id": "a343cf0753eabc5b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953836.331598,
"timestamp": 1779953836.942463,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139736642579328",
"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": "a343cf0753eabc5b",
"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 113241ms
Critical
checkChatSpanAttributes
a72893fdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a72893fdgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a72893fdgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a72893fdgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "7b60509a2fdf420186d79d1598199a2c",
"span_id": "b0aa4ae0eca94d8d",
"parent_span_id": "a72893fd028f3881",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:37:14.491592Z",
"timestamp": "2026-05-28T07:37:14.496964Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21344
},
"data": {
"thread.id": "140082278206336",
"thread.name": "MainThread"
}
},
{
"trace_id": "7b60509a2fdf420186d79d1598199a2c",
"span_id": "b420fd996f39457f",
"parent_span_id": "a72893fd028f3881",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:37:14.497068Z",
"timestamp": "2026-05-28T07:37:14.497211Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21344
},
"data": {
"thread.id": "140082278206336",
"thread.name": "MainThread"
}
},
{
"trace_id": "7b60509a2fdf420186d79d1598199a2c",
"span_id": "9ea82164843291d0",
"parent_span_id": "b420fd996f39457f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:14.497166Z",
"timestamp": "2026-05-28T07:37:14.497201Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21344
},
"data": {
"thread.id": "140082278206336",
"thread.name": "MainThread"
}
},
{
"trace_id": "7b60509a2fdf420186d79d1598199a2c",
"span_id": "9cfbf7dad4ca55cc",
"parent_span_id": "a72893fd028f3881",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:14.497246Z",
"timestamp": "2026-05-28T07:37:14.497261Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21344
},
"data": {
"thread.id": "140082278206336",
"thread.name": "MainThread"
}
},
{
"trace_id": "7b60509a2fdf420186d79d1598199a2c",
"span_id": "90ff16ca4adfa776",
"parent_span_id": "a72893fd028f3881",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:14.498842Z",
"timestamp": "2026-05-28T07:37:15.151524Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140082278206336",
"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": "8d97afcfe23614f3",
"trace_id": "7b60509a2fdf420186d79d1598199a2c",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:14.435686Z",
"timestamp": "2026-05-28T07:37:15.336706Z",
"data": {
"thread.id": "140082278206336",
"thread.name": "MainThread"
}
},
{
"span_id": "a72893fd028f3881",
"trace_id": "7b60509a2fdf420186d79d1598199a2c",
"parent_span_id": "8d97afcfe23614f3",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953834.479275,
"timestamp": 1779953835.231052,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140082278206336",
"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": "8d97afcfe23614f3",
"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 115342ms
Critical
checkChatSpanAttributes
b1bd57d4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1bd57d4gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b1bd57d4gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b1bd57d4gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "cd46df7c98a6488cb9a660168f1c796c",
"span_id": "9a655c237e20fe51",
"parent_span_id": "b1bd57d4bec57991",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:17.227892Z",
"timestamp": "2026-05-28T07:37:17.838356Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140286584609664",
"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": "92f11df285b0df9b",
"trace_id": "cd46df7c98a6488cb9a660168f1c796c",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:16.553008Z",
"timestamp": "2026-05-28T07:37:17.964441Z",
"data": {
"thread.id": "140286584609664",
"thread.name": "MainThread"
}
},
{
"span_id": "b1bd57d4bec57991",
"trace_id": "cd46df7c98a6488cb9a660168f1c796c",
"parent_span_id": "92f11df285b0df9b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953837.226324,
"timestamp": 1779953837.86253,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140286584609664",
"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": "92f11df285b0df9b",
"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 114740ms
Critical
checkChatSpanAttributes
b5d09a8agen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b5d09a8agen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b5d09a8agen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "d8684806740f4706b696020c3db4bd16",
"span_id": "94b995320f9b2935",
"parent_span_id": "b5d09a8abc1aa05f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:16.028085Z",
"timestamp": "2026-05-28T07:37:16.947664Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140055229344640",
"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": "86b9010207ca43a3",
"trace_id": "d8684806740f4706b696020c3db4bd16",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:15.993080Z",
"timestamp": "2026-05-28T07:37:17.071932Z",
"data": {
"thread.id": "140055229344640",
"thread.name": "MainThread"
}
},
{
"span_id": "b5d09a8abc1aa05f",
"trace_id": "d8684806740f4706b696020c3db4bd16",
"parent_span_id": "86b9010207ca43a3",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953836.02701,
"timestamp": 1779953836.970842,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140055229344640",
"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": "86b9010207ca43a3",
"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 113396ms
Critical
checkChatSpanAttributes
b0bf3716gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0bf3716gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b0bf3716gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b0bf3716gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "1710f08c225d4b418471f3ac6e6dcac3",
"span_id": "95760f856971cf6a",
"parent_span_id": "b0bf371661bb26a0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:16.692383Z",
"timestamp": "2026-05-28T07:37:17.568735Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139780374641536",
"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": "8021a5ff0f891e4c",
"trace_id": "1710f08c225d4b418471f3ac6e6dcac3",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:16.361345Z",
"timestamp": "2026-05-28T07:37:17.683703Z",
"data": {
"thread.id": "139780374641536",
"thread.name": "MainThread"
}
},
{
"span_id": "b0bf371661bb26a0",
"trace_id": "1710f08c225d4b418471f3ac6e6dcac3",
"parent_span_id": "8021a5ff0f891e4c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953836.690884,
"timestamp": 1779953837.580279,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139780374641536",
"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": "8021a5ff0f891e4c",
"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 113773ms
Critical
checkChatSpanAttributes
aea0334bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aea0334bgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
aea0334bgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
aea0334bgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "baae8f1238944c569974d9c939a1bde0",
"span_id": "abf0ee01243bb29d",
"parent_span_id": "aea0334bfdee71d9",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:37:17.222850Z",
"timestamp": "2026-05-28T07:37:17.225989Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21366
},
"data": {
"thread.id": "140514513479360",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "baae8f1238944c569974d9c939a1bde0",
"span_id": "b968d744dd7246d0",
"parent_span_id": "aea0334bfdee71d9",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:37:17.226080Z",
"timestamp": "2026-05-28T07:37:17.226919Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21366
},
"data": {
"thread.id": "140514513479360",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "baae8f1238944c569974d9c939a1bde0",
"span_id": "a7713b2e456c8d90",
"parent_span_id": "b968d744dd7246d0",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:17.226862Z",
"timestamp": "2026-05-28T07:37:17.226904Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21366
},
"data": {
"thread.id": "140514513479360",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "baae8f1238944c569974d9c939a1bde0",
"span_id": "8ea43833fbaead66",
"parent_span_id": "aea0334bfdee71d9",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:17.226954Z",
"timestamp": "2026-05-28T07:37:17.226969Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21366
},
"data": {
"thread.id": "140514513479360",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "baae8f1238944c569974d9c939a1bde0",
"span_id": "95a59ae1d711509b",
"parent_span_id": "aea0334bfdee71d9",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:17.229680Z",
"timestamp": "2026-05-28T07:37:17.771843Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140514669312896",
"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": "baae8f1238944c569974d9c939a1bde0",
"span_id": "99d0d905a0d7add2",
"parent_span_id": "95a59ae1d711509b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:17.230521Z",
"timestamp": "2026-05-28T07:37:17.770355Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140514669312896",
"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": "8876495fd32e5788",
"trace_id": "baae8f1238944c569974d9c939a1bde0",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:17.170119Z",
"timestamp": "2026-05-28T07:37:18.926065Z",
"data": {
"thread.id": "140514669312896",
"thread.name": "MainThread"
}
},
{
"span_id": "aea0334bfdee71d9",
"trace_id": "baae8f1238944c569974d9c939a1bde0",
"parent_span_id": "8876495fd32e5788",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953837.208353,
"timestamp": 1779953838.819436,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140514669312896",
"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": "8876495fd32e5788",
"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 113507ms
Critical
checkChatSpanAttributes
861c05e8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
861c05e8gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
861c05e8gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
861c05e8gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "4ea2b8201e9e405a964e2917ecdd8fd6",
"span_id": "8891284a8e873cad",
"parent_span_id": "861c05e8f1e4a684",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:19.433782Z",
"timestamp": "2026-05-28T07:37:19.922842Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140508486740864",
"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": "4ea2b8201e9e405a964e2917ecdd8fd6",
"span_id": "8f308d4bf13e1c71",
"parent_span_id": "8891284a8e873cad",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:19.434811Z",
"timestamp": "2026-05-28T07:37:19.921258Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140508486740864",
"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": "8129a3ec57ad45e9",
"trace_id": "4ea2b8201e9e405a964e2917ecdd8fd6",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:18.655436Z",
"timestamp": "2026-05-28T07:37:20.140063Z",
"data": {
"thread.id": "140508486740864",
"thread.name": "MainThread"
}
},
{
"span_id": "861c05e8f1e4a684",
"trace_id": "4ea2b8201e9e405a964e2917ecdd8fd6",
"parent_span_id": "8129a3ec57ad45e9",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953839.429239,
"timestamp": 1779953840.034453,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140508332123840",
"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": "8129a3ec57ad45e9",
"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 214881ms
Critical
checkChatSpanAttributes
9006382egen_ai.usage.input_tokensSpan 9006382e: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9006382egen_ai.usage.output_tokensSpan 9006382e: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkValidTokenUsage
9006382egen_ai.usage.input_tokensinput_tokens must exist
9006382egen_ai.usage.output_tokensoutput_tokens must exist
9006382egen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
9006382egen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
9006382egen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "8dc00c3b512f4f15bd3b3f04682f8765",
"span_id": "a538ed7c252ddec4",
"parent_span_id": "9006382eb3793cae",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:20.961470Z",
"timestamp": "2026-05-28T07:37:21.153510Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139736581503872",
"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": "8dc00c3b512f4f15bd3b3f04682f8765",
"span_id": "8d78983b9823661f",
"parent_span_id": "a538ed7c252ddec4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:20.962394Z",
"timestamp": "2026-05-28T07:37:21.152322Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139736581503872",
"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": "90e972019db59789",
"trace_id": "8dc00c3b512f4f15bd3b3f04682f8765",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:20.099657Z",
"timestamp": "2026-05-28T07:37:22.496919Z",
"data": {
"thread.id": "139736581503872",
"thread.name": "MainThread"
}
},
{
"span_id": "9006382eb3793cae",
"trace_id": "8dc00c3b512f4f15bd3b3f04682f8765",
"parent_span_id": "90e972019db59789",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953840.960384,
"timestamp": 1779953842.388557,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139736581503872",
"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": "90e972019db59789",
"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 114291ms
Critical
checkChatSpanAttributes
a7173fd6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a7173fd6gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a7173fd6gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a7173fd6gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "fb77176463364bbdaffe5d60c63d0e8a",
"span_id": "967700a9131d4543",
"parent_span_id": "a7173fd60a498fd6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:23.823967Z",
"timestamp": "2026-05-28T07:37:24.655535Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139938667125632",
"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": "fb77176463364bbdaffe5d60c63d0e8a",
"span_id": "b178a9bc102de024",
"parent_span_id": "967700a9131d4543",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:23.825024Z",
"timestamp": "2026-05-28T07:37:24.654273Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139938667125632",
"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": "a5c36793f808643b",
"trace_id": "fb77176463364bbdaffe5d60c63d0e8a",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:23.094490Z",
"timestamp": "2026-05-28T07:37:24.919114Z",
"data": {
"thread.id": "139938667125632",
"thread.name": "MainThread"
}
},
{
"span_id": "a7173fd60a498fd6",
"trace_id": "fb77176463364bbdaffe5d60c63d0e8a",
"parent_span_id": "a5c36793f808643b",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953843.822518,
"timestamp": 1779953844.808383,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139938399766208",
"thread.name": "asyncio_1",
"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": "a5c36793f808643b",
"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 112608ms
Critical
checkChatSpanAttributes
a32c2ca5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a32c2ca5gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a32c2ca5gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a32c2ca5gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "eb07416aaf7f41d3ad2f7079bdbbbdd0",
"span_id": "abfce7f7bceadc76",
"parent_span_id": "a32c2ca5d039ea62",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:37:22.481804Z",
"timestamp": "2026-05-28T07:37:22.488726Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21403
},
"data": {
"thread.id": "140407137199808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "eb07416aaf7f41d3ad2f7079bdbbbdd0",
"span_id": "928cd7b7c5018795",
"parent_span_id": "a32c2ca5d039ea62",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:37:22.488824Z",
"timestamp": "2026-05-28T07:37:22.488961Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21403
},
"data": {
"thread.id": "140407137199808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "eb07416aaf7f41d3ad2f7079bdbbbdd0",
"span_id": "91187e70730ddcf6",
"parent_span_id": "928cd7b7c5018795",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:22.488917Z",
"timestamp": "2026-05-28T07:37:22.488951Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21403
},
"data": {
"thread.id": "140407137199808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "eb07416aaf7f41d3ad2f7079bdbbbdd0",
"span_id": "86e498ac4fb80d48",
"parent_span_id": "a32c2ca5d039ea62",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:22.488993Z",
"timestamp": "2026-05-28T07:37:22.489006Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21403
},
"data": {
"thread.id": "140407137199808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "eb07416aaf7f41d3ad2f7079bdbbbdd0",
"span_id": "93aa984e82363846",
"parent_span_id": "a32c2ca5d039ea62",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:22.492422Z",
"timestamp": "2026-05-28T07:37:23.074943Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140407292935040",
"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": "eb07416aaf7f41d3ad2f7079bdbbbdd0",
"span_id": "b4cca8eb98946199",
"parent_span_id": "93aa984e82363846",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:22.493259Z",
"timestamp": "2026-05-28T07:37:23.073355Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140407292935040",
"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": "97df239bba40023b",
"trace_id": "eb07416aaf7f41d3ad2f7079bdbbbdd0",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:22.385980Z",
"timestamp": "2026-05-28T07:37:23.292493Z",
"data": {
"thread.id": "140407292935040",
"thread.name": "MainThread"
}
},
{
"span_id": "a32c2ca5d039ea62",
"trace_id": "eb07416aaf7f41d3ad2f7079bdbbbdd0",
"parent_span_id": "97df239bba40023b",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953842.462771,
"timestamp": 1779953843.199885,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140407292935040",
"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": "97df239bba40023b",
"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 113667ms
Critical
checkChatSpanAttributes
93e3d80bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
93e3d80bgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
93e3d80bgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
93e3d80bgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "67a5c64fa86640c6803201651fcf5d4d",
"span_id": "92f5f62daf5e4384",
"parent_span_id": "93e3d80bc765b761",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:26.280985Z",
"timestamp": "2026-05-28T07:37:27.059992Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140695361448832",
"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": "67a5c64fa86640c6803201651fcf5d4d",
"span_id": "91697dd2fe9c0edc",
"parent_span_id": "92f5f62daf5e4384",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:26.281985Z",
"timestamp": "2026-05-28T07:37:27.058336Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140695361448832",
"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": "a224aedc4daeaa15",
"trace_id": "67a5c64fa86640c6803201651fcf5d4d",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:25.338349Z",
"timestamp": "2026-05-28T07:37:27.252000Z",
"data": {
"thread.id": "140695361448832",
"thread.name": "MainThread"
}
},
{
"span_id": "93e3d80bc765b761",
"trace_id": "67a5c64fa86640c6803201651fcf5d4d",
"parent_span_id": "a224aedc4daeaa15",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953846.270349,
"timestamp": 1779953847.143128,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140695206192832",
"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": "a224aedc4daeaa15",
"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 115271ms
Critical
checkChatSpanAttributes
b3e48e62gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b3e48e62gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b3e48e62gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "2cd77670becb4f3599afed45d59118e9",
"span_id": "8903e91754bae1a1",
"parent_span_id": "b3e48e621a6e1ff2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:29.024848Z",
"timestamp": "2026-05-28T07:37:29.722999Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140113353567104",
"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": "2cd77670becb4f3599afed45d59118e9",
"span_id": "a1101b788fd3a5c3",
"parent_span_id": "8903e91754bae1a1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:29.029781Z",
"timestamp": "2026-05-28T07:37:29.721384Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140113353567104",
"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": "9f0c14cdb05a2a27",
"trace_id": "2cd77670becb4f3599afed45d59118e9",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:28.982020Z",
"timestamp": "2026-05-28T07:37:29.922049Z",
"data": {
"thread.id": "140113353567104",
"thread.name": "MainThread"
}
},
{
"span_id": "b3e48e621a6e1ff2",
"trace_id": "2cd77670becb4f3599afed45d59118e9",
"parent_span_id": "9f0c14cdb05a2a27",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953849.023978,
"timestamp": 1779953849.816858,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140113353567104",
"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": "9f0c14cdb05a2a27",
"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 113699ms
Critical
checkChatSpanAttributes
84d766a5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84d766a5gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
84d766a5gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
84d766a5gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "787a38c2f99144efa1998eb862e7675a",
"span_id": "8b7e939d2228b164",
"parent_span_id": "84d766a5a57acf39",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:30.050548Z",
"timestamp": "2026-05-28T07:37:30.672504Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140362967260032",
"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": "787a38c2f99144efa1998eb862e7675a",
"span_id": "989bcc6a2b4b01b8",
"parent_span_id": "8b7e939d2228b164",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:30.051474Z",
"timestamp": "2026-05-28T07:37:30.671114Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140362967260032",
"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": "a5f7d590b5e9028e",
"trace_id": "787a38c2f99144efa1998eb862e7675a",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:37:29.440194Z",
"timestamp": "2026-05-28T07:37:30.835930Z",
"data": {
"thread.id": "140362967260032",
"thread.name": "MainThread"
}
},
{
"span_id": "84d766a5a57acf39",
"trace_id": "787a38c2f99144efa1998eb862e7675a",
"parent_span_id": "a5f7d590b5e9028e",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953850.049096,
"timestamp": 1779953850.734305,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140362812843712",
"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": "a5f7d590b5e9028e",
"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) 116922ms
Critical
checkChatSpanAttributes
98534af3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
98534af3gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "798384783d55433289a1644f23c5016f",
"span_id": "8fd6b45af9f95c01",
"parent_span_id": "98534af31e6a4bec",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:37:32.620117Z",
"timestamp": "2026-05-28T07:37:32.627721Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21459
},
"data": {
"thread.id": "140359479688064",
"thread.name": "MainThread"
}
},
{
"trace_id": "798384783d55433289a1644f23c5016f",
"span_id": "b23c980f33d8800b",
"parent_span_id": "98534af31e6a4bec",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:37:32.627825Z",
"timestamp": "2026-05-28T07:37:32.627971Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21459
},
"data": {
"thread.id": "140359479688064",
"thread.name": "MainThread"
}
},
{
"trace_id": "798384783d55433289a1644f23c5016f",
"span_id": "9e48b05bde1c4e32",
"parent_span_id": "b23c980f33d8800b",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:32.627923Z",
"timestamp": "2026-05-28T07:37:32.627960Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21459
},
"data": {
"thread.id": "140359479688064",
"thread.name": "MainThread"
}
},
{
"trace_id": "798384783d55433289a1644f23c5016f",
"span_id": "bdaca26785a0bef5",
"parent_span_id": "98534af31e6a4bec",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:32.628008Z",
"timestamp": "2026-05-28T07:37:32.628023Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21459
},
"data": {
"thread.id": "140359479688064",
"thread.name": "MainThread"
}
},
{
"trace_id": "798384783d55433289a1644f23c5016f",
"span_id": "b9ab1afa1dd599a6",
"parent_span_id": "98534af31e6a4bec",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:32.629826Z",
"timestamp": "2026-05-28T07:37:33.314756Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140359479688064",
"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": "a5d28504ca2fcce3",
"trace_id": "798384783d55433289a1644f23c5016f",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:32.540151Z",
"timestamp": "2026-05-28T07:37:34.281085Z",
"data": {
"thread.id": "140359479688064",
"thread.name": "MainThread"
}
},
{
"span_id": "98534af31e6a4bec",
"trace_id": "798384783d55433289a1644f23c5016f",
"parent_span_id": "a5d28504ca2fcce3",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953852.60269,
"timestamp": 1779953854.182003,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140359479688064",
"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": 12,
"gen_ai.usage.total_tokens": 5441,
"gen_ai.response.text": "{\"content\": \"This message is repeatedly stated to create an extensive input text.\", \"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": "a5d28504ca2fcce3",
"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) 114653ms
Critical
checkChatSpanAttributes
971bb256gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
971bb256gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "657d0347f0834775a3f8eea98c860d04",
"span_id": "82d1cc5179c4207e",
"parent_span_id": "971bb256a032bfea",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:30.939126Z",
"timestamp": "2026-05-28T07:37:31.449792Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140428127644544",
"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": "af86d4338bd47256",
"trace_id": "657d0347f0834775a3f8eea98c860d04",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:30.266330Z",
"timestamp": "2026-05-28T07:37:31.765689Z",
"data": {
"thread.id": "140428127644544",
"thread.name": "MainThread"
}
},
{
"span_id": "971bb256a032bfea",
"trace_id": "657d0347f0834775a3f8eea98c860d04",
"parent_span_id": "af86d4338bd47256",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953850.934134,
"timestamp": 1779953851.661351,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140428127644544",
"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": 19,
"gen_ai.usage.total_tokens": 5445,
"gen_ai.response.text": "{\"content\": \"This is a test message that has been repeated many times to create 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": "af86d4338bd47256",
"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) 116575ms
Critical
checkChatSpanAttributes
9ec192d8gen_ai.usage.input_tokensSpan 9ec192d8: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9ec192d8gen_ai.usage.output_tokensSpan 9ec192d8: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "8d4d6ccbe3b14e3aaf21ef3b4f3e2a7f",
"span_id": "bd56e38b4e2309b6",
"parent_span_id": "9ec192d81e47b129",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:33.185331Z",
"timestamp": "2026-05-28T07:37:33.416373Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139807853456256",
"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": "a31b5c396a5bd4bc",
"trace_id": "8d4d6ccbe3b14e3aaf21ef3b4f3e2a7f",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:33.137515Z",
"timestamp": "2026-05-28T07:37:34.496722Z",
"data": {
"thread.id": "139807853456256",
"thread.name": "MainThread"
}
},
{
"span_id": "9ec192d81e47b129",
"trace_id": "8d4d6ccbe3b14e3aaf21ef3b4f3e2a7f",
"parent_span_id": "a31b5c396a5bd4bc",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953853.179273,
"timestamp": 1779953854.388122,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139807853456256",
"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": "a31b5c396a5bd4bc",
"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) 114583ms
Critical
checkChatSpanAttributes
b023511dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b023511dgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "14698f06a19143f6a270922aafe99dc1",
"span_id": "92f1df5c248db344",
"parent_span_id": "b023511d08b2ded4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:32.246849Z",
"timestamp": "2026-05-28T07:37:32.783775Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139875950050176",
"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": "8d73a81898a33bc8",
"trace_id": "14698f06a19143f6a270922aafe99dc1",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:31.352119Z",
"timestamp": "2026-05-28T07:37:33.119733Z",
"data": {
"thread.id": "139875950050176",
"thread.name": "MainThread"
}
},
{
"span_id": "b023511d08b2ded4",
"trace_id": "14698f06a19143f6a270922aafe99dc1",
"parent_span_id": "8d73a81898a33bc8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953852.244809,
"timestamp": 1779953852.984624,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139875950050176",
"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": 19,
"gen_ai.usage.total_tokens": 5445,
"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\"}",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "8d73a81898a33bc8",
"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) 116308ms
Critical
checkChatSpanAttributes
b1420fecgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1420fecgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "0941482b501843ccbb224517263e0b6c",
"span_id": "b5381608dca2e6ae",
"parent_span_id": "b1420fec232ae996",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:37:34.233997Z",
"timestamp": "2026-05-28T07:37:34.240974Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21476
},
"data": {
"thread.id": "139768984738688",
"thread.name": "MainThread"
}
},
{
"trace_id": "0941482b501843ccbb224517263e0b6c",
"span_id": "8fd668e9eb124b66",
"parent_span_id": "b1420fec232ae996",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:37:34.241070Z",
"timestamp": "2026-05-28T07:37:34.241763Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21476
},
"data": {
"thread.id": "139768984738688",
"thread.name": "MainThread"
}
},
{
"trace_id": "0941482b501843ccbb224517263e0b6c",
"span_id": "9ddd7e6914eb7ac6",
"parent_span_id": "8fd668e9eb124b66",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:34.241706Z",
"timestamp": "2026-05-28T07:37:34.241748Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21476
},
"data": {
"thread.id": "139768984738688",
"thread.name": "MainThread"
}
},
{
"trace_id": "0941482b501843ccbb224517263e0b6c",
"span_id": "8e94ee35a2faa9bc",
"parent_span_id": "b1420fec232ae996",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:34.241799Z",
"timestamp": "2026-05-28T07:37:34.241813Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21476
},
"data": {
"thread.id": "139768984738688",
"thread.name": "MainThread"
}
},
{
"trace_id": "0941482b501843ccbb224517263e0b6c",
"span_id": "a568749386060cf4",
"parent_span_id": "b1420fec232ae996",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:34.243576Z",
"timestamp": "2026-05-28T07:37:36.200345Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139768984738688",
"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": "9a32873e3a684bd2",
"trace_id": "0941482b501843ccbb224517263e0b6c",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:34.180657Z",
"timestamp": "2026-05-28T07:37:36.367257Z",
"data": {
"thread.id": "139768984738688",
"thread.name": "MainThread"
}
},
{
"span_id": "b1420fec232ae996",
"trace_id": "0941482b501843ccbb224517263e0b6c",
"parent_span_id": "9a32873e3a684bd2",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953854.222651,
"timestamp": 1779953856.265172,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139768984738688",
"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 test message is repeatedly stated to generate an extensive 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": 12,
"gen_ai.usage.total_tokens": 5441,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "9a32873e3a684bd2",
"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) 116569ms
Critical
checkChatSpanAttributes
866ade89gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
866ade89gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "51779da831e84868bba799a90bfb08bf",
"span_id": "b75c4c668eb2a9dc",
"parent_span_id": "866ade89d3e1b7ec",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:37.178225Z",
"timestamp": "2026-05-28T07:37:37.931943Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139695738108800",
"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": "987f4d5da5ea316e",
"trace_id": "51779da831e84868bba799a90bfb08bf",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:36.578229Z",
"timestamp": "2026-05-28T07:37:38.056276Z",
"data": {
"thread.id": "139695738108800",
"thread.name": "MainThread"
}
},
{
"span_id": "866ade89d3e1b7ec",
"trace_id": "51779da831e84868bba799a90bfb08bf",
"parent_span_id": "987f4d5da5ea316e",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953857.176186,
"timestamp": 1779953857.955056,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139695738108800",
"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\": \"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\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
"gen_ai.usage.input_tokens": 5426,
"gen_ai.usage.output_tokens": 20,
"gen_ai.usage.total_tokens": 5446,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "987f4d5da5ea316e",
"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) 114565ms
Critical
checkChatSpanAttributes
ba090fcegen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "08eb65eb61c0404d9b2cf0fd9f14a8b2",
"span_id": "8bc029091bed644b",
"parent_span_id": "ba090fcef4b35f02",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:35.062992Z",
"timestamp": "2026-05-28T07:37:36.614205Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139720397491072",
"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": "b0c997c95e53e0b6",
"trace_id": "08eb65eb61c0404d9b2cf0fd9f14a8b2",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:35.033741Z",
"timestamp": "2026-05-28T07:37:36.762703Z",
"data": {
"thread.id": "139720397491072",
"thread.name": "MainThread"
}
},
{
"span_id": "ba090fcef4b35f02",
"trace_id": "08eb65eb61c0404d9b2cf0fd9f14a8b2",
"parent_span_id": "b0c997c95e53e0b6",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953855.059361,
"timestamp": 1779953856.660968,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139720397491072",
"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": 16,
"gen_ai.usage.total_tokens": 5445,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "b0c997c95e53e0b6",
"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) 115330ms
Critical
checkChatSpanAttributes
b00d84b7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b00d84b7gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (3)
[
{
"trace_id": "485249b2257c4a26a3503e78b8edfe09",
"span_id": "bb1716d8a60f878c",
"parent_span_id": "b00d84b7a748ab0f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:38.016008Z",
"timestamp": "2026-05-28T07:37:38.757346Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140071425948544",
"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": "b690d0b19035f728",
"trace_id": "485249b2257c4a26a3503e78b8edfe09",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:37.536405Z",
"timestamp": "2026-05-28T07:37:38.876702Z",
"data": {
"thread.id": "140071425948544",
"thread.name": "MainThread"
}
},
{
"span_id": "b00d84b7a748ab0f",
"trace_id": "485249b2257c4a26a3503e78b8edfe09",
"parent_span_id": "b690d0b19035f728",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953858.010911,
"timestamp": 1779953858.772178,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140071425948544",
"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\": \"This is a test message 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": 16,
"gen_ai.usage.total_tokens": 5442,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "b690d0b19035f728",
"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) 116084ms
Critical
checkChatSpanAttributes
a522101fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a522101fgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "4ce75474b23a429b87516572d4888fba",
"span_id": "9f918386aa176fe5",
"parent_span_id": "a522101fb37444fc",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:37:38.973901Z",
"timestamp": "2026-05-28T07:37:38.978730Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21509
},
"data": {
"thread.id": "140560095078080",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "4ce75474b23a429b87516572d4888fba",
"span_id": "ac6b85bc1a6d9741",
"parent_span_id": "a522101fb37444fc",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:37:38.978833Z",
"timestamp": "2026-05-28T07:37:38.978982Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21509
},
"data": {
"thread.id": "140560095078080",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "4ce75474b23a429b87516572d4888fba",
"span_id": "990783b5bd9d0c21",
"parent_span_id": "ac6b85bc1a6d9741",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:38.978934Z",
"timestamp": "2026-05-28T07:37:38.978972Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21509
},
"data": {
"thread.id": "140560095078080",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "4ce75474b23a429b87516572d4888fba",
"span_id": "b1773090288348b2",
"parent_span_id": "a522101fb37444fc",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:38.979019Z",
"timestamp": "2026-05-28T07:37:38.979033Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21509
},
"data": {
"thread.id": "140560095078080",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "4ce75474b23a429b87516572d4888fba",
"span_id": "a87ab993c014ccf8",
"parent_span_id": "a522101fb37444fc",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:38.983960Z",
"timestamp": "2026-05-28T07:37:39.590553Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140560250542976",
"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": "4ce75474b23a429b87516572d4888fba",
"span_id": "8ea633cf00be13e5",
"parent_span_id": "a87ab993c014ccf8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:38.984842Z",
"timestamp": "2026-05-28T07:37:39.589126Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140560250542976",
"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": "aff9793227358c47",
"trace_id": "4ce75474b23a429b87516572d4888fba",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:38.892047Z",
"timestamp": "2026-05-28T07:37:40.733952Z",
"data": {
"thread.id": "140560250542976",
"thread.name": "MainThread"
}
},
{
"span_id": "a522101fb37444fc",
"trace_id": "4ce75474b23a429b87516572d4888fba",
"parent_span_id": "aff9793227358c47",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953858.956341,
"timestamp": 1779953860.626526,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140560250542976",
"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 indicates that a test statement will be repeatedly used to generate a lengthy input.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
"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": "aff9793227358c47",
"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) 113635ms
Critical
checkChatSpanAttributes
86a41e2cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
86a41e2cgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "04b0affc9ce54aa0b3e7202dfc846fe6",
"span_id": "89a91df43d49932a",
"parent_span_id": "86a41e2c33d99729",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:39.562551Z",
"timestamp": "2026-05-28T07:37:40.100468Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140161896688512",
"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": "04b0affc9ce54aa0b3e7202dfc846fe6",
"span_id": "86279873ec40d60a",
"parent_span_id": "89a91df43d49932a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:39.563496Z",
"timestamp": "2026-05-28T07:37:40.099243Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140161896688512",
"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": "82730a8da18d9c18",
"trace_id": "04b0affc9ce54aa0b3e7202dfc846fe6",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:38.897739Z",
"timestamp": "2026-05-28T07:37:40.391027Z",
"data": {
"thread.id": "140161896688512",
"thread.name": "MainThread"
}
},
{
"span_id": "86a41e2c33d99729",
"trace_id": "04b0affc9ce54aa0b3e7202dfc846fe6",
"parent_span_id": "82730a8da18d9c18",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953859.560426,
"timestamp": 1779953860.280986,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140161741055680",
"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 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": "82730a8da18d9c18",
"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) 118209ms
Critical
checkChatSpanAttributes
99236fbegen_ai.usage.input_tokensSpan 99236fbe: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
99236fbegen_ai.usage.output_tokensSpan 99236fbe: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "41c5f565346943f5a68001e61d2a0103",
"span_id": "805cf396aa870179",
"parent_span_id": "99236fbebe2518f6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:44.958924Z",
"timestamp": "2026-05-28T07:37:45.196369Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139647282830208",
"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": "41c5f565346943f5a68001e61d2a0103",
"span_id": "82344049b44ba443",
"parent_span_id": "805cf396aa870179",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:44.962899Z",
"timestamp": "2026-05-28T07:37:45.195287Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139647282830208",
"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": "b792e29f5a6b2e50",
"trace_id": "41c5f565346943f5a68001e61d2a0103",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:43.994426Z",
"timestamp": "2026-05-28T07:37:48.244012Z",
"data": {
"thread.id": "139647282830208",
"thread.name": "MainThread"
}
},
{
"span_id": "99236fbebe2518f6",
"trace_id": "41c5f565346943f5a68001e61d2a0103",
"parent_span_id": "b792e29f5a6b2e50",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953864.957337,
"timestamp": 1779953868.132558,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139647282830208",
"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": "b792e29f5a6b2e50",
"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) 115465ms
Critical
checkChatSpanAttributes
b8d4f876gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8d4f876gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "6546dd192d03423cb2215c059f33ad8b",
"span_id": "a0195096665a86d6",
"parent_span_id": "b8d4f8769df2d781",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:45.773796Z",
"timestamp": "2026-05-28T07:37:46.344523Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139728929524608",
"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": "6546dd192d03423cb2215c059f33ad8b",
"span_id": "bbaf1ad921ec05d7",
"parent_span_id": "a0195096665a86d6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:45.774833Z",
"timestamp": "2026-05-28T07:37:46.343265Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139728929524608",
"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": "a40c283cd85f41e1",
"trace_id": "6546dd192d03423cb2215c059f33ad8b",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:44.662080Z",
"timestamp": "2026-05-28T07:37:46.694052Z",
"data": {
"thread.id": "139728929524608",
"thread.name": "MainThread"
}
},
{
"span_id": "b8d4f8769df2d781",
"trace_id": "6546dd192d03423cb2215c059f33ad8b",
"parent_span_id": "a40c283cd85f41e1",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953865.771909,
"timestamp": 1779953866.578512,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139728774588096",
"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 message is a test string 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": 17,
"gen_ai.usage.total_tokens": 5443,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "a40c283cd85f41e1",
"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) 115987ms
Critical
checkChatSpanAttributes
b01aa02bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b01aa02bgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (8)
[
{
"trace_id": "ddcc0c57c8f242c698293b840d5921e1",
"span_id": "808ebfee84ccaa4e",
"parent_span_id": "b01aa02b28e73d9c",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:37:46.858337Z",
"timestamp": "2026-05-28T07:37:46.861557Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21546
},
"data": {
"thread.id": "140474346727104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ddcc0c57c8f242c698293b840d5921e1",
"span_id": "98559eff354d5824",
"parent_span_id": "b01aa02b28e73d9c",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:37:46.861667Z",
"timestamp": "2026-05-28T07:37:46.861808Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21546
},
"data": {
"thread.id": "140474346727104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ddcc0c57c8f242c698293b840d5921e1",
"span_id": "870bbffde4d355d2",
"parent_span_id": "98559eff354d5824",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:46.861763Z",
"timestamp": "2026-05-28T07:37:46.861797Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21546
},
"data": {
"thread.id": "140474346727104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ddcc0c57c8f242c698293b840d5921e1",
"span_id": "89d17cfc44c90bc4",
"parent_span_id": "b01aa02b28e73d9c",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:46.861845Z",
"timestamp": "2026-05-28T07:37:46.861860Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21546
},
"data": {
"thread.id": "140474346727104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ddcc0c57c8f242c698293b840d5921e1",
"span_id": "b9e7a58b2691aa54",
"parent_span_id": "b01aa02b28e73d9c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:46.863827Z",
"timestamp": "2026-05-28T07:37:47.783048Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140474502335360",
"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": "ddcc0c57c8f242c698293b840d5921e1",
"span_id": "80baf662cccc738d",
"parent_span_id": "b9e7a58b2691aa54",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:46.864694Z",
"timestamp": "2026-05-28T07:37:47.775270Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140474502335360",
"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": "95d2918b5b2de61a",
"trace_id": "ddcc0c57c8f242c698293b840d5921e1",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:46.798518Z",
"timestamp": "2026-05-28T07:37:48.011911Z",
"data": {
"thread.id": "140474502335360",
"thread.name": "MainThread"
}
},
{
"span_id": "b01aa02b28e73d9c",
"trace_id": "ddcc0c57c8f242c698293b840d5921e1",
"parent_span_id": "95d2918b5b2de61a",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953866.846781,
"timestamp": 1779953867.896689,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140474502335360",
"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 test message that will be repeated multiple times to create a 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": 17,
"gen_ai.usage.total_tokens": 5446,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "95d2918b5b2de61a",
"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) 115954ms
Critical
checkChatSpanAttributes
897ec726gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
897ec726gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "044b78140fae49f8a820bc8e937c83b3",
"span_id": "b8f900002c784b85",
"parent_span_id": "897ec7266ad23a7f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:48.234324Z",
"timestamp": "2026-05-28T07:37:48.981801Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139928762272640",
"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": "044b78140fae49f8a820bc8e937c83b3",
"span_id": "83efe3d5b463320a",
"parent_span_id": "b8f900002c784b85",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:48.235289Z",
"timestamp": "2026-05-28T07:37:48.980328Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139928762272640",
"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": "8f66ee56164551d8",
"trace_id": "044b78140fae49f8a820bc8e937c83b3",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:47.594544Z",
"timestamp": "2026-05-28T07:37:49.152901Z",
"data": {
"thread.id": "139928762272640",
"thread.name": "MainThread"
}
},
{
"span_id": "897ec7266ad23a7f",
"trace_id": "044b78140fae49f8a820bc8e937c83b3",
"parent_span_id": "8f66ee56164551d8",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953868.232271,
"timestamp": 1779953869.043811,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139928606959296",
"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 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": "8f66ee56164551d8",
"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) 115723ms
Critical
checkChatSpanAttributes
9e53439egen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "53bf6688b24d4d949303a40261321940",
"span_id": "a98bf5af0a22f5b2",
"parent_span_id": "9e53439e97132709",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:48.601751Z",
"timestamp": "2026-05-28T07:37:50.306782Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140274134227840",
"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": "53bf6688b24d4d949303a40261321940",
"span_id": "a4521c6013368b25",
"parent_span_id": "a98bf5af0a22f5b2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:48.605707Z",
"timestamp": "2026-05-28T07:37:50.305367Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140274134227840",
"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": "95cdef49268e000b",
"trace_id": "53bf6688b24d4d949303a40261321940",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:48.577013Z",
"timestamp": "2026-05-28T07:37:50.486011Z",
"data": {
"thread.id": "140274134227840",
"thread.name": "MainThread"
}
},
{
"span_id": "9e53439e97132709",
"trace_id": "53bf6688b24d4d949303a40261321940",
"parent_span_id": "95cdef49268e000b",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953868.600343,
"timestamp": 1779953870.389707,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140274134227840",
"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": "95cdef49268e000b",
"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) 114391ms
Critical
checkChatSpanAttributes
83fef485gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
83fef485gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (4)
[
{
"trace_id": "97b326f8e26046239c69eb8e18cff468",
"span_id": "a5ba7ae566132f0d",
"parent_span_id": "83fef485a1ddb75a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:48.499874Z",
"timestamp": "2026-05-28T07:37:49.218982Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140322007751552",
"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": "97b326f8e26046239c69eb8e18cff468",
"span_id": "85c1ce118dcc06bd",
"parent_span_id": "a5ba7ae566132f0d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:48.500835Z",
"timestamp": "2026-05-28T07:37:49.217324Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140322007751552",
"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": "a4c275624d27b997",
"trace_id": "97b326f8e26046239c69eb8e18cff468",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:37:47.631643Z",
"timestamp": "2026-05-28T07:37:49.393938Z",
"data": {
"thread.id": "140322007751552",
"thread.name": "MainThread"
}
},
{
"span_id": "83fef485a1ddb75a",
"trace_id": "97b326f8e26046239c69eb8e18cff468",
"parent_span_id": "a4c275624d27b997",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953868.495511,
"timestamp": 1779953869.289264,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140321835538112",
"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 has been 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": 20,
"gen_ai.usage.total_tokens": 5446,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "a4c275624d27b997",
"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) 120931ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
b85a8675gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b85a8675gen_ai.output.messagesMissing output messages attribute
8adfbf81gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8adfbf81gen_ai.output.messagesMissing output messages attribute
b8fdb18fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8fdb18fgen_ai.output.messagesMissing output messages attribute
9dd86a9dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9dd86a9dgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "b19160b2a3ba44c98a0b65c18deea54b",
"span_id": "9d15427158b14ab4",
"parent_span_id": "b85a867559ec601b",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:37:49.787491Z",
"timestamp": "2026-05-28T07:37:49.795786Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21576
},
"data": {
"thread.id": "140085999049600",
"thread.name": "MainThread"
}
},
{
"trace_id": "b19160b2a3ba44c98a0b65c18deea54b",
"span_id": "8b5e0047076a372e",
"parent_span_id": "b85a867559ec601b",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:37:49.795896Z",
"timestamp": "2026-05-28T07:37:49.796079Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21576
},
"data": {
"thread.id": "140085999049600",
"thread.name": "MainThread"
}
},
{
"trace_id": "b19160b2a3ba44c98a0b65c18deea54b",
"span_id": "a8122ad54f3726aa",
"parent_span_id": "8b5e0047076a372e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:49.796017Z",
"timestamp": "2026-05-28T07:37:49.796058Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21576
},
"data": {
"thread.id": "140085999049600",
"thread.name": "MainThread"
}
},
{
"trace_id": "b19160b2a3ba44c98a0b65c18deea54b",
"span_id": "ab7175778b935180",
"parent_span_id": "b85a867559ec601b",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:49.796118Z",
"timestamp": "2026-05-28T07:37:49.796136Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21576
},
"data": {
"thread.id": "140085999049600",
"thread.name": "MainThread"
}
},
{
"trace_id": "b19160b2a3ba44c98a0b65c18deea54b",
"span_id": "b40b0bf978790fcb",
"parent_span_id": "b85a867559ec601b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:49.797832Z",
"timestamp": "2026-05-28T07:37:51.061742Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140085999049600",
"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": "b19160b2a3ba44c98a0b65c18deea54b",
"span_id": "a8c0f9424781c976",
"parent_span_id": "8adfbf816c14406c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:51.969609Z",
"timestamp": "2026-05-28T07:37:53.673947Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140085999049600",
"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": "b19160b2a3ba44c98a0b65c18deea54b",
"span_id": "ba229a3ae377fce5",
"parent_span_id": "b8fdb18f92f7f53e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:53.911333Z",
"timestamp": "2026-05-28T07:37:55.557522Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140085999049600",
"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": "b19160b2a3ba44c98a0b65c18deea54b",
"span_id": "989726ebdea931e2",
"parent_span_id": "9dd86a9dfdac46a6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:55.803939Z",
"timestamp": "2026-05-28T07:37:56.919386Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140085999049600",
"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": "9265eeeadb2f354c",
"trace_id": "b19160b2a3ba44c98a0b65c18deea54b",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:37:49.762051Z",
"timestamp": "2026-05-28T07:37:57.166708Z",
"data": {
"thread.id": "140085999049600",
"thread.name": "MainThread"
}
},
{
"span_id": "b85a867559ec601b",
"trace_id": "b19160b2a3ba44c98a0b65c18deea54b",
"parent_span_id": "9265eeeadb2f354c",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953869.782067,
"timestamp": 1779953871.855158,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140085999049600",
"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": 144,
"gen_ai.usage.total_tokens": 167,
"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": "9265eeeadb2f354c",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8adfbf816c14406c",
"trace_id": "b19160b2a3ba44c98a0b65c18deea54b",
"parent_span_id": "9265eeeadb2f354c",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953871.964334,
"timestamp": 1779953873.800349,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140085999049600",
"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": 223,
"gen_ai.usage.total_tokens": 247,
"gen_ai.response.text": "{\"content\": \"4. If you add two and two, you get four. Want a quick explanation or some more examples?\", \"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": "9265eeeadb2f354c",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b8fdb18f92f7f53e",
"trace_id": "b19160b2a3ba44c98a0b65c18deea54b",
"parent_span_id": "9265eeeadb2f354c",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953873.90248,
"timestamp": 1779953875.689335,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140085999049600",
"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": 287,
"gen_ai.usage.total_tokens": 331,
"gen_ai.response.text": "{\"content\": \"The capital of Germany is Berlin. If you want more details about Berlin or Germany, I can share them.\", \"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": "9265eeeadb2f354c",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9dd86a9dfdac46a6",
"trace_id": "b19160b2a3ba44c98a0b65c18deea54b",
"parent_span_id": "9265eeeadb2f354c",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953875.797126,
"timestamp": 1779953877.063847,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140085999049600",
"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.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 165,
"gen_ai.usage.total_tokens": 215,
"gen_ai.response.text": "{\"content\": \"3 + 3 = 6. \\nIf you like, I can show a quick mental-math trick for doubling numbers like this.\", \"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": "9265eeeadb2f354c",
"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) 117345ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
be62004bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
be62004bgen_ai.output.messagesMissing output messages attribute
bb88a719gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bb88a719gen_ai.output.messagesMissing output messages attribute
938e0a5bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
938e0a5bgen_ai.output.messagesMissing output messages attribute
a0968e5agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a0968e5agen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "cbf2e0b2ef194eebacb6fdf5ccb5880e",
"span_id": "a7515f131e84c058",
"parent_span_id": "be62004ba5f427d7",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:51.260575Z",
"timestamp": "2026-05-28T07:37:51.812045Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140491363154816",
"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": "cbf2e0b2ef194eebacb6fdf5ccb5880e",
"span_id": "9ea8e1bfef92a19a",
"parent_span_id": "bb88a719ffe21850",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:51.984923Z",
"timestamp": "2026-05-28T07:37:52.487452Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140491363154816",
"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": "cbf2e0b2ef194eebacb6fdf5ccb5880e",
"span_id": "82cc9c23a978b90d",
"parent_span_id": "938e0a5bad04f0d7",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:53.092892Z",
"timestamp": "2026-05-28T07:37:53.541353Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140491363154816",
"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": "cbf2e0b2ef194eebacb6fdf5ccb5880e",
"span_id": "bb88301be4a4b187",
"parent_span_id": "a0968e5aede50ae8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:53.712601Z",
"timestamp": "2026-05-28T07:37:54.262368Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140491363154816",
"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": "98587059c470ac06",
"trace_id": "cbf2e0b2ef194eebacb6fdf5ccb5880e",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:37:50.446282Z",
"timestamp": "2026-05-28T07:37:54.444691Z",
"data": {
"thread.id": "140491363154816",
"thread.name": "MainThread"
}
},
{
"span_id": "be62004ba5f427d7",
"trace_id": "cbf2e0b2ef194eebacb6fdf5ccb5880e",
"parent_span_id": "98587059c470ac06",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953871.252001,
"timestamp": 1779953871.880219,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140491363154816",
"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.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": "98587059c470ac06",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bb88a719ffe21850",
"trace_id": "cbf2e0b2ef194eebacb6fdf5ccb5880e",
"parent_span_id": "98587059c470ac06",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953871.982062,
"timestamp": 1779953872.983624,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140491363154816",
"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": 44,
"gen_ai.usage.total_tokens": 67,
"gen_ai.response.text": "{\"content\": \"2 + 2 = **4**\\n\\nThis is one of the fundamental addition facts in mathematics. You're adding two groups of 2, which gives you 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": "98587059c470ac06",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "938e0a5bad04f0d7",
"trace_id": "cbf2e0b2ef194eebacb6fdf5ccb5880e",
"parent_span_id": "98587059c470ac06",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953873.086064,
"timestamp": 1779953873.610668,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140491363154816",
"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": "98587059c470ac06",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a0968e5aede50ae8",
"trace_id": "cbf2e0b2ef194eebacb6fdf5ccb5880e",
"parent_span_id": "98587059c470ac06",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953873.711791,
"timestamp": 1779953874.343853,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140491363154816",
"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": "98587059c470ac06",
"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 121938ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
afc9155egen_ai.usage.input_tokensSpan afc9155e: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
afc9155egen_ai.usage.output_tokensSpan afc9155e: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9064835dgen_ai.usage.input_tokensSpan 9064835d: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9064835dgen_ai.usage.output_tokensSpan 9064835d: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b04d1c40gen_ai.usage.input_tokensSpan b04d1c40: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b04d1c40gen_ai.usage.output_tokensSpan b04d1c40: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b57b7f5egen_ai.usage.input_tokensSpan b57b7f5e: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b57b7f5egen_ai.usage.output_tokensSpan b57b7f5e: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
afc9155egen_ai.usage.input_tokensinput_tokens must exist
afc9155egen_ai.usage.output_tokensoutput_tokens must exist
afc9155egen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "fa9220de8ea747829e13166f4cd6b675",
"span_id": "9497e7664a198c75",
"parent_span_id": "afc9155eda98a961",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:52.235134Z",
"timestamp": "2026-05-28T07:37:52.518802Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140127352478592",
"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": "fa9220de8ea747829e13166f4cd6b675",
"span_id": "906c01f239ed3624",
"parent_span_id": "9064835dabd6b412",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:54.009548Z",
"timestamp": "2026-05-28T07:37:54.247299Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140127352478592",
"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": "fa9220de8ea747829e13166f4cd6b675",
"span_id": "903fe80f5da57b0c",
"parent_span_id": "b04d1c405d93cdd7",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:56.356078Z",
"timestamp": "2026-05-28T07:37:56.541873Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140127352478592",
"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": "fa9220de8ea747829e13166f4cd6b675",
"span_id": "b92d5ec6de65f112",
"parent_span_id": "b57b7f5e7ca3db21",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:57.856988Z",
"timestamp": "2026-05-28T07:37:58.047224Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140127352478592",
"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": "b5c592fe371bf0bf",
"trace_id": "fa9220de8ea747829e13166f4cd6b675",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:37:52.196237Z",
"timestamp": "2026-05-28T07:38:00.335834Z",
"data": {
"thread.id": "140127352478592",
"thread.name": "MainThread"
}
},
{
"span_id": "afc9155eda98a961",
"trace_id": "fa9220de8ea747829e13166f4cd6b675",
"parent_span_id": "b5c592fe371bf0bf",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953872.231077,
"timestamp": 1779953873.899079,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140127352478592",
"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": "b5c592fe371bf0bf",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9064835dabd6b412",
"trace_id": "fa9220de8ea747829e13166f4cd6b675",
"parent_span_id": "b5c592fe371bf0bf",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953874.008838,
"timestamp": 1779953876.247146,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140127352478592",
"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": "b5c592fe371bf0bf",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b04d1c405d93cdd7",
"trace_id": "fa9220de8ea747829e13166f4cd6b675",
"parent_span_id": "b5c592fe371bf0bf",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953876.355349,
"timestamp": 1779953877.750883,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140127352478592",
"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": "b5c592fe371bf0bf",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b57b7f5e7ca3db21",
"trace_id": "fa9220de8ea747829e13166f4cd6b675",
"parent_span_id": "b5c592fe371bf0bf",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953877.856305,
"timestamp": 1779953880.23156,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140127352478592",
"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": "b5c592fe371bf0bf",
"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) 117596ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
82ecf751gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82ecf751gen_ai.output.messagesMissing output messages attribute
9961387cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9961387cgen_ai.output.messagesMissing output messages attribute
96228208gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
96228208gen_ai.output.messagesMissing output messages attribute
bf316f84gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bf316f84gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "eaec50baef7a4219b3e6417f54d7f5b8",
"span_id": "9d2278b04fd24826",
"parent_span_id": "82ecf751f96f071d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:53.435326Z",
"timestamp": "2026-05-28T07:37:53.899626Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139866265971584",
"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": "eaec50baef7a4219b3e6417f54d7f5b8",
"span_id": "a9ca5ded123bb610",
"parent_span_id": "9961387c04d595f8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:54.415019Z",
"timestamp": "2026-05-28T07:37:54.844417Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139866265971584",
"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": "eaec50baef7a4219b3e6417f54d7f5b8",
"span_id": "bfb8e2ebb1130c82",
"parent_span_id": "96228208956d1d45",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:55.152601Z",
"timestamp": "2026-05-28T07:37:55.562516Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139866265971584",
"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": "eaec50baef7a4219b3e6417f54d7f5b8",
"span_id": "8b71ddfde5e0ad26",
"parent_span_id": "bf316f84a0fd5f90",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:55.767484Z",
"timestamp": "2026-05-28T07:37:56.275291Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139866265971584",
"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": "9992d0c5df3745cb",
"trace_id": "eaec50baef7a4219b3e6417f54d7f5b8",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:37:52.573762Z",
"timestamp": "2026-05-28T07:37:56.494324Z",
"data": {
"thread.id": "139866265971584",
"thread.name": "MainThread"
}
},
{
"span_id": "82ecf751f96f071d",
"trace_id": "eaec50baef7a4219b3e6417f54d7f5b8",
"parent_span_id": "9992d0c5df3745cb",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953873.430805,
"timestamp": 1779953874.285684,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139866265971584",
"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": 36,
"gen_ai.usage.total_tokens": 56,
"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 the country's largest city.\", \"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": "9992d0c5df3745cb",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9961387c04d595f8",
"trace_id": "eaec50baef7a4219b3e6417f54d7f5b8",
"parent_span_id": "9992d0c5df3745cb",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953874.413158,
"timestamp": 1779953875.028771,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139866265971584",
"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": 27,
"gen_ai.usage.total_tokens": 50,
"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\": \"None\"}",
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "9992d0c5df3745cb",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "96228208956d1d45",
"trace_id": "eaec50baef7a4219b3e6417f54d7f5b8",
"parent_span_id": "9992d0c5df3745cb",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953875.151876,
"timestamp": 1779953875.647327,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139866265971584",
"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": "9992d0c5df3745cb",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bf316f84a0fd5f90",
"trace_id": "eaec50baef7a4219b3e6417f54d7f5b8",
"parent_span_id": "9992d0c5df3745cb",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953875.766812,
"timestamp": 1779953876.373028,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139866265971584",
"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": "9992d0c5df3745cb",
"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) 118697ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
8c14f254gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c14f254gen_ai.output.messagesMissing output messages attribute
95bc3b2agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
95bc3b2agen_ai.output.messagesMissing output messages attribute
84d6a8abgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84d6a8abgen_ai.output.messagesMissing output messages attribute
8ebe9ec5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8ebe9ec5gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "6b652f67377043bd9b81aab2c2520c85",
"span_id": "97ce27747d4c97e8",
"parent_span_id": "8c14f2545ac4b366",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:37:53.489663Z",
"timestamp": "2026-05-28T07:37:53.491083Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21604
},
"data": {
"thread.id": "140381774916480",
"thread.name": "MainThread"
}
},
{
"trace_id": "6b652f67377043bd9b81aab2c2520c85",
"span_id": "af5b7edef592687d",
"parent_span_id": "8c14f2545ac4b366",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:37:53.491170Z",
"timestamp": "2026-05-28T07:37:53.492163Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21604
},
"data": {
"thread.id": "140381774916480",
"thread.name": "MainThread"
}
},
{
"trace_id": "6b652f67377043bd9b81aab2c2520c85",
"span_id": "a2550f174c61d8c0",
"parent_span_id": "af5b7edef592687d",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:53.491962Z",
"timestamp": "2026-05-28T07:37:53.492144Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21604
},
"data": {
"thread.id": "140381774916480",
"thread.name": "MainThread"
}
},
{
"trace_id": "6b652f67377043bd9b81aab2c2520c85",
"span_id": "8c4c395d3ffa63b2",
"parent_span_id": "8c14f2545ac4b366",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:53.492214Z",
"timestamp": "2026-05-28T07:37:53.492235Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21604
},
"data": {
"thread.id": "140381774916480",
"thread.name": "MainThread"
}
},
{
"trace_id": "6b652f67377043bd9b81aab2c2520c85",
"span_id": "8b6bdeb4d31961e4",
"parent_span_id": "8c14f2545ac4b366",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:53.493828Z",
"timestamp": "2026-05-28T07:37:54.505233Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140381774916480",
"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": "6b652f67377043bd9b81aab2c2520c85",
"span_id": "bc6747f3ad3f238a",
"parent_span_id": "95bc3b2ae43aefa4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:54.717579Z",
"timestamp": "2026-05-28T07:37:57.067712Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140381774916480",
"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": "6b652f67377043bd9b81aab2c2520c85",
"span_id": "ae697075067618e2",
"parent_span_id": "84d6a8abda2626dc",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:57.186043Z",
"timestamp": "2026-05-28T07:37:58.463580Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140381774916480",
"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": "6b652f67377043bd9b81aab2c2520c85",
"span_id": "b48c5d1be3d88d9b",
"parent_span_id": "8ebe9ec5b223d711",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:58.578166Z",
"timestamp": "2026-05-28T07:38:00.219483Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140381774916480",
"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": "b176747fb81cb553",
"trace_id": "6b652f67377043bd9b81aab2c2520c85",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:37:53.465726Z",
"timestamp": "2026-05-28T07:38:00.325701Z",
"data": {
"thread.id": "140381774916480",
"thread.name": "MainThread"
}
},
{
"span_id": "8c14f2545ac4b366",
"trace_id": "6b652f67377043bd9b81aab2c2520c85",
"parent_span_id": "b176747fb81cb553",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953873.484903,
"timestamp": 1779953874.607334,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140381774916480",
"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": 74,
"gen_ai.usage.total_tokens": 97,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b176747fb81cb553",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "95bc3b2ae43aefa4",
"trace_id": "6b652f67377043bd9b81aab2c2520c85",
"parent_span_id": "b176747fb81cb553",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953874.711134,
"timestamp": 1779953877.075112,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140381774916480",
"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\\n\\nExplanation: Adding two and two together gives four. If you think in binaries, 10_2 + 10_2 = 100_2, which is also 4 in decimal. Want more practice or a different angle?\", \"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": 378,
"gen_ai.usage.total_tokens": 402,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b176747fb81cb553",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "84d6a8abda2626dc",
"trace_id": "6b652f67377043bd9b81aab2c2520c85",
"parent_span_id": "b176747fb81cb553",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953877.175873,
"timestamp": 1779953878.471059,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140381774916480",
"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.\", \"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": 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": "b176747fb81cb553",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8ebe9ec5b223d711",
"trace_id": "6b652f67377043bd9b81aab2c2520c85",
"parent_span_id": "b176747fb81cb553",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953878.5734,
"timestamp": 1779953880.225798,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140381774916480",
"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 = 6. It\\u2019s the same as doubling 3.\", \"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": 218,
"gen_ai.usage.total_tokens": 268,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b176747fb81cb553",
"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) 116696ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
92d188f0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92d188f0gen_ai.output.messagesMissing output messages attribute
8f82763fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f82763fgen_ai.output.messagesMissing output messages attribute
b80c9a7cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b80c9a7cgen_ai.output.messagesMissing output messages attribute
afc42428gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
afc42428gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "d4170817363e4ba7bbd0e6526db9df47",
"span_id": "bb291655917dee9c",
"parent_span_id": "92d188f0e45f2479",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:54.177524Z",
"timestamp": "2026-05-28T07:37:55.492179Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139736928320384",
"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": "d4170817363e4ba7bbd0e6526db9df47",
"span_id": "90738af713dfd787",
"parent_span_id": "8f82763f6ae18254",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:55.623803Z",
"timestamp": "2026-05-28T07:37:56.578339Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139736928320384",
"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": "d4170817363e4ba7bbd0e6526db9df47",
"span_id": "959165811a83d7d0",
"parent_span_id": "b80c9a7c769ef824",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:56.685973Z",
"timestamp": "2026-05-28T07:37:57.222558Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139736928320384",
"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": "d4170817363e4ba7bbd0e6526db9df47",
"span_id": "929ef2f97900d2da",
"parent_span_id": "afc4242893e863ee",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:57.334901Z",
"timestamp": "2026-05-28T07:37:57.815731Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139736928320384",
"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": "96f95764f94ffd84",
"trace_id": "d4170817363e4ba7bbd0e6526db9df47",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:37:53.580142Z",
"timestamp": "2026-05-28T07:37:57.926697Z",
"data": {
"thread.id": "139736928320384",
"thread.name": "MainThread"
}
},
{
"span_id": "92d188f0e45f2479",
"trace_id": "d4170817363e4ba7bbd0e6526db9df47",
"parent_span_id": "96f95764f94ffd84",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953874.176049,
"timestamp": 1779953875.50997,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139736928320384",
"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,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "96f95764f94ffd84",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8f82763f6ae18254",
"trace_id": "d4170817363e4ba7bbd0e6526db9df47",
"parent_span_id": "96f95764f94ffd84",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953875.612933,
"timestamp": 1779953876.582533,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139736928320384",
"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! When you combine 2 objects with 2 more objects, you get 4 objects 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": 47,
"gen_ai.usage.total_tokens": 70,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "96f95764f94ffd84",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b80c9a7c769ef824",
"trace_id": "d4170817363e4ba7bbd0e6526db9df47",
"parent_span_id": "96f95764f94ffd84",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953876.685228,
"timestamp": 1779953877.230801,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139736928320384",
"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": "96f95764f94ffd84",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "afc4242893e863ee",
"trace_id": "d4170817363e4ba7bbd0e6526db9df47",
"parent_span_id": "96f95764f94ffd84",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953877.334172,
"timestamp": 1779953877.822927,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139736928320384",
"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": "96f95764f94ffd84",
"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) 119212ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
870b6717gen_ai.output.messagesMissing output messages attribute
8e5d1065gen_ai.output.messagesMissing output messages attribute
9b31e078gen_ai.output.messagesMissing output messages attribute
955b8128gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "6269acebc6854ff0a742b38a3d3ffba0",
"span_id": "9ffc2c9c5f47a7e3",
"parent_span_id": "870b671729cf0948",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:37:58.168057Z",
"timestamp": "2026-05-28T07:37:59.941135Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139747545779072",
"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": "6269acebc6854ff0a742b38a3d3ffba0",
"span_id": "928c2fe2cb0d53c3",
"parent_span_id": "8e5d106563218904",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:00.068074Z",
"timestamp": "2026-05-28T07:38:02.478966Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139747545779072",
"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": "6269acebc6854ff0a742b38a3d3ffba0",
"span_id": "94334b9a43eec59e",
"parent_span_id": "9b31e078c6af5f85",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:02.584959Z",
"timestamp": "2026-05-28T07:38:04.942056Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139747545779072",
"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": "6269acebc6854ff0a742b38a3d3ffba0",
"span_id": "a913f4e50a3f2889",
"parent_span_id": "955b8128f07535cb",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:05.050535Z",
"timestamp": "2026-05-28T07:38:06.529631Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139747545779072",
"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": "b0feb72cb334ac3d",
"trace_id": "6269acebc6854ff0a742b38a3d3ffba0",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:37:58.129602Z",
"timestamp": "2026-05-28T07:38:06.634229Z",
"data": {
"thread.id": "139747545779072",
"thread.name": "MainThread"
}
},
{
"span_id": "870b671729cf0948",
"trace_id": "6269acebc6854ff0a742b38a3d3ffba0",
"parent_span_id": "b0feb72cb334ac3d",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953878.16701,
"timestamp": 1779953879.961537,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139747545779072",
"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": 252,
"gen_ai.usage.total_tokens": 275,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b0feb72cb334ac3d",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8e5d106563218904",
"trace_id": "6269acebc6854ff0a742b38a3d3ffba0",
"parent_span_id": "b0feb72cb334ac3d",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953880.067329,
"timestamp": 1779953882.483442,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139747545779072",
"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": 328,
"gen_ai.usage.total_tokens": 352,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b0feb72cb334ac3d",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9b31e078c6af5f85",
"trace_id": "6269acebc6854ff0a742b38a3d3ffba0",
"parent_span_id": "b0feb72cb334ac3d",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953882.584229,
"timestamp": 1779953884.948887,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139747545779072",
"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": 393,
"gen_ai.usage.total_tokens": 437,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b0feb72cb334ac3d",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "955b8128f07535cb",
"trace_id": "6269acebc6854ff0a742b38a3d3ffba0",
"parent_span_id": "b0feb72cb334ac3d",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953885.049866,
"timestamp": 1779953886.534973,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139747545779072",
"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": 210,
"gen_ai.usage.total_tokens": 260,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b0feb72cb334ac3d",
"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) 114019ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
95006cc5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
95006cc5gen_ai.output.messagesMissing output messages attribute
99102ccdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
99102ccdgen_ai.output.messagesMissing output messages attribute
96515c5agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
96515c5agen_ai.output.messagesMissing output messages attribute
a00243c6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a00243c6gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (9)
[
{
"trace_id": "ca3bac61d81c427a8e649cb2dd0260c3",
"span_id": "9ea331f4d53e6de5",
"parent_span_id": "95006cc5f3145871",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:59.164631Z",
"timestamp": "2026-05-28T07:38:00.172838Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140109842881408",
"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": "ca3bac61d81c427a8e649cb2dd0260c3",
"span_id": "8e4129171b833b82",
"parent_span_id": "99102ccd09086682",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:00.305773Z",
"timestamp": "2026-05-28T07:38:01.185120Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140109842881408",
"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": "ca3bac61d81c427a8e649cb2dd0260c3",
"span_id": "978f407801277647",
"parent_span_id": "96515c5a0b47a18f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:01.302672Z",
"timestamp": "2026-05-28T07:38:01.843732Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140109842881408",
"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": "ca3bac61d81c427a8e649cb2dd0260c3",
"span_id": "a40cfd92a2e804e2",
"parent_span_id": "a00243c6a49c4893",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:01.958704Z",
"timestamp": "2026-05-28T07:38:02.597427Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140109842881408",
"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": "8ec2e72cd1f03635",
"trace_id": "ca3bac61d81c427a8e649cb2dd0260c3",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:37:58.533039Z",
"timestamp": "2026-05-28T07:38:02.702068Z",
"data": {
"thread.id": "140109842881408",
"thread.name": "MainThread"
}
},
{
"span_id": "95006cc5f3145871",
"trace_id": "ca3bac61d81c427a8e649cb2dd0260c3",
"parent_span_id": "8ec2e72cd1f03635",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953879.160069,
"timestamp": 1779953880.192031,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140109842881408",
"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 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 on 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\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
"gen_ai.usage.input_tokens": 20,
"gen_ai.usage.output_tokens": 72,
"gen_ai.usage.total_tokens": 92,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "8ec2e72cd1f03635",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "99102ccd09086682",
"trace_id": "ca3bac61d81c427a8e649cb2dd0260c3",
"parent_span_id": "8ec2e72cd1f03635",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953880.297947,
"timestamp": 1779953881.193403,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140109842881408",
"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\\nThis is one of the most basic addition facts in mathematics! Is there anything else you'd like help with?\", \"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": 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": "8ec2e72cd1f03635",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "96515c5a0b47a18f",
"trace_id": "ca3bac61d81c427a8e649cb2dd0260c3",
"parent_span_id": "8ec2e72cd1f03635",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953881.298861,
"timestamp": 1779953881.849325,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140109842881408",
"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": "8ec2e72cd1f03635",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a00243c6a49c4893",
"trace_id": "ca3bac61d81c427a8e649cb2dd0260c3",
"parent_span_id": "8ec2e72cd1f03635",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953881.957952,
"timestamp": 1779953882.605058,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140109842881408",
"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": "8ec2e72cd1f03635",
"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) 116298ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
b9287e26gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b9287e26gen_ai.output.messagesMissing output messages attribute
b42dad98gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b42dad98gen_ai.output.messagesMissing output messages attribute
a286b4b5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a286b4b5gen_ai.output.messagesMissing output messages attribute
82f6f775gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82f6f775gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (17)
[
{
"trace_id": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"span_id": "87b34ab54f67211c",
"parent_span_id": "b9287e268ddf75aa",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:37:59.173952Z",
"timestamp": "2026-05-28T07:37:59.175373Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21649
},
"data": {
"thread.id": "140717624129216",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"span_id": "8825c0018a5c593b",
"parent_span_id": "b9287e268ddf75aa",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:37:59.175465Z",
"timestamp": "2026-05-28T07:37:59.176240Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21649
},
"data": {
"thread.id": "140717624129216",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"span_id": "ac5cc8be208ade81",
"parent_span_id": "8825c0018a5c593b",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:59.176179Z",
"timestamp": "2026-05-28T07:37:59.176223Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21649
},
"data": {
"thread.id": "140717624129216",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"span_id": "9e576bf7710e99b5",
"parent_span_id": "b9287e268ddf75aa",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:37:59.176279Z",
"timestamp": "2026-05-28T07:37:59.176298Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21649
},
"data": {
"thread.id": "140717624129216",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"span_id": "9bee42ece1d064a4",
"parent_span_id": "b9287e268ddf75aa",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:59.180093Z",
"timestamp": "2026-05-28T07:37:59.972579Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140717851306880",
"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": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"span_id": "8b98ca16bb50827c",
"parent_span_id": "9bee42ece1d064a4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:37:59.180964Z",
"timestamp": "2026-05-28T07:37:59.971281Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140717851306880",
"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": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"span_id": "8a3621ff7b2c504a",
"parent_span_id": "b42dad984eb7b51a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:00.611043Z",
"timestamp": "2026-05-28T07:38:01.958665Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140717851306880",
"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": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"span_id": "8c0b089ad585bab6",
"parent_span_id": "8a3621ff7b2c504a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:00.616161Z",
"timestamp": "2026-05-28T07:38:01.958026Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140717851306880",
"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": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"span_id": "ab3ca60b842a54cc",
"parent_span_id": "a286b4b57e0ff6d5",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:02.275358Z",
"timestamp": "2026-05-28T07:38:03.792736Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140717851306880",
"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": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"span_id": "9505112cd560cb0f",
"parent_span_id": "ab3ca60b842a54cc",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:02.275877Z",
"timestamp": "2026-05-28T07:38:03.792121Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140717851306880",
"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": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"span_id": "bb62b6fb5a60f138",
"parent_span_id": "82f6f7757100a318",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:04.057811Z",
"timestamp": "2026-05-28T07:38:05.529170Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140717851306880",
"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": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"span_id": "b54e2f7e5d94ab85",
"parent_span_id": "bb62b6fb5a60f138",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:04.058306Z",
"timestamp": "2026-05-28T07:38:05.528662Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140717851306880",
"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": "a7d8ed8df6a5d9a2",
"trace_id": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:37:59.109152Z",
"timestamp": "2026-05-28T07:38:05.882213Z",
"data": {
"thread.id": "140717851306880",
"thread.name": "MainThread"
}
},
{
"span_id": "b9287e268ddf75aa",
"trace_id": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"parent_span_id": "a7d8ed8df6a5d9a2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953879.15976,
"timestamp": 1779953880.501384,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140717851306880",
"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": "a7d8ed8df6a5d9a2",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b42dad984eb7b51a",
"trace_id": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"parent_span_id": "a7d8ed8df6a5d9a2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953880.609006,
"timestamp": 1779953882.167718,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140717851306880",
"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. Explanation: 2 + 2 equals 4, since adding two objects to another two objects gives four objects. If you\\u2019d like, I can show it with a number line or objects.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 242,
"gen_ai.usage.total_tokens": 266,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a7d8ed8df6a5d9a2",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a286b4b57e0ff6d5",
"trace_id": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"parent_span_id": "a7d8ed8df6a5d9a2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953882.269426,
"timestamp": 1779953883.950189,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140717851306880",
"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\": \"The capital of Germany is Berlin. If you\\u2019d like more details about Berlin or Germany, tell me what you\\u2019re curious about.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 227,
"gen_ai.usage.total_tokens": 271,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a7d8ed8df6a5d9a2",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "82f6f7757100a318",
"trace_id": "59a5a5df6ff34a4c9166ceb71ac1e42c",
"parent_span_id": "a7d8ed8df6a5d9a2",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953884.052696,
"timestamp": 1779953885.778451,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140717851306880",
"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. You can think of it as three objects plus three more objects, for a total of six. If you\\u2019d like, I can walk through more examples or connect it to multiplication (3 \\u00d7 2 = 6).\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 247,
"gen_ai.usage.total_tokens": 297,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a7d8ed8df6a5d9a2",
"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) 113186ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
93e8492egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
93e8492egen_ai.output.messagesMissing output messages attribute
afab94a2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
afab94a2gen_ai.output.messagesMissing output messages attribute
a5432306gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a5432306gen_ai.output.messagesMissing output messages attribute
800e306agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
800e306agen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "2e24d0665b9f44259952b7d8068df708",
"span_id": "8a63ff716f8a8460",
"parent_span_id": "93e8492e93b85967",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:59.810994Z",
"timestamp": "2026-05-28T07:38:00.317773Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139849616620416",
"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": "2e24d0665b9f44259952b7d8068df708",
"span_id": "9bef3dc53b163654",
"parent_span_id": "8a63ff716f8a8460",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:37:59.811918Z",
"timestamp": "2026-05-28T07:38:00.316276Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139849616620416",
"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": "2e24d0665b9f44259952b7d8068df708",
"span_id": "8d3a284e12914a52",
"parent_span_id": "afab94a20224f94b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:00.521558Z",
"timestamp": "2026-05-28T07:38:01.022501Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139849616620416",
"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": "2e24d0665b9f44259952b7d8068df708",
"span_id": "b3bb68331c6f8bd8",
"parent_span_id": "8d3a284e12914a52",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:00.522267Z",
"timestamp": "2026-05-28T07:38:01.021954Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139849616620416",
"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": "2e24d0665b9f44259952b7d8068df708",
"span_id": "8493cce362e26af9",
"parent_span_id": "a543230654646e90",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:01.686325Z",
"timestamp": "2026-05-28T07:38:02.099490Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139849616620416",
"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": "2e24d0665b9f44259952b7d8068df708",
"span_id": "90d623ae77fca8fb",
"parent_span_id": "8493cce362e26af9",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:01.686782Z",
"timestamp": "2026-05-28T07:38:02.098954Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139849616620416",
"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": "2e24d0665b9f44259952b7d8068df708",
"span_id": "ac80cad7c6a0515e",
"parent_span_id": "800e306acbc101c0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:02.267462Z",
"timestamp": "2026-05-28T07:38:02.668520Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139849616620416",
"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": "2e24d0665b9f44259952b7d8068df708",
"span_id": "a3fa2098c62e028d",
"parent_span_id": "ac80cad7c6a0515e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:02.267918Z",
"timestamp": "2026-05-28T07:38:02.667992Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139849616620416",
"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": "a3f797613cc89fdf",
"trace_id": "2e24d0665b9f44259952b7d8068df708",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:37:59.240195Z",
"timestamp": "2026-05-28T07:38:02.853149Z",
"data": {
"thread.id": "139849616620416",
"thread.name": "MainThread"
}
},
{
"span_id": "93e8492e93b85967",
"trace_id": "2e24d0665b9f44259952b7d8068df708",
"parent_span_id": "a3f797613cc89fdf",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953879.806463,
"timestamp": 1779953880.418485,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139849462539968",
"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": "a3f797613cc89fdf",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "afab94a20224f94b",
"trace_id": "2e24d0665b9f44259952b7d8068df708",
"parent_span_id": "a3f797613cc89fdf",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953880.520595,
"timestamp": 1779953881.580829,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139849462539968",
"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 basic addition facts! 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?\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 60,
"gen_ai.usage.total_tokens": 83,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a3f797613cc89fdf",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a543230654646e90",
"trace_id": "2e24d0665b9f44259952b7d8068df708",
"parent_span_id": "a3f797613cc89fdf",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953881.685267,
"timestamp": 1779953882.162402,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139849462539968",
"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": "a3f797613cc89fdf",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "800e306acbc101c0",
"trace_id": "2e24d0665b9f44259952b7d8068df708",
"parent_span_id": "a3f797613cc89fdf",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953882.266512,
"timestamp": 1779953882.747253,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139849462539968",
"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": "a3f797613cc89fdf",
"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 118453ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
8ef990d2gen_ai.usage.input_tokensSpan 8ef990d2: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8ef990d2gen_ai.usage.output_tokensSpan 8ef990d2: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9e30ea8bgen_ai.usage.input_tokensSpan 9e30ea8b: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9e30ea8bgen_ai.usage.output_tokensSpan 9e30ea8b: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
baeebc9egen_ai.usage.input_tokensSpan baeebc9e: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
baeebc9egen_ai.usage.output_tokensSpan baeebc9e: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b0f4b8f1gen_ai.usage.input_tokensSpan b0f4b8f1: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b0f4b8f1gen_ai.usage.output_tokensSpan b0f4b8f1: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
8ef990d2gen_ai.usage.input_tokensinput_tokens must exist
8ef990d2gen_ai.usage.output_tokensoutput_tokens must exist
8ef990d2gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "c0c072a921274161ba274b8d5eaf5219",
"span_id": "8fa4023f631fce91",
"parent_span_id": "8ef990d26254b418",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:00.211378Z",
"timestamp": "2026-05-28T07:38:00.459626Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140256553581440",
"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": "c0c072a921274161ba274b8d5eaf5219",
"span_id": "b584ecd908376bc7",
"parent_span_id": "8fa4023f631fce91",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:00.212292Z",
"timestamp": "2026-05-28T07:38:00.458319Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140256553581440",
"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": "c0c072a921274161ba274b8d5eaf5219",
"span_id": "b333d02644acefeb",
"parent_span_id": "9e30ea8b19d0180e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:02.178795Z",
"timestamp": "2026-05-28T07:38:02.350530Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140256553581440",
"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": "c0c072a921274161ba274b8d5eaf5219",
"span_id": "bb3fd29da11bdc4c",
"parent_span_id": "b333d02644acefeb",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:02.179290Z",
"timestamp": "2026-05-28T07:38:02.350002Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140256553581440",
"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": "c0c072a921274161ba274b8d5eaf5219",
"span_id": "ab923bb863c512dd",
"parent_span_id": "baeebc9e040ec7d4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:04.991433Z",
"timestamp": "2026-05-28T07:38:05.164508Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140256553581440",
"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": "c0c072a921274161ba274b8d5eaf5219",
"span_id": "88394ac7521af3c3",
"parent_span_id": "ab923bb863c512dd",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:04.991892Z",
"timestamp": "2026-05-28T07:38:05.163976Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140256553581440",
"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": "c0c072a921274161ba274b8d5eaf5219",
"span_id": "bc166d3e1fb13b62",
"parent_span_id": "b0f4b8f1091b4281",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:06.884127Z",
"timestamp": "2026-05-28T07:38:07.098474Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140256553581440",
"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": "c0c072a921274161ba274b8d5eaf5219",
"span_id": "b23a9a23c047ead5",
"parent_span_id": "bc166d3e1fb13b62",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:06.887686Z",
"timestamp": "2026-05-28T07:38:07.097968Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140256553581440",
"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": "adcc178976fd0808",
"trace_id": "c0c072a921274161ba274b8d5eaf5219",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:37:59.740372Z",
"timestamp": "2026-05-28T07:38:08.924356Z",
"data": {
"thread.id": "140256553581440",
"thread.name": "MainThread"
}
},
{
"span_id": "8ef990d26254b418",
"trace_id": "c0c072a921274161ba274b8d5eaf5219",
"parent_span_id": "adcc178976fd0808",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953880.21039,
"timestamp": 1779953882.072688,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140256553581440",
"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": "adcc178976fd0808",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9e30ea8b19d0180e",
"trace_id": "c0c072a921274161ba274b8d5eaf5219",
"parent_span_id": "adcc178976fd0808",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953882.178059,
"timestamp": 1779953884.886027,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140256553581440",
"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": "adcc178976fd0808",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "baeebc9e040ec7d4",
"trace_id": "c0c072a921274161ba274b8d5eaf5219",
"parent_span_id": "adcc178976fd0808",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953884.990727,
"timestamp": 1779953886.777398,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140256553581440",
"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": "adcc178976fd0808",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b0f4b8f1091b4281",
"trace_id": "c0c072a921274161ba274b8d5eaf5219",
"parent_span_id": "adcc178976fd0808",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953886.883378,
"timestamp": 1779953888.820729,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140256553581440",
"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": "adcc178976fd0808",
"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) 113648ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
be800aecgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
be800aecgen_ai.output.messagesMissing output messages attribute
82f72049gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82f72049gen_ai.output.messagesMissing output messages attribute
a57d3ea3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a57d3ea3gen_ai.output.messagesMissing output messages attribute
b0927966gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0927966gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "80d457e3aaf24c3bb55143efb430a17d",
"span_id": "8e4b72aab94a6e6f",
"parent_span_id": "be800aece43c287e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:00.570297Z",
"timestamp": "2026-05-28T07:38:01.532030Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139699523111808",
"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": "80d457e3aaf24c3bb55143efb430a17d",
"span_id": "9886541c467c40c0",
"parent_span_id": "8e4b72aab94a6e6f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:00.571348Z",
"timestamp": "2026-05-28T07:38:01.530754Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139699523111808",
"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": "80d457e3aaf24c3bb55143efb430a17d",
"span_id": "adcbe0f7554225ec",
"parent_span_id": "82f720491c35f6e2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:01.733289Z",
"timestamp": "2026-05-28T07:38:02.240658Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139699523111808",
"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": "80d457e3aaf24c3bb55143efb430a17d",
"span_id": "82a381aed134fc76",
"parent_span_id": "adcbe0f7554225ec",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:01.733839Z",
"timestamp": "2026-05-28T07:38:02.239994Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139699523111808",
"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": "80d457e3aaf24c3bb55143efb430a17d",
"span_id": "bf3da42c9050368c",
"parent_span_id": "a57d3ea3e22d3d09",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:02.553096Z",
"timestamp": "2026-05-28T07:38:03.005565Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139699523111808",
"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": "80d457e3aaf24c3bb55143efb430a17d",
"span_id": "b1d8d3477678a304",
"parent_span_id": "bf3da42c9050368c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:02.553545Z",
"timestamp": "2026-05-28T07:38:03.005007Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139699523111808",
"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": "80d457e3aaf24c3bb55143efb430a17d",
"span_id": "985aaaa23cece7f0",
"parent_span_id": "b0927966b35c38ea",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:03.205808Z",
"timestamp": "2026-05-28T07:38:04.586364Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139699523111808",
"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": "80d457e3aaf24c3bb55143efb430a17d",
"span_id": "84a4fa7adfa9b008",
"parent_span_id": "985aaaa23cece7f0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:03.206254Z",
"timestamp": "2026-05-28T07:38:04.585835Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139699523111808",
"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": "ad4fcc65b17a678c",
"trace_id": "80d457e3aaf24c3bb55143efb430a17d",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:38:00.218106Z",
"timestamp": "2026-05-28T07:38:04.762145Z",
"data": {
"thread.id": "139699523111808",
"thread.name": "MainThread"
}
},
{
"span_id": "be800aece43c287e",
"trace_id": "80d457e3aaf24c3bb55143efb430a17d",
"parent_span_id": "ad4fcc65b17a678c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953880.568793,
"timestamp": 1779953881.624137,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139699368322752",
"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": 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": "ad4fcc65b17a678c",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "82f720491c35f6e2",
"trace_id": "80d457e3aaf24c3bb55143efb430a17d",
"parent_span_id": "ad4fcc65b17a678c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953881.732324,
"timestamp": 1779953882.445858,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139699368322752",
"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": true,
"gen_ai.response.model": "claude-haiku-4-5",
"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\": \"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": "ad4fcc65b17a678c",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a57d3ea3e22d3d09",
"trace_id": "80d457e3aaf24c3bb55143efb430a17d",
"parent_span_id": "ad4fcc65b17a678c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953882.552182,
"timestamp": 1779953883.095003,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139699247118016",
"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 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": "ad4fcc65b17a678c",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b0927966b35c38ea",
"trace_id": "80d457e3aaf24c3bb55143efb430a17d",
"parent_span_id": "ad4fcc65b17a678c",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953883.204953,
"timestamp": 1779953884.657836,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "139699247118016",
"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": "ad4fcc65b17a678c",
"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) 116169ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
950bf2e2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
950bf2e2gen_ai.output.messagesMissing output messages attribute
a5b71c5dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a5b71c5dgen_ai.output.messagesMissing output messages attribute
bf1b0680gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bf1b0680gen_ai.output.messagesMissing output messages attribute
a5bf46b9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a5bf46b9gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (17)
[
{
"trace_id": "d8b3acb17c074082b20561c045e1ff17",
"span_id": "8cba8cd842828e1f",
"parent_span_id": "950bf2e2d5764dd8",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:02.947887Z",
"timestamp": "2026-05-28T07:38:02.949235Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21693
},
"data": {
"thread.id": "140309572445888",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d8b3acb17c074082b20561c045e1ff17",
"span_id": "b3b0f77d60c25511",
"parent_span_id": "950bf2e2d5764dd8",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:02.949325Z",
"timestamp": "2026-05-28T07:38:02.950029Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21693
},
"data": {
"thread.id": "140309572445888",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d8b3acb17c074082b20561c045e1ff17",
"span_id": "8d5aa19dc9897fca",
"parent_span_id": "b3b0f77d60c25511",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:02.949975Z",
"timestamp": "2026-05-28T07:38:02.950013Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21693
},
"data": {
"thread.id": "140309572445888",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d8b3acb17c074082b20561c045e1ff17",
"span_id": "a93150dd83597a9f",
"parent_span_id": "950bf2e2d5764dd8",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:02.950066Z",
"timestamp": "2026-05-28T07:38:02.950081Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21693
},
"data": {
"thread.id": "140309572445888",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d8b3acb17c074082b20561c045e1ff17",
"span_id": "8c76723c0ce5e596",
"parent_span_id": "950bf2e2d5764dd8",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:02.951844Z",
"timestamp": "2026-05-28T07:38:04.890522Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140309727398784",
"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": "d8b3acb17c074082b20561c045e1ff17",
"span_id": "a9310c251705d51b",
"parent_span_id": "8c76723c0ce5e596",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:02.952612Z",
"timestamp": "2026-05-28T07:38:04.888708Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140309727398784",
"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": "d8b3acb17c074082b20561c045e1ff17",
"span_id": "8eda8e638077c177",
"parent_span_id": "a5b71c5d0cd30ab0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:05.060426Z",
"timestamp": "2026-05-28T07:38:07.073736Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140309727398784",
"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": "d8b3acb17c074082b20561c045e1ff17",
"span_id": "b701d7af5d42c8d9",
"parent_span_id": "8eda8e638077c177",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:05.060976Z",
"timestamp": "2026-05-28T07:38:07.072884Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140309727398784",
"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": "d8b3acb17c074082b20561c045e1ff17",
"span_id": "8b8aafae985a9069",
"parent_span_id": "bf1b0680e2298e8c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:07.184267Z",
"timestamp": "2026-05-28T07:38:09.122437Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140309727398784",
"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": "d8b3acb17c074082b20561c045e1ff17",
"span_id": "8aece88e6054a5f2",
"parent_span_id": "8b8aafae985a9069",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:07.185034Z",
"timestamp": "2026-05-28T07:38:09.121653Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140309727398784",
"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": "d8b3acb17c074082b20561c045e1ff17",
"span_id": "bd339a8cf4452227",
"parent_span_id": "a5bf46b9b9810410",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:09.239010Z",
"timestamp": "2026-05-28T07:38:11.281750Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140309727398784",
"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": "d8b3acb17c074082b20561c045e1ff17",
"span_id": "bc91104de78ee441",
"parent_span_id": "bd339a8cf4452227",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:09.239470Z",
"timestamp": "2026-05-28T07:38:11.280981Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140309727398784",
"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": "95dfe94574738011",
"trace_id": "d8b3acb17c074082b20561c045e1ff17",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:38:02.888891Z",
"timestamp": "2026-05-28T07:38:11.394318Z",
"data": {
"thread.id": "140309727398784",
"thread.name": "MainThread"
}
},
{
"span_id": "950bf2e2d5764dd8",
"trace_id": "d8b3acb17c074082b20561c045e1ff17",
"parent_span_id": "95dfe94574738011",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953882.934229,
"timestamp": 1779953884.956378,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140309727398784",
"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. Would you like more details about the city (history, attractions, etc.)?\", \"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": 283,
"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": "95dfe94574738011",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a5b71c5d0cd30ab0",
"trace_id": "d8b3acb17c074082b20561c045e1ff17",
"parent_span_id": "95dfe94574738011",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953885.058008,
"timestamp": 1779953887.083215,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140309727398784",
"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. Explanation: 2 + 2 means combining two and two, which altogether make four. Want a quick practice problem?\", \"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": 291,
"gen_ai.usage.total_tokens": 315,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "95dfe94574738011",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bf1b0680e2298e8c",
"trace_id": "d8b3acb17c074082b20561c045e1ff17",
"parent_span_id": "95dfe94574738011",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953887.181815,
"timestamp": 1779953889.133142,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140309727398784",
"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. Berlin is also the largest city and the seat of the federal government.\", \"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": 221,
"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": "95dfe94574738011",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a5bf46b9b9810410",
"trace_id": "d8b3acb17c074082b20561c045e1ff17",
"parent_span_id": "95dfe94574738011",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953889.230993,
"timestamp": 1779953891.289538,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140309727398784",
"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 = 6. Two threes added together make six. Want a few more practice problems?\", \"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": "95dfe94574738011",
"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) 19893ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
b74a6573gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b74a6573gen_ai.output.messagesMissing output messages attribute
ab2152aagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ab2152aagen_ai.output.messagesMissing output messages attribute
b9e0cbf1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b9e0cbf1gen_ai.output.messagesMissing output messages attribute
89a97d90gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
89a97d90gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "16868f55fd5545bb841e84672710a010",
"span_id": "8e85c90b686836ec",
"parent_span_id": "b74a65736459525f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:04.659894Z",
"timestamp": "2026-05-28T07:38:05.348000Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140200153414528",
"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": "16868f55fd5545bb841e84672710a010",
"span_id": "ba524fa7da66b80d",
"parent_span_id": "8e85c90b686836ec",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:04.660852Z",
"timestamp": "2026-05-28T07:38:05.346317Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140200153414528",
"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": "16868f55fd5545bb841e84672710a010",
"span_id": "822be0bbd02dd61e",
"parent_span_id": "ab2152aaad46fb36",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:05.485574Z",
"timestamp": "2026-05-28T07:38:06.375834Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140200153414528",
"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": "16868f55fd5545bb841e84672710a010",
"span_id": "bd62aa824ee22179",
"parent_span_id": "822be0bbd02dd61e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:05.486093Z",
"timestamp": "2026-05-28T07:38:06.375066Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140200153414528",
"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": "16868f55fd5545bb841e84672710a010",
"span_id": "83efb8e054ec7e5c",
"parent_span_id": "b9e0cbf1c0f2d06b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:06.482502Z",
"timestamp": "2026-05-28T07:38:07.011718Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140200153414528",
"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": "16868f55fd5545bb841e84672710a010",
"span_id": "a5bf50591fc0b222",
"parent_span_id": "83efb8e054ec7e5c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:06.482975Z",
"timestamp": "2026-05-28T07:38:07.010999Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140200153414528",
"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": "16868f55fd5545bb841e84672710a010",
"span_id": "b4985dc0df5a4723",
"parent_span_id": "89a97d90eaef5a15",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:07.116782Z",
"timestamp": "2026-05-28T07:38:07.647963Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140200153414528",
"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": "16868f55fd5545bb841e84672710a010",
"span_id": "9105b746ca8fb61a",
"parent_span_id": "b4985dc0df5a4723",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:07.117232Z",
"timestamp": "2026-05-28T07:38:07.647101Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140200153414528",
"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": "972dce8c525a9cce",
"trace_id": "16868f55fd5545bb841e84672710a010",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:38:04.304905Z",
"timestamp": "2026-05-28T07:38:07.750986Z",
"data": {
"thread.id": "140200153414528",
"thread.name": "MainThread"
}
},
{
"span_id": "b74a65736459525f",
"trace_id": "16868f55fd5545bb841e84672710a010",
"parent_span_id": "972dce8c525a9cce",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953884.654229,
"timestamp": 1779953885.384086,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140199999399616",
"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. It's located in the north-central part of the country along the Seine River and is the largest city in France.\", \"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": 34,
"gen_ai.usage.total_tokens": 54,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "972dce8c525a9cce",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ab2152aaad46fb36",
"trace_id": "16868f55fd5545bb841e84672710a010",
"parent_span_id": "972dce8c525a9cce",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953885.484571,
"timestamp": 1779953886.382817,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140199999399616",
"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 basic addition facts! When you combine 2 objects with 2 more objects, you get 4 objects 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": 47,
"gen_ai.usage.total_tokens": 70,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "972dce8c525a9cce",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b9e0cbf1c0f2d06b",
"trace_id": "16868f55fd5545bb841e84672710a010",
"parent_span_id": "972dce8c525a9cce",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953886.481527,
"timestamp": 1779953887.019785,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140199999399616",
"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": "972dce8c525a9cce",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "89a97d90eaef5a15",
"trace_id": "16868f55fd5545bb841e84672710a010",
"parent_span_id": "972dce8c525a9cce",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953887.115839,
"timestamp": 1779953887.650571,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140199999399616",
"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": "972dce8c525a9cce",
"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) 114013ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
967e175cgen_ai.output.messagesMissing output messages attribute
bbbaed4fgen_ai.output.messagesMissing output messages attribute
88a9e6c0gen_ai.output.messagesMissing output messages attribute
b3529ccfgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "733c8136e1044bc8a86f91ea808eddab",
"span_id": "8de2f136366a8d4c",
"parent_span_id": "967e175c30c46df6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:04.990200Z",
"timestamp": "2026-05-28T07:38:06.712918Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140413452225408",
"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": "733c8136e1044bc8a86f91ea808eddab",
"span_id": "93fee1810ff328aa",
"parent_span_id": "8de2f136366a8d4c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:04.991110Z",
"timestamp": "2026-05-28T07:38:06.711456Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140413452225408",
"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": "733c8136e1044bc8a86f91ea808eddab",
"span_id": "ac9a646eafa8bda0",
"parent_span_id": "bbbaed4fc3f238ac",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:06.867590Z",
"timestamp": "2026-05-28T07:38:08.863201Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140413452225408",
"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": "733c8136e1044bc8a86f91ea808eddab",
"span_id": "866d14a3a7f56c88",
"parent_span_id": "ac9a646eafa8bda0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:06.868192Z",
"timestamp": "2026-05-28T07:38:08.862463Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140413452225408",
"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": "733c8136e1044bc8a86f91ea808eddab",
"span_id": "865d7ce13e3df8ac",
"parent_span_id": "88a9e6c0f7d05e71",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:08.975875Z",
"timestamp": "2026-05-28T07:38:10.554900Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140413452225408",
"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": "733c8136e1044bc8a86f91ea808eddab",
"span_id": "a2bdd6afd2944af7",
"parent_span_id": "865d7ce13e3df8ac",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:08.976318Z",
"timestamp": "2026-05-28T07:38:10.553998Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140413452225408",
"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": "733c8136e1044bc8a86f91ea808eddab",
"span_id": "95cbdd4e17bc7046",
"parent_span_id": "b3529ccf426070e0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:10.664410Z",
"timestamp": "2026-05-28T07:38:12.167666Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140413452225408",
"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": "733c8136e1044bc8a86f91ea808eddab",
"span_id": "9b70290dfe43e81f",
"parent_span_id": "95cbdd4e17bc7046",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:10.664861Z",
"timestamp": "2026-05-28T07:38:12.166986Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140413452225408",
"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": "a4dd60f57bd08284",
"trace_id": "733c8136e1044bc8a86f91ea808eddab",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:38:04.978140Z",
"timestamp": "2026-05-28T07:38:12.273067Z",
"data": {
"thread.id": "140413452225408",
"thread.name": "MainThread"
}
},
{
"span_id": "967e175c30c46df6",
"trace_id": "733c8136e1044bc8a86f91ea808eddab",
"parent_span_id": "a4dd60f57bd08284",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953884.98937,
"timestamp": 1779953886.767203,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140413452225408",
"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": 172,
"gen_ai.usage.total_tokens": 195,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a4dd60f57bd08284",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bbbaed4fc3f238ac",
"trace_id": "733c8136e1044bc8a86f91ea808eddab",
"parent_span_id": "a4dd60f57bd08284",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953886.866857,
"timestamp": 1779953888.873132,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140413452225408",
"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": 295,
"gen_ai.usage.total_tokens": 319,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a4dd60f57bd08284",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "88a9e6c0f7d05e71",
"trace_id": "733c8136e1044bc8a86f91ea808eddab",
"parent_span_id": "a4dd60f57bd08284",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953888.975138,
"timestamp": 1779953890.561656,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140413452225408",
"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": 240,
"gen_ai.usage.total_tokens": 284,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a4dd60f57bd08284",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b3529ccf426070e0",
"trace_id": "733c8136e1044bc8a86f91ea808eddab",
"parent_span_id": "a4dd60f57bd08284",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953890.663733,
"timestamp": 1779953892.176466,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140413452225408",
"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": 204,
"gen_ai.usage.total_tokens": 254,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a4dd60f57bd08284",
"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) 19755ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
8ad61809gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8ad61809gen_ai.output.messagesMissing output messages attribute
97d30862gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
97d30862gen_ai.output.messagesMissing output messages attribute
b8b74a2dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8b74a2dgen_ai.output.messagesMissing output messages attribute
8235af99gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8235af99gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "6b67f1cbcf62429d9ab2582726f25668",
"span_id": "a5be6d5f8694dad6",
"parent_span_id": "8ad61809c65d364d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:05.572508Z",
"timestamp": "2026-05-28T07:38:06.171065Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140481982692224",
"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": "6b67f1cbcf62429d9ab2582726f25668",
"span_id": "af184f9f01e2d656",
"parent_span_id": "a5be6d5f8694dad6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:05.573453Z",
"timestamp": "2026-05-28T07:38:06.169356Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140481982692224",
"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": "6b67f1cbcf62429d9ab2582726f25668",
"span_id": "a56c96b9fc837071",
"parent_span_id": "97d30862c47df0a0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:06.319590Z",
"timestamp": "2026-05-28T07:38:07.192817Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140481982692224",
"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": "6b67f1cbcf62429d9ab2582726f25668",
"span_id": "a4a5fbfd6aaae9f4",
"parent_span_id": "a56c96b9fc837071",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:06.320123Z",
"timestamp": "2026-05-28T07:38:07.192050Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140481982692224",
"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": "6b67f1cbcf62429d9ab2582726f25668",
"span_id": "af2d49da60d672a7",
"parent_span_id": "b8b74a2d4c460661",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:07.299059Z",
"timestamp": "2026-05-28T07:38:07.779246Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140481982692224",
"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": "6b67f1cbcf62429d9ab2582726f25668",
"span_id": "b3dd42066da7254d",
"parent_span_id": "af2d49da60d672a7",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:07.299503Z",
"timestamp": "2026-05-28T07:38:07.778534Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140481982692224",
"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": "6b67f1cbcf62429d9ab2582726f25668",
"span_id": "afc43d2f0f8f2294",
"parent_span_id": "8235af996a5eef7f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:07.892335Z",
"timestamp": "2026-05-28T07:38:08.375566Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140481982692224",
"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": "6b67f1cbcf62429d9ab2582726f25668",
"span_id": "a2bc5b85c9e78aaa",
"parent_span_id": "afc43d2f0f8f2294",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.anthropic.com/v1/messages",
"start_timestamp": "2026-05-28T07:38:07.892808Z",
"timestamp": "2026-05-28T07:38:08.374858Z",
"origin": "auto.http.aiohttp",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140481982692224",
"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": "a96e6f3e32184d78",
"trace_id": "6b67f1cbcf62429d9ab2582726f25668",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:38:05.278828Z",
"timestamp": "2026-05-28T07:38:08.479653Z",
"data": {
"thread.id": "140481982692224",
"thread.name": "MainThread"
}
},
{
"span_id": "8ad61809c65d364d",
"trace_id": "6b67f1cbcf62429d9ab2582726f25668",
"parent_span_id": "a96e6f3e32184d78",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953885.571075,
"timestamp": 1779953886.216245,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140481828316864",
"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": "a96e6f3e32184d78",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "97d30862c47df0a0",
"trace_id": "6b67f1cbcf62429d9ab2582726f25668",
"parent_span_id": "a96e6f3e32184d78",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953886.318571,
"timestamp": 1779953887.195938,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140481828316864",
"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 addition facts! When you combine 2 objects with 2 more objects, you have 4 objects 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": 47,
"gen_ai.usage.total_tokens": 70,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "a96e6f3e32184d78",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b8b74a2d4c460661",
"trace_id": "6b67f1cbcf62429d9ab2582726f25668",
"parent_span_id": "a96e6f3e32184d78",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953887.298146,
"timestamp": 1779953887.782773,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140481736472256",
"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 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": "a96e6f3e32184d78",
"sentry.sdk.name": "sentry.python.aiohttp",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8235af996a5eef7f",
"trace_id": "6b67f1cbcf62429d9ab2582726f25668",
"parent_span_id": "a96e6f3e32184d78",
"op": "gen_ai.chat",
"description": "chat claude-haiku-4-5",
"start_timestamp": 1779953887.888385,
"timestamp": 1779953888.379043,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.litellm",
"thread.id": "140481736472256",
"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": 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": "a96e6f3e32184d78",
"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) 13665ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b069c6d2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b069c6d2gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "a884bfab9ca140d2b69ccd2ceeb22396",
"span_id": "a8851ab8bfb4ac99",
"parent_span_id": "b069c6d2f43d0868",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:07.092610Z",
"timestamp": "2026-05-28T07:38:07.094929Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21776
},
"data": {
"thread.id": "139630738529152",
"thread.name": "MainThread"
}
},
{
"trace_id": "a884bfab9ca140d2b69ccd2ceeb22396",
"span_id": "b87482a883d86d62",
"parent_span_id": "b069c6d2f43d0868",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.095026Z",
"timestamp": "2026-05-28T07:38:07.095157Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21776
},
"data": {
"thread.id": "139630738529152",
"thread.name": "MainThread"
}
},
{
"trace_id": "a884bfab9ca140d2b69ccd2ceeb22396",
"span_id": "bbf2d2c15adea26a",
"parent_span_id": "b87482a883d86d62",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.095113Z",
"timestamp": "2026-05-28T07:38:07.095146Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21776
},
"data": {
"thread.id": "139630738529152",
"thread.name": "MainThread"
}
},
{
"trace_id": "a884bfab9ca140d2b69ccd2ceeb22396",
"span_id": "b0fe02f8a13d115d",
"parent_span_id": "b069c6d2f43d0868",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.095191Z",
"timestamp": "2026-05-28T07:38:07.095205Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21776
},
"data": {
"thread.id": "139630738529152",
"thread.name": "MainThread"
}
},
{
"trace_id": "a884bfab9ca140d2b69ccd2ceeb22396",
"span_id": "830c1d28655250bd",
"parent_span_id": "b069c6d2f43d0868",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:07.096558Z",
"timestamp": "2026-05-28T07:38:08.068439Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139630738529152",
"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": "b08ba899f6aea22f",
"trace_id": "a884bfab9ca140d2b69ccd2ceeb22396",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:38:07.086870Z",
"timestamp": "2026-05-28T07:38:08.104943Z",
"data": {
"thread.id": "139630738529152",
"thread.name": "MainThread"
}
},
{
"span_id": "b069c6d2f43d0868",
"trace_id": "a884bfab9ca140d2b69ccd2ceeb22396",
"parent_span_id": "b08ba899f6aea22f",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953887.087828,
"timestamp": 1779953888.104892,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139630738529152",
"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.988819962999969,
"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": "b08ba899f6aea22f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/openai :: Basic LLM Test (sync, streaming, responses) 14094ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b06c83fegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b06c83fegen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "c9d6905a64cd4bf6b40202b76954e3ec",
"span_id": "8d58da33046f8bbf",
"parent_span_id": "b06c83fe2183e5c2",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:07.120640Z",
"timestamp": "2026-05-28T07:38:07.121557Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21778
},
"data": {
"thread.id": "139674003172224",
"thread.name": "MainThread"
}
},
{
"trace_id": "c9d6905a64cd4bf6b40202b76954e3ec",
"span_id": "ae5ef2172e919838",
"parent_span_id": "b06c83fe2183e5c2",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.121654Z",
"timestamp": "2026-05-28T07:38:07.122565Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21778
},
"data": {
"thread.id": "139674003172224",
"thread.name": "MainThread"
}
},
{
"trace_id": "c9d6905a64cd4bf6b40202b76954e3ec",
"span_id": "a6b6b7c44d0d5238",
"parent_span_id": "ae5ef2172e919838",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.122512Z",
"timestamp": "2026-05-28T07:38:07.122553Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21778
},
"data": {
"thread.id": "139674003172224",
"thread.name": "MainThread"
}
},
{
"trace_id": "c9d6905a64cd4bf6b40202b76954e3ec",
"span_id": "9a9edd506706be97",
"parent_span_id": "b06c83fe2183e5c2",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.122592Z",
"timestamp": "2026-05-28T07:38:07.122601Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21778
},
"data": {
"thread.id": "139674003172224",
"thread.name": "MainThread"
}
},
{
"trace_id": "c9d6905a64cd4bf6b40202b76954e3ec",
"span_id": "9fdf8551737ce8fb",
"parent_span_id": "b06c83fe2183e5c2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:07.123434Z",
"timestamp": "2026-05-28T07:38:07.562995Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139674003172224",
"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": "a24205ab19d9fb63",
"trace_id": "c9d6905a64cd4bf6b40202b76954e3ec",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:38:07.114425Z",
"timestamp": "2026-05-28T07:38:08.536579Z",
"data": {
"thread.id": "139674003172224",
"thread.name": "MainThread"
}
},
{
"span_id": "b06c83fe2183e5c2",
"trace_id": "c9d6905a64cd4bf6b40202b76954e3ec",
"parent_span_id": "a24205ab19d9fb63",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953887.115206,
"timestamp": 1779953888.536517,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139674003172224",
"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": 162,
"gen_ai.usage.output_tokens.reasoning": 128,
"gen_ai.usage.total_tokens": 185,
"gen_ai.response.time_to_first_token": 1.2206004040001517,
"gen_ai.response.text": "Paris.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "a24205ab19d9fb63",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/openai :: Basic LLM Test (sync, blocking, chat) 14177ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
94e87ec2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94e87ec2gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "1c433898faf0441d8c0bd3ec7de4c7d8",
"span_id": "bb842ba3afb645d3",
"parent_span_id": "94e87ec24ab27045",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:07.047727Z",
"timestamp": "2026-05-28T07:38:07.049780Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21772
},
"data": {
"thread.id": "140394546600832",
"thread.name": "MainThread"
}
},
{
"trace_id": "1c433898faf0441d8c0bd3ec7de4c7d8",
"span_id": "986d8d99d3796716",
"parent_span_id": "94e87ec24ab27045",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.049867Z",
"timestamp": "2026-05-28T07:38:07.049992Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21772
},
"data": {
"thread.id": "140394546600832",
"thread.name": "MainThread"
}
},
{
"trace_id": "1c433898faf0441d8c0bd3ec7de4c7d8",
"span_id": "83aa9e350a23bb9b",
"parent_span_id": "986d8d99d3796716",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.049952Z",
"timestamp": "2026-05-28T07:38:07.049983Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21772
},
"data": {
"thread.id": "140394546600832",
"thread.name": "MainThread"
}
},
{
"trace_id": "1c433898faf0441d8c0bd3ec7de4c7d8",
"span_id": "97d80eef956290a5",
"parent_span_id": "94e87ec24ab27045",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.050022Z",
"timestamp": "2026-05-28T07:38:07.050034Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21772
},
"data": {
"thread.id": "140394546600832",
"thread.name": "MainThread"
}
},
{
"trace_id": "1c433898faf0441d8c0bd3ec7de4c7d8",
"span_id": "be9215c085e2528c",
"parent_span_id": "94e87ec24ab27045",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:07.051322Z",
"timestamp": "2026-05-28T07:38:08.767792Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140394546600832",
"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": "bbb3b2e55c3ab58d",
"trace_id": "1c433898faf0441d8c0bd3ec7de4c7d8",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:38:07.042963Z",
"timestamp": "2026-05-28T07:38:08.779980Z",
"data": {
"thread.id": "140394546600832",
"thread.name": "MainThread"
}
},
{
"span_id": "94e87ec24ab27045",
"trace_id": "1c433898faf0441d8c0bd3ec7de4c7d8",
"parent_span_id": "bbb3b2e55c3ab58d",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953887.043779,
"timestamp": 1779953888.779931,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140394546600832",
"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": "bbb3b2e55c3ab58d",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/openai :: Basic LLM Test (sync, blocking, responses) 18115ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
af25c0b5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af25c0b5gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "8c46606091714930b978834d29b7efbd",
"span_id": "a7ffd214d52b0c41",
"parent_span_id": "af25c0b532c8e78f",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:07.075905Z",
"timestamp": "2026-05-28T07:38:07.080004Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21774
},
"data": {
"thread.id": "139838239529856",
"thread.name": "MainThread"
}
},
{
"trace_id": "8c46606091714930b978834d29b7efbd",
"span_id": "99d7e84c42c7ccf4",
"parent_span_id": "af25c0b532c8e78f",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.080108Z",
"timestamp": "2026-05-28T07:38:07.080252Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21774
},
"data": {
"thread.id": "139838239529856",
"thread.name": "MainThread"
}
},
{
"trace_id": "8c46606091714930b978834d29b7efbd",
"span_id": "8fa8bd04345b7a8d",
"parent_span_id": "99d7e84c42c7ccf4",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.080208Z",
"timestamp": "2026-05-28T07:38:07.080243Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21774
},
"data": {
"thread.id": "139838239529856",
"thread.name": "MainThread"
}
},
{
"trace_id": "8c46606091714930b978834d29b7efbd",
"span_id": "94b322a1abc0d593",
"parent_span_id": "af25c0b532c8e78f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.080282Z",
"timestamp": "2026-05-28T07:38:07.080294Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21774
},
"data": {
"thread.id": "139838239529856",
"thread.name": "MainThread"
}
},
{
"trace_id": "8c46606091714930b978834d29b7efbd",
"span_id": "ab7215a05df4e1ae",
"parent_span_id": "af25c0b532c8e78f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:07.081725Z",
"timestamp": "2026-05-28T07:38:12.975406Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139838239529856",
"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": "98076b408d574c1e",
"trace_id": "8c46606091714930b978834d29b7efbd",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:38:07.067140Z",
"timestamp": "2026-05-28T07:38:13.092978Z",
"data": {
"thread.id": "139838239529856",
"thread.name": "MainThread"
}
},
{
"span_id": "af25c0b532c8e78f",
"trace_id": "8c46606091714930b978834d29b7efbd",
"parent_span_id": "98076b408d574c1e",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953887.067951,
"timestamp": 1779953893.092913,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139838239529856",
"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": 174,
"gen_ai.usage.output_tokens.reasoning": 128,
"gen_ai.usage.total_tokens": 197,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "98076b408d574c1e",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/openai :: Basic LLM Test (async, streaming, chat) 13783ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
9167885fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9167885fgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "d7959b63e3244da982db72ebee32986e",
"span_id": "8ec1d9177a0874ba",
"parent_span_id": "9167885f9ff273e0",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:07.190601Z",
"timestamp": "2026-05-28T07:38:07.192300Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21781
},
"data": {
"thread.id": "139684388128448",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d7959b63e3244da982db72ebee32986e",
"span_id": "bc4e2ffefed8c7c4",
"parent_span_id": "9167885f9ff273e0",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.192385Z",
"timestamp": "2026-05-28T07:38:07.192527Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21781
},
"data": {
"thread.id": "139684388128448",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d7959b63e3244da982db72ebee32986e",
"span_id": "81d90e17dafd0cde",
"parent_span_id": "bc4e2ffefed8c7c4",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.192483Z",
"timestamp": "2026-05-28T07:38:07.192517Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21781
},
"data": {
"thread.id": "139684388128448",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d7959b63e3244da982db72ebee32986e",
"span_id": "9af4d96fb9bed113",
"parent_span_id": "9167885f9ff273e0",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:07.192562Z",
"timestamp": "2026-05-28T07:38:07.192576Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21781
},
"data": {
"thread.id": "139684388128448",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d7959b63e3244da982db72ebee32986e",
"span_id": "af992b332ce00c2e",
"parent_span_id": "9167885f9ff273e0",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:07.194124Z",
"timestamp": "2026-05-28T07:38:08.771948Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139684466981760",
"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": "a89a152a1d9c5b0e",
"trace_id": "d7959b63e3244da982db72ebee32986e",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:38:07.186963Z",
"timestamp": "2026-05-28T07:38:08.805903Z",
"data": {
"thread.id": "139684466981760",
"thread.name": "MainThread"
}
},
{
"span_id": "9167885f9ff273e0",
"trace_id": "d7959b63e3244da982db72ebee32986e",
"parent_span_id": "a89a152a1d9c5b0e",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953887.187857,
"timestamp": 1779953888.804195,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139684466981760",
"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.5981548610000118,
"gen_ai.response.text": "Paris.",
"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": "a89a152a1d9c5b0e",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/openai :: Basic LLM Test (async, streaming, responses) 12629ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b9775137gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b9775137gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
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.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "fe9eb21f828349eab6bcab2f68a0f241",
"span_id": "a0658a65ce7a99b9",
"parent_span_id": "b97751374e630a15",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:08.058416Z",
"timestamp": "2026-05-28T07:38:08.059933Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21794
},
"data": {
"thread.id": "140542000232128",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "fe9eb21f828349eab6bcab2f68a0f241",
"span_id": "b37aa7fec57bbd6f",
"parent_span_id": "b97751374e630a15",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:08.060026Z",
"timestamp": "2026-05-28T07:38:08.060721Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21794
},
"data": {
"thread.id": "140542000232128",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "fe9eb21f828349eab6bcab2f68a0f241",
"span_id": "867f58c3f4caf7a0",
"parent_span_id": "b37aa7fec57bbd6f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:08.060668Z",
"timestamp": "2026-05-28T07:38:08.060709Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21794
},
"data": {
"thread.id": "140542000232128",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "fe9eb21f828349eab6bcab2f68a0f241",
"span_id": "980dbcb836f865ed",
"parent_span_id": "b97751374e630a15",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:08.060758Z",
"timestamp": "2026-05-28T07:38:08.060773Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21794
},
"data": {
"thread.id": "140542000232128",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "fe9eb21f828349eab6bcab2f68a0f241",
"span_id": "b25d2390b43ab2d0",
"parent_span_id": "b97751374e630a15",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:08.062357Z",
"timestamp": "2026-05-28T07:38:08.279481Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140542154120064",
"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": "a83492c618b465ef",
"trace_id": "fe9eb21f828349eab6bcab2f68a0f241",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:38:08.050161Z",
"timestamp": "2026-05-28T07:38:09.040911Z",
"data": {
"thread.id": "140542154120064",
"thread.name": "MainThread"
}
},
{
"span_id": "b97751374e630a15",
"trace_id": "fe9eb21f828349eab6bcab2f68a0f241",
"parent_span_id": "a83492c618b465ef",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953888.051391,
"timestamp": 1779953889.037725,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140542154120064",
"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": 71,
"gen_ai.usage.total_tokens": 94,
"gen_ai.response.time_to_first_token": 0.7270038540000314,
"gen_ai.response.text": "Paris.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "a83492c618b465ef",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/openai :: Basic LLM Test (async, blocking, chat) 13215ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
b8243305gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8243305gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "a1df2a4018fb4acd81c343ca9507102a",
"span_id": "bd9d0fcbf3cc27ad",
"parent_span_id": "b82433053a83e5d1",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:08.795981Z",
"timestamp": "2026-05-28T07:38:08.798054Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21808
},
"data": {
"thread.id": "139934195250880",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a1df2a4018fb4acd81c343ca9507102a",
"span_id": "99013fecdecb7ca8",
"parent_span_id": "b82433053a83e5d1",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:08.798138Z",
"timestamp": "2026-05-28T07:38:08.798259Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21808
},
"data": {
"thread.id": "139934195250880",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a1df2a4018fb4acd81c343ca9507102a",
"span_id": "b0ed00338a3e7299",
"parent_span_id": "99013fecdecb7ca8",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:08.798220Z",
"timestamp": "2026-05-28T07:38:08.798250Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21808
},
"data": {
"thread.id": "139934195250880",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a1df2a4018fb4acd81c343ca9507102a",
"span_id": "af220243e1777d93",
"parent_span_id": "b82433053a83e5d1",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:08.798289Z",
"timestamp": "2026-05-28T07:38:08.798301Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21808
},
"data": {
"thread.id": "139934195250880",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a1df2a4018fb4acd81c343ca9507102a",
"span_id": "a90b42cdef3688bd",
"parent_span_id": "b82433053a83e5d1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:08.799811Z",
"timestamp": "2026-05-28T07:38:10.169950Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139934353390464",
"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": "914bb908567d4cfd",
"trace_id": "a1df2a4018fb4acd81c343ca9507102a",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:38:08.789257Z",
"timestamp": "2026-05-28T07:38:10.208310Z",
"data": {
"thread.id": "139934353390464",
"thread.name": "MainThread"
}
},
{
"span_id": "b82433053a83e5d1",
"trace_id": "a1df2a4018fb4acd81c343ca9507102a",
"parent_span_id": "914bb908567d4cfd",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953888.790965,
"timestamp": 1779953890.204847,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139934353390464",
"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,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "914bb908567d4cfd",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
}
]python/openai :: Basic LLM Test (async, blocking, responses) 14188ms
Critical
checkAISpanCount(1)
checkChatSpanAttributes
92e28ad5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92e28ad5gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "21986d56e8f24e45b94f8da98e9dff38",
"span_id": "af36c40930110144",
"parent_span_id": "92e28ad572a9fe78",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:10.751560Z",
"timestamp": "2026-05-28T07:38:10.757640Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21839
},
"data": {
"thread.id": "139984325572288",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "21986d56e8f24e45b94f8da98e9dff38",
"span_id": "a553298fac1937cd",
"parent_span_id": "92e28ad572a9fe78",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:10.757727Z",
"timestamp": "2026-05-28T07:38:10.757869Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21839
},
"data": {
"thread.id": "139984325572288",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "21986d56e8f24e45b94f8da98e9dff38",
"span_id": "98bafb1c836aa9a7",
"parent_span_id": "a553298fac1937cd",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:10.757827Z",
"timestamp": "2026-05-28T07:38:10.757859Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21839
},
"data": {
"thread.id": "139984325572288",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "21986d56e8f24e45b94f8da98e9dff38",
"span_id": "b4ba0d7dbe185fd7",
"parent_span_id": "92e28ad572a9fe78",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:10.757902Z",
"timestamp": "2026-05-28T07:38:10.757915Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21839
},
"data": {
"thread.id": "139984325572288",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "21986d56e8f24e45b94f8da98e9dff38",
"span_id": "9d79771b3abae03e",
"parent_span_id": "92e28ad572a9fe78",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:10.759514Z",
"timestamp": "2026-05-28T07:38:12.095550Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139984475089792",
"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": "a1d6bc412b7db484",
"trace_id": "21986d56e8f24e45b94f8da98e9dff38",
"parent_span_id": null,
"op": "test",
"description": "Basic LLM Test",
"start_timestamp": "2026-05-28T07:38:10.732687Z",
"timestamp": "2026-05-28T07:38:12.266069Z",
"data": {
"thread.id": "139984475089792",
"thread.name": "MainThread"
}
},
{
"span_id": "92e28ad572a9fe78",
"trace_id": "21986d56e8f24e45b94f8da98e9dff38",
"parent_span_id": "a1d6bc412b7db484",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953890.736255,
"timestamp": 1779953892.264982,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139984475089792",
"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": 114,
"gen_ai.usage.output_tokens.reasoning": 64,
"gen_ai.usage.total_tokens": 137,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Basic LLM Test",
"sentry.segment.id": "a1d6bc412b7db484",
"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) 121275ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
919d57b3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
919d57b3gen_ai.output.messagesMissing output messages attribute
b988d32agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b988d32agen_ai.output.messagesMissing output messages attribute
942c0bacgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
942c0bacgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "749ca95101f74fa3bad799cd6e1b5974",
"span_id": "8a81a8f39da0bb6b",
"parent_span_id": "919d57b325bbcea3",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:10.459749Z",
"timestamp": "2026-05-28T07:38:10.467526Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21836
},
"data": {
"thread.id": "140111373839232",
"thread.name": "MainThread"
}
},
{
"trace_id": "749ca95101f74fa3bad799cd6e1b5974",
"span_id": "8fbcbd80cd44c15b",
"parent_span_id": "919d57b325bbcea3",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:10.467643Z",
"timestamp": "2026-05-28T07:38:10.467786Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21836
},
"data": {
"thread.id": "140111373839232",
"thread.name": "MainThread"
}
},
{
"trace_id": "749ca95101f74fa3bad799cd6e1b5974",
"span_id": "b495af157806aee4",
"parent_span_id": "8fbcbd80cd44c15b",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:10.467738Z",
"timestamp": "2026-05-28T07:38:10.467775Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21836
},
"data": {
"thread.id": "140111373839232",
"thread.name": "MainThread"
}
},
{
"trace_id": "749ca95101f74fa3bad799cd6e1b5974",
"span_id": "9b1e5a84b6253cf3",
"parent_span_id": "919d57b325bbcea3",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:10.467818Z",
"timestamp": "2026-05-28T07:38:10.467830Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21836
},
"data": {
"thread.id": "140111373839232",
"thread.name": "MainThread"
}
},
{
"trace_id": "749ca95101f74fa3bad799cd6e1b5974",
"span_id": "b740c17f5ed6059b",
"parent_span_id": "919d57b325bbcea3",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:10.469129Z",
"timestamp": "2026-05-28T07:38:11.589101Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140111373839232",
"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": "749ca95101f74fa3bad799cd6e1b5974",
"span_id": "8c67b64aeef4c1eb",
"parent_span_id": "b988d32a7ae7d85b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:11.636979Z",
"timestamp": "2026-05-28T07:38:17.287573Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140111373839232",
"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": "749ca95101f74fa3bad799cd6e1b5974",
"span_id": "8100d8b07a6a23d8",
"parent_span_id": "942c0bac4e4a450f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:17.819291Z",
"timestamp": "2026-05-28T07:38:28.920837Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140111373839232",
"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": "9e6c56b579b56246",
"trace_id": "749ca95101f74fa3bad799cd6e1b5974",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:38:10.449421Z",
"timestamp": "2026-05-28T07:38:29.422939Z",
"data": {
"thread.id": "140111373839232",
"thread.name": "MainThread"
}
},
{
"span_id": "919d57b325bbcea3",
"trace_id": "749ca95101f74fa3bad799cd6e1b5974",
"parent_span_id": "9e6c56b579b56246",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953890.451962,
"timestamp": 1779953891.627919,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140111373839232",
"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.1663645749999887,
"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": "Multi-Turn LLM Test",
"sentry.segment.id": "9e6c56b579b56246",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b988d32a7ae7d85b",
"trace_id": "749ca95101f74fa3bad799cd6e1b5974",
"parent_span_id": "9e6c56b579b56246",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953891.628025,
"timestamp": 1779953897.817449,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140111373839232",
"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.662233078000099,
"gen_ai.response.text": "Paris refers to different population figures depending on the definition:\n\n- City proper (the commune of Paris): about 2.1 million people (latest estimates around 2020–2022).\n- Paris urban area (aire urbaine): about 12 million people.\n- Wider metropolitan area (Métropole du Grand Paris): around 7 million people.\n\nIf you want an exact number with a specific year and source (e.g., INSEE data for 2020 or 2021), tell me which definition you prefer and I’ll provide the precise figure.",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1338,
"gen_ai.usage.output_tokens.reasoning": 1216,
"gen_ai.usage.total_tokens": 1386,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9e6c56b579b56246",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "942c0bac4e4a450f",
"trace_id": "749ca95101f74fa3bad799cd6e1b5974",
"parent_span_id": "9e6c56b579b56246",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953897.817531,
"timestamp": 1779953909.422865,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140111373839232",
"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": 11.103689069999973,
"gen_ai.response.text": "Definitions vary, but for the Paris metro area the common figures are:\n\n- Paris urban area (aire urbaine): roughly 12 to 13 million people, with recent estimates around about 12.5 million.\n- Île-de-France region (the broader administrative region surrounding Paris): about 12 million people.\n\nIf you have a specific definition or year in mind (e.g., INSEE's 2020 figures), tell me and I’ll give you a precise number.",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 2410,
"gen_ai.usage.output_tokens.reasoning": 2304,
"gen_ai.usage.total_tokens": 2491,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9e6c56b579b56246",
"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) 123723ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
87cc3981gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
87cc3981gen_ai.output.messagesMissing output messages attribute
b649a662gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b649a662gen_ai.output.messagesMissing output messages attribute
94b67cbfgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94b67cbfgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "3f1fab8a7a25452ab7bdcffca9aafbfd",
"span_id": "b739295fc078a004",
"parent_span_id": "87cc3981804d6bcf",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:10.879269Z",
"timestamp": "2026-05-28T07:38:10.886194Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21842
},
"data": {
"thread.id": "139686419614592",
"thread.name": "MainThread"
}
},
{
"trace_id": "3f1fab8a7a25452ab7bdcffca9aafbfd",
"span_id": "8d90d3b5f42ef34f",
"parent_span_id": "87cc3981804d6bcf",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:10.886280Z",
"timestamp": "2026-05-28T07:38:10.889131Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21842
},
"data": {
"thread.id": "139686419614592",
"thread.name": "MainThread"
}
},
{
"trace_id": "3f1fab8a7a25452ab7bdcffca9aafbfd",
"span_id": "b754be550543c53f",
"parent_span_id": "8d90d3b5f42ef34f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:10.889074Z",
"timestamp": "2026-05-28T07:38:10.889116Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21842
},
"data": {
"thread.id": "139686419614592",
"thread.name": "MainThread"
}
},
{
"trace_id": "3f1fab8a7a25452ab7bdcffca9aafbfd",
"span_id": "b37d4ee12ef3abe4",
"parent_span_id": "87cc3981804d6bcf",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:10.889168Z",
"timestamp": "2026-05-28T07:38:10.889183Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21842
},
"data": {
"thread.id": "139686419614592",
"thread.name": "MainThread"
}
},
{
"trace_id": "3f1fab8a7a25452ab7bdcffca9aafbfd",
"span_id": "b2e066d8cad4b1b9",
"parent_span_id": "87cc3981804d6bcf",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:10.890526Z",
"timestamp": "2026-05-28T07:38:11.209113Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139686419614592",
"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": "3f1fab8a7a25452ab7bdcffca9aafbfd",
"span_id": "91246190029cca36",
"parent_span_id": "b649a6621e9eb3eb",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:12.242168Z",
"timestamp": "2026-05-28T07:38:12.410470Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139686419614592",
"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": "3f1fab8a7a25452ab7bdcffca9aafbfd",
"span_id": "806eb26f7f3ef88f",
"parent_span_id": "94b67cbf85793e87",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:24.290677Z",
"timestamp": "2026-05-28T07:38:24.441689Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139686419614592",
"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": "8d632b30b15d9a4b",
"trace_id": "3f1fab8a7a25452ab7bdcffca9aafbfd",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:38:10.862808Z",
"timestamp": "2026-05-28T07:38:32.329171Z",
"data": {
"thread.id": "139686419614592",
"thread.name": "MainThread"
}
},
{
"span_id": "87cc3981804d6bcf",
"trace_id": "3f1fab8a7a25452ab7bdcffca9aafbfd",
"parent_span_id": "8d632b30b15d9a4b",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953890.866125,
"timestamp": 1779953892.239749,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139686419614592",
"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": 110,
"gen_ai.usage.output_tokens.reasoning": 64,
"gen_ai.usage.total_tokens": 133,
"gen_ai.response.time_to_first_token": 1.349870287000158,
"gen_ai.response.text": "Paris.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "8d632b30b15d9a4b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b649a6621e9eb3eb",
"trace_id": "3f1fab8a7a25452ab7bdcffca9aafbfd",
"parent_span_id": "8d632b30b15d9a4b",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953892.239849,
"timestamp": 1779953904.288869,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139686419614592",
"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": 1418,
"gen_ai.usage.output_tokens.reasoning": 1280,
"gen_ai.usage.total_tokens": 1466,
"gen_ai.response.time_to_first_token": 11.171264935000181,
"gen_ai.response.text": "If you mean Paris city proper (the actual commune), it has about 2.1–2.2 million residents (roughly 2.15 million as of the 2020 census).\n\nIf you mean the wider area:\n- Paris metropolitan/urban area: around 11–12 million people.\n- Île-de-France region (the wider region including surrounding départements): about 12–13 million.\n\nWhich definition would you like the exact figure for? I can look up the latest official numbers.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "8d632b30b15d9a4b",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "94b67cbf85793e87",
"trace_id": "3f1fab8a7a25452ab7bdcffca9aafbfd",
"parent_span_id": "8d632b30b15d9a4b",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953904.288948,
"timestamp": 1779953912.329121,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139686419614592",
"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": 1728,
"gen_ai.usage.output_tokens.reasoning": 1600,
"gen_ai.usage.total_tokens": 1809,
"gen_ai.response.time_to_first_token": 7.118939290000071,
"gen_ai.response.text": "It depends on the definition:\n\n- Paris urban area (aire urbaine) — the broader commuter area around Paris: about 12 million people.\n- Île-de-France region (the administrative Greater Paris): about 12–13 million people.\n\nIf you want a precise figure, tell me which definition and which year you want, and I’ll pull the exact number.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "8d632b30b15d9a4b",
"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) 122952ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
85109765gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
85109765gen_ai.output.messagesMissing output messages attribute
848ea90bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
848ea90bgen_ai.output.messagesMissing output messages attribute
93eb0ff8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
93eb0ff8gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "4faa57f201e64b22ac9ef783ba44f896",
"span_id": "9580db637a621d8e",
"parent_span_id": "85109765a4459331",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:11.442267Z",
"timestamp": "2026-05-28T07:38:11.445712Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21851
},
"data": {
"thread.id": "140109315009408",
"thread.name": "MainThread"
}
},
{
"trace_id": "4faa57f201e64b22ac9ef783ba44f896",
"span_id": "acc86fe784bef0ad",
"parent_span_id": "85109765a4459331",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:11.445797Z",
"timestamp": "2026-05-28T07:38:11.445934Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21851
},
"data": {
"thread.id": "140109315009408",
"thread.name": "MainThread"
}
},
{
"trace_id": "4faa57f201e64b22ac9ef783ba44f896",
"span_id": "a35b41a53a781ada",
"parent_span_id": "acc86fe784bef0ad",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:11.445890Z",
"timestamp": "2026-05-28T07:38:11.445924Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21851
},
"data": {
"thread.id": "140109315009408",
"thread.name": "MainThread"
}
},
{
"trace_id": "4faa57f201e64b22ac9ef783ba44f896",
"span_id": "97e4bd0674bbeb66",
"parent_span_id": "85109765a4459331",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:11.445969Z",
"timestamp": "2026-05-28T07:38:11.445983Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21851
},
"data": {
"thread.id": "140109315009408",
"thread.name": "MainThread"
}
},
{
"trace_id": "4faa57f201e64b22ac9ef783ba44f896",
"span_id": "b4ecd4f61570fe8d",
"parent_span_id": "85109765a4459331",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:11.447258Z",
"timestamp": "2026-05-28T07:38:12.359379Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140109315009408",
"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": "4faa57f201e64b22ac9ef783ba44f896",
"span_id": "a22499fbc9058ca5",
"parent_span_id": "848ea90b7af64b76",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:12.386178Z",
"timestamp": "2026-05-28T07:38:21.373806Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140109315009408",
"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": "4faa57f201e64b22ac9ef783ba44f896",
"span_id": "84420948a338068b",
"parent_span_id": "93eb0ff85c162a35",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:21.377911Z",
"timestamp": "2026-05-28T07:38:31.831781Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140109315009408",
"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": "a93ff6c474898625",
"trace_id": "4faa57f201e64b22ac9ef783ba44f896",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:38:11.428892Z",
"timestamp": "2026-05-28T07:38:31.832292Z",
"data": {
"thread.id": "140109315009408",
"thread.name": "MainThread"
}
},
{
"span_id": "85109765a4459331",
"trace_id": "4faa57f201e64b22ac9ef783ba44f896",
"parent_span_id": "a93ff6c474898625",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953891.434929,
"timestamp": 1779953892.380765,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140109315009408",
"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": 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": "a93ff6c474898625",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "848ea90b7af64b76",
"trace_id": "4faa57f201e64b22ac9ef783ba44f896",
"parent_span_id": "a93ff6c474898625",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953892.380868,
"timestamp": 1779953901.374579,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140109315009408",
"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 commune of Paris) or\\n- the broader Paris metropolitan area?\\n\\n- City proper: about 2.16 million people (roughly the 2020 census).\\n- Wider Paris area: roughly 12 million people (varies by whether you mean the urban area, the metropolitan area, or the \\u00cele-de-France region).\\n\\nIf you tell me which definition you want (and the 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": 48,
"gen_ai.usage.output_tokens": 1707,
"gen_ai.usage.output_tokens.reasoning": 1600,
"gen_ai.usage.total_tokens": 1755,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "a93ff6c474898625",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "93eb0ff85c162a35",
"trace_id": "4faa57f201e64b22ac9ef783ba44f896",
"parent_span_id": "a93ff6c474898625",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953901.374689,
"timestamp": 1779953911.832262,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140109315009408",
"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 for the Paris region:\\n\\n- Paris metropolitan area (the Paris urban area or \\u201caire urbaine\\u201d): around 12 million inhabitants (roughly 12.0\\u201312.5 million, depending on year/definition).\\n- \\u00cele-de-France region (the wider region around Paris): about 12\\u201313 million people.\\n\\nIf you specify which definition and year you want, I can give a 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": 2145,
"gen_ai.usage.output_tokens.reasoning": 2048,
"gen_ai.usage.total_tokens": 2226,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "a93ff6c474898625",
"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) 125778ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
9d004aa4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d004aa4gen_ai.output.messagesMissing output messages attribute
87f77e57gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
87f77e57gen_ai.output.messagesMissing output messages attribute
86ff6d65gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
86ff6d65gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "3132996d102a46ca8a5ca4d5b7274ca0",
"span_id": "9f9cc9758f35035e",
"parent_span_id": "9d004aa493139144",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:11.549818Z",
"timestamp": "2026-05-28T07:38:11.553845Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21853
},
"data": {
"thread.id": "139699598449536",
"thread.name": "MainThread"
}
},
{
"trace_id": "3132996d102a46ca8a5ca4d5b7274ca0",
"span_id": "80aae0ac8f0c0654",
"parent_span_id": "9d004aa493139144",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:11.553933Z",
"timestamp": "2026-05-28T07:38:11.554064Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21853
},
"data": {
"thread.id": "139699598449536",
"thread.name": "MainThread"
}
},
{
"trace_id": "3132996d102a46ca8a5ca4d5b7274ca0",
"span_id": "9133b793c3fbd071",
"parent_span_id": "80aae0ac8f0c0654",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:11.554021Z",
"timestamp": "2026-05-28T07:38:11.554054Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21853
},
"data": {
"thread.id": "139699598449536",
"thread.name": "MainThread"
}
},
{
"trace_id": "3132996d102a46ca8a5ca4d5b7274ca0",
"span_id": "aee6bf96ae97caff",
"parent_span_id": "9d004aa493139144",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:11.554098Z",
"timestamp": "2026-05-28T07:38:11.554113Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21853
},
"data": {
"thread.id": "139699598449536",
"thread.name": "MainThread"
}
},
{
"trace_id": "3132996d102a46ca8a5ca4d5b7274ca0",
"span_id": "8d52b26f8c72385c",
"parent_span_id": "9d004aa493139144",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:11.558534Z",
"timestamp": "2026-05-28T07:38:13.180883Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139699598449536",
"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": "3132996d102a46ca8a5ca4d5b7274ca0",
"span_id": "848a1e498ad519ce",
"parent_span_id": "87f77e57c5acf7d9",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:13.296059Z",
"timestamp": "2026-05-28T07:38:23.590944Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139699598449536",
"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": "3132996d102a46ca8a5ca4d5b7274ca0",
"span_id": "a15d4a6f5df65726",
"parent_span_id": "86ff6d65e2fff1e5",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:23.594706Z",
"timestamp": "2026-05-28T07:38:34.779001Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139699598449536",
"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": "b4f865c468174aee",
"trace_id": "3132996d102a46ca8a5ca4d5b7274ca0",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:38:11.541705Z",
"timestamp": "2026-05-28T07:38:34.780052Z",
"data": {
"thread.id": "139699598449536",
"thread.name": "MainThread"
}
},
{
"span_id": "9d004aa493139144",
"trace_id": "3132996d102a46ca8a5ca4d5b7274ca0",
"parent_span_id": "b4f865c468174aee",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953891.542515,
"timestamp": 1779953893.293596,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139699598449536",
"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": 155,
"gen_ai.usage.output_tokens.reasoning": 128,
"gen_ai.usage.total_tokens": 178,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "b4f865c468174aee",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "87f77e57c5acf7d9",
"trace_id": "3132996d102a46ca8a5ca4d5b7274ca0",
"parent_span_id": "b4f865c468174aee",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953893.293716,
"timestamp": 1779953903.591949,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139699598449536",
"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": "Paris city proper (the commune) has about 2.1 million residents. The wider Paris metropolitan area has roughly 12 million. Which measure would you like?",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1130,
"gen_ai.usage.output_tokens.reasoning": 1088,
"gen_ai.usage.total_tokens": 1178,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "b4f865c468174aee",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "86ff6d65e2fff1e5",
"trace_id": "3132996d102a46ca8a5ca4d5b7274ca0",
"parent_span_id": "b4f865c468174aee",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953903.592048,
"timestamp": 1779953914.779992,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139699598449536",
"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": "Definitions vary, but in common usage you’ll see:\n\n- Paris urban area (aire urbaine): about 12–13 million people.\n- Île-de-France region (the wider Greater Paris administrative region): around 12–12.5 million people.\n\nIf you want a precise figure, tell me which definition and the year you’d like (e.g., 2019, 2020, 2023), and I’ll pull the latest numbers.",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 2350,
"gen_ai.usage.output_tokens.reasoning": 2240,
"gen_ai.usage.total_tokens": 2431,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "b4f865c468174aee",
"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) 121227ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
85aa4d2egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
85aa4d2egen_ai.output.messagesMissing output messages attribute
9baea0ccgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9baea0ccgen_ai.output.messagesMissing output messages attribute
800f3066gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
800f3066gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "c3661a3f27d64a8884eb5e6708287e88",
"span_id": "af6249a7694b10fe",
"parent_span_id": "85aa4d2e0c291fab",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:12.079959Z",
"timestamp": "2026-05-28T07:38:12.082239Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21860
},
"data": {
"thread.id": "139796013897408",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c3661a3f27d64a8884eb5e6708287e88",
"span_id": "be5e4709f77ef1d0",
"parent_span_id": "85aa4d2e0c291fab",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:12.082324Z",
"timestamp": "2026-05-28T07:38:12.082458Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21860
},
"data": {
"thread.id": "139796013897408",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c3661a3f27d64a8884eb5e6708287e88",
"span_id": "97930cfe617ce66f",
"parent_span_id": "be5e4709f77ef1d0",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:12.082414Z",
"timestamp": "2026-05-28T07:38:12.082447Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21860
},
"data": {
"thread.id": "139796013897408",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c3661a3f27d64a8884eb5e6708287e88",
"span_id": "b4cd186922168d23",
"parent_span_id": "85aa4d2e0c291fab",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:12.082494Z",
"timestamp": "2026-05-28T07:38:12.082510Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21860
},
"data": {
"thread.id": "139796013897408",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c3661a3f27d64a8884eb5e6708287e88",
"span_id": "b4447d31584c8a3a",
"parent_span_id": "85aa4d2e0c291fab",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:12.084176Z",
"timestamp": "2026-05-28T07:38:12.975251Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139796092660608",
"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": "c3661a3f27d64a8884eb5e6708287e88",
"span_id": "9b18cf5392425319",
"parent_span_id": "9baea0cc1ff3ecc6",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:13.030809Z",
"timestamp": "2026-05-28T07:38:20.215903Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139796092660608",
"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": "c3661a3f27d64a8884eb5e6708287e88",
"span_id": "b68202ae894f88f3",
"parent_span_id": "800f3066e548eb34",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:20.651305Z",
"timestamp": "2026-05-28T07:38:29.704167Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139796092660608",
"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": "896ee5c2b2ec0f87",
"trace_id": "c3661a3f27d64a8884eb5e6708287e88",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:38:12.073765Z",
"timestamp": "2026-05-28T07:38:30.285242Z",
"data": {
"thread.id": "139796092660608",
"thread.name": "MainThread"
}
},
{
"span_id": "85aa4d2e0c291fab",
"trace_id": "c3661a3f27d64a8884eb5e6708287e88",
"parent_span_id": "896ee5c2b2ec0f87",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953892.075005,
"timestamp": 1779953893.024847,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139796092660608",
"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.9082643750000443,
"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": "Multi-Turn LLM Test",
"sentry.segment.id": "896ee5c2b2ec0f87",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9baea0cc1ff3ecc6",
"trace_id": "c3661a3f27d64a8884eb5e6708287e88",
"parent_span_id": "896ee5c2b2ec0f87",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953893.024953,
"timestamp": 1779953900.649277,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139796092660608",
"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": 7.191695686999992,
"gen_ai.response.text": "The population depends on how you define “Paris.”\n\n- City proper (the commune of Paris): about 2.1 million residents.\n- Paris metropolitan area (Île-de-France): around 12 million residents.\n- Paris urban area (aire urbaine): about 11–12 million residents.\n\nWhich definition and year would you like the exact figure for? I can look up the latest numbers if you specify.",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1437,
"gen_ai.usage.output_tokens.reasoning": 1344,
"gen_ai.usage.total_tokens": 1485,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "896ee5c2b2ec0f87",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "800f3066e548eb34",
"trace_id": "c3661a3f27d64a8884eb5e6708287e88",
"parent_span_id": "896ee5c2b2ec0f87",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953900.649382,
"timestamp": 1779953910.280922,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139796092660608",
"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.05538604000003,
"gen_ai.response.text": "If you mean the Paris metropolitan area in the common French sense (the Paris urban area, or aire urbaine), it has around 12 million inhabitants (roughly 12.0–12.5 million). \n\nIf you instead mean the wider Île-de-France region ( Greater Paris), that region has about 12–13 million people. \n\nParis city proper itself has about 2.2 million. If you want a precise figure, tell me which definition you’d like and I can pull the latest numbers.",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 1781,
"gen_ai.usage.output_tokens.reasoning": 1664,
"gen_ai.usage.total_tokens": 1862,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "896ee5c2b2ec0f87",
"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) 118486ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
aef12fc8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aef12fc8gen_ai.output.messagesMissing output messages attribute
aa876a78gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aa876a78gen_ai.output.messagesMissing output messages attribute
bb305359gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bb305359gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "c9eb4883b0d64f5682a5368bc10d72e8",
"span_id": "862c367f79ac1801",
"parent_span_id": "aef12fc83d7ea2ba",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:11.881231Z",
"timestamp": "2026-05-28T07:38:11.884718Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21857
},
"data": {
"thread.id": "139831883785920",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c9eb4883b0d64f5682a5368bc10d72e8",
"span_id": "a7e5c6c69b42cf80",
"parent_span_id": "aef12fc83d7ea2ba",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:11.884808Z",
"timestamp": "2026-05-28T07:38:11.884940Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21857
},
"data": {
"thread.id": "139831883785920",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c9eb4883b0d64f5682a5368bc10d72e8",
"span_id": "95f5b4714a6bed93",
"parent_span_id": "a7e5c6c69b42cf80",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:11.884897Z",
"timestamp": "2026-05-28T07:38:11.884929Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21857
},
"data": {
"thread.id": "139831883785920",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c9eb4883b0d64f5682a5368bc10d72e8",
"span_id": "8e247c43f7a61450",
"parent_span_id": "aef12fc83d7ea2ba",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:11.884976Z",
"timestamp": "2026-05-28T07:38:11.884991Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21857
},
"data": {
"thread.id": "139831883785920",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "c9eb4883b0d64f5682a5368bc10d72e8",
"span_id": "8d49ccdb489d7436",
"parent_span_id": "aef12fc83d7ea2ba",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:11.886648Z",
"timestamp": "2026-05-28T07:38:12.145085Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139831962545024",
"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": "c9eb4883b0d64f5682a5368bc10d72e8",
"span_id": "beb47ab754eeee93",
"parent_span_id": "aa876a7811f9f075",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:13.043479Z",
"timestamp": "2026-05-28T07:38:13.250166Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139831962545024",
"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": "c9eb4883b0d64f5682a5368bc10d72e8",
"span_id": "95cfd40c693f7301",
"parent_span_id": "bb30535948b10909",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:21.060102Z",
"timestamp": "2026-05-28T07:38:21.212324Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139831962545024",
"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": "9523020f4cd949b0",
"trace_id": "c9eb4883b0d64f5682a5368bc10d72e8",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:38:11.871538Z",
"timestamp": "2026-05-28T07:38:27.628071Z",
"data": {
"thread.id": "139831962545024",
"thread.name": "MainThread"
}
},
{
"span_id": "aef12fc83d7ea2ba",
"trace_id": "c9eb4883b0d64f5682a5368bc10d72e8",
"parent_span_id": "9523020f4cd949b0",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953891.872765,
"timestamp": 1779953893.040403,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139831962545024",
"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": 113,
"gen_ai.usage.output_tokens.reasoning": 64,
"gen_ai.usage.total_tokens": 136,
"gen_ai.response.time_to_first_token": 0.9444039410000187,
"gen_ai.response.text": "Paris.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9523020f4cd949b0",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "aa876a7811f9f075",
"trace_id": "c9eb4883b0d64f5682a5368bc10d72e8",
"parent_span_id": "9523020f4cd949b0",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953893.040505,
"timestamp": 1779953901.057041,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139831962545024",
"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": 1163,
"gen_ai.usage.output_tokens.reasoning": 1024,
"gen_ai.usage.total_tokens": 1211,
"gen_ai.response.time_to_first_token": 7.309486288000016,
"gen_ai.response.text": "Do you mean:\n\n- the city proper (the municipality of Paris) — about 2.1 million residents (latest widely cited estimates around 2020), or\n- the Paris metropolitan area / Île-de-France urban area — around 12 million residents?\n\nIf you specify which definition and year you want, I can give a precise figure.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9523020f4cd949b0",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bb30535948b10909",
"trace_id": "c9eb4883b0d64f5682a5368bc10d72e8",
"parent_span_id": "9523020f4cd949b0",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953901.057133,
"timestamp": 1779953907.627062,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139831962545024",
"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": 1332,
"gen_ai.usage.output_tokens.reasoning": 1216,
"gen_ai.usage.total_tokens": 1413,
"gen_ai.response.time_to_first_token": 5.861140794999983,
"gen_ai.response.text": "There are a couple of common definitions, so here are the typical figures:\n\n- Île-de-France region (administrative region including Paris and surrounding départements): about 12.3 million people.\n- Paris urban area / aire urbaine (the continuous built-up area around Paris): roughly 12–13 million people.\n\nIf you have a specific definition or year in mind, I can give a more precise number.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9523020f4cd949b0",
"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) 120649ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
a7f3c250gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a7f3c250gen_ai.output.messagesMissing output messages attribute
bd68099fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bd68099fgen_ai.output.messagesMissing output messages attribute
9f703361gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f703361gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "1b47ae3399a146318a8cd548c287b87f",
"span_id": "899d700c58112fac",
"parent_span_id": "a7f3c250372ac72a",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:12.279218Z",
"timestamp": "2026-05-28T07:38:12.281359Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21868
},
"data": {
"thread.id": "140501667804864",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1b47ae3399a146318a8cd548c287b87f",
"span_id": "90b6f45f3d9de81b",
"parent_span_id": "a7f3c250372ac72a",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:12.281439Z",
"timestamp": "2026-05-28T07:38:12.281557Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21868
},
"data": {
"thread.id": "140501667804864",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1b47ae3399a146318a8cd548c287b87f",
"span_id": "97fc11d314fa763c",
"parent_span_id": "90b6f45f3d9de81b",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:12.281519Z",
"timestamp": "2026-05-28T07:38:12.281547Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21868
},
"data": {
"thread.id": "140501667804864",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1b47ae3399a146318a8cd548c287b87f",
"span_id": "b65c195766598462",
"parent_span_id": "a7f3c250372ac72a",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:12.281588Z",
"timestamp": "2026-05-28T07:38:12.281600Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21868
},
"data": {
"thread.id": "140501667804864",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1b47ae3399a146318a8cd548c287b87f",
"span_id": "80dd41f90529c6c7",
"parent_span_id": "a7f3c250372ac72a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:12.283173Z",
"timestamp": "2026-05-28T07:38:13.830541Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140501820291968",
"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": "1b47ae3399a146318a8cd548c287b87f",
"span_id": "861c6b83fc0ff324",
"parent_span_id": "bd68099f3eaa2cff",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:13.843718Z",
"timestamp": "2026-05-28T07:38:23.536549Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140501820291968",
"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": "1b47ae3399a146318a8cd548c287b87f",
"span_id": "878a1273391435ca",
"parent_span_id": "9f70336178806c57",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:23.540848Z",
"timestamp": "2026-05-28T07:38:30.106988Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140501820291968",
"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": "a05533794dd63e94",
"trace_id": "1b47ae3399a146318a8cd548c287b87f",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:38:12.272320Z",
"timestamp": "2026-05-28T07:38:30.108503Z",
"data": {
"thread.id": "140501820291968",
"thread.name": "MainThread"
}
},
{
"span_id": "a7f3c250372ac72a",
"trace_id": "1b47ae3399a146318a8cd548c287b87f",
"parent_span_id": "a05533794dd63e94",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953892.274453,
"timestamp": 1779953893.840948,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140501820291968",
"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,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "a05533794dd63e94",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "bd68099f3eaa2cff",
"trace_id": "1b47ae3399a146318a8cd548c287b87f",
"parent_span_id": "a05533794dd63e94",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953893.841043,
"timestamp": 1779953903.537347,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140501820291968",
"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\": \"There are several commonly used definitions, so the numbers vary a bit:\\n\\n- Paris city proper (the commune): about 2.1 million people.\\n- Paris metropolitan/urban area: roughly 11\\u201312 million people.\\n- \\u00cele-de-France region (the wider Paris region, including many suburbs): about 12\\u201313 million people.\\n- Grand Paris M\\u00e9tropole (the intercommunal area around Paris): about 7 million people.\\n\\nIf you\\u2019d like a precise figure for a specific definition and year, tell me which one and I can give a more exact number.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1853,
"gen_ai.usage.output_tokens.reasoning": 1728,
"gen_ai.usage.total_tokens": 1901,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "a05533794dd63e94",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9f70336178806c57",
"trace_id": "1b47ae3399a146318a8cd548c287b87f",
"parent_span_id": "a05533794dd63e94",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953903.537443,
"timestamp": 1779953910.107641,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140501820291968",
"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:\\n\\n- Paris city proper: about 2.2 million residents.\\n- Paris metropolitan area (the greater urban area around Paris, often called the \\u00cele-de-France urban area): roughly 12 million people.\\n- \\u00cele-de-France region (the wider administrative region that includes Paris and its suburbs): about 12\\u201313 million people.\\n\\nIf you have a specific definition in mind (e.g., INSEE\\u2019s \\u201caire urbaine\\u201d vs. \\u201cfonctionnel urbain\\u201d vs. a particular census definition), I can give a 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": 1345,
"gen_ai.usage.output_tokens.reasoning": 1216,
"gen_ai.usage.total_tokens": 1426,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "a05533794dd63e94",
"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) 121770ms
Critical
checkAISpanCount(3)
checkChatSpanAttributes
953f1befgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
953f1befgen_ai.output.messagesMissing output messages attribute
934166eagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
934166eagen_ai.output.messagesMissing output messages attribute
835e407dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
835e407dgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans)→ gen_ai.input.messagesgen_ai.response.text(3 spans)→ gen_ai.output.messagesgen_ai.system(3 spans)→ gen_ai.provider.nameCaptured Spans (11)
[
{
"trace_id": "0cad2512f48748498fb9c5ae181f9493",
"span_id": "9b2b721d234f42b5",
"parent_span_id": "953f1bef0daf409e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:12.767424Z",
"timestamp": "2026-05-28T07:38:12.769713Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21874
},
"data": {
"thread.id": "140715510580928",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0cad2512f48748498fb9c5ae181f9493",
"span_id": "930c5cda1e6f6d9e",
"parent_span_id": "953f1bef0daf409e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:12.769799Z",
"timestamp": "2026-05-28T07:38:12.769981Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21874
},
"data": {
"thread.id": "140715510580928",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0cad2512f48748498fb9c5ae181f9493",
"span_id": "9bfe76e4b1171bbd",
"parent_span_id": "930c5cda1e6f6d9e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:12.769891Z",
"timestamp": "2026-05-28T07:38:12.769969Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21874
},
"data": {
"thread.id": "140715510580928",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0cad2512f48748498fb9c5ae181f9493",
"span_id": "bd02e0697e093313",
"parent_span_id": "953f1bef0daf409e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:12.770020Z",
"timestamp": "2026-05-28T07:38:12.770036Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21874
},
"data": {
"thread.id": "140715510580928",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "0cad2512f48748498fb9c5ae181f9493",
"span_id": "a77c9e4d04405410",
"parent_span_id": "953f1bef0daf409e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:12.771765Z",
"timestamp": "2026-05-28T07:38:13.854568Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140715588598656",
"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": "0cad2512f48748498fb9c5ae181f9493",
"span_id": "a878fe855413b7c4",
"parent_span_id": "934166ea8668b53d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:13.969644Z",
"timestamp": "2026-05-28T07:38:21.535482Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140715588598656",
"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": "0cad2512f48748498fb9c5ae181f9493",
"span_id": "8539ec5a93d91b63",
"parent_span_id": "835e407d4f2c8cd2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:21.539140Z",
"timestamp": "2026-05-28T07:38:32.221657Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140715588598656",
"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": "9f1816bdb9b68a27",
"trace_id": "0cad2512f48748498fb9c5ae181f9493",
"parent_span_id": null,
"op": "test",
"description": "Multi-Turn LLM Test",
"start_timestamp": "2026-05-28T07:38:12.757863Z",
"timestamp": "2026-05-28T07:38:32.223071Z",
"data": {
"thread.id": "140715588598656",
"thread.name": "MainThread"
}
},
{
"span_id": "953f1bef0daf409e",
"trace_id": "0cad2512f48748498fb9c5ae181f9493",
"parent_span_id": "9f1816bdb9b68a27",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953892.758978,
"timestamp": 1779953893.967117,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140715588598656",
"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": 106,
"gen_ai.usage.output_tokens.reasoning": 64,
"gen_ai.usage.total_tokens": 129,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9f1816bdb9b68a27",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "934166ea8668b53d",
"trace_id": "0cad2512f48748498fb9c5ae181f9493",
"parent_span_id": "9f1816bdb9b68a27",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953893.967225,
"timestamp": 1779953901.536521,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140715588598656",
"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": "Around 2.1 million people live in the city proper of Paris (the commune). The wider Paris metropolitan area (Île-de-France) has about 12 million people. If you want a precise figure, tell me which definition you want (city proper, urban area, or metro area) and the year, and I can pull the exact number.",
"gen_ai.usage.input_tokens": 48,
"gen_ai.usage.output_tokens": 1062,
"gen_ai.usage.output_tokens.reasoning": 960,
"gen_ai.usage.total_tokens": 1110,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9f1816bdb9b68a27",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "835e407d4f2c8cd2",
"trace_id": "0cad2512f48748498fb9c5ae181f9493",
"parent_span_id": "9f1816bdb9b68a27",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953901.536636,
"timestamp": 1779953912.222289,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140715588598656",
"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": "A few different definitions are used, so the numbers vary:\n\n- Paris urban area (aire urbaine): about 12 to 13 million people (roughly 12.5 million in recent years).\n- Île-de-France region (the wider Paris metro region): about 12 to 13 million people as well (roughly 12.3–12.5 million).\n\nIf you tell me which definition you want (or the year), I can pull the exact latest figure.",
"gen_ai.usage.input_tokens": 81,
"gen_ai.usage.output_tokens": 2131,
"gen_ai.usage.output_tokens.reasoning": 1984,
"gen_ai.usage.total_tokens": 2212,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Multi-Turn LLM Test",
"sentry.segment.id": "9f1816bdb9b68a27",
"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 11959ms
Critical
checkChatSpanAttributes
a1eb309fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a1eb309fgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
a1eb309fgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a1eb309fgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "70aaa327cc474f84abb9061eff8be1b1",
"span_id": "958eab275d9a68b4",
"parent_span_id": "a1eb309fc8a74c23",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:18.861641Z",
"timestamp": "2026-05-28T07:38:18.862413Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21938
},
"data": {
"thread.id": "140412122905472",
"thread.name": "MainThread"
}
},
{
"trace_id": "70aaa327cc474f84abb9061eff8be1b1",
"span_id": "9e18e3f5a6c39848",
"parent_span_id": "a1eb309fc8a74c23",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:18.862486Z",
"timestamp": "2026-05-28T07:38:18.862978Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21938
},
"data": {
"thread.id": "140412122905472",
"thread.name": "MainThread"
}
},
{
"trace_id": "70aaa327cc474f84abb9061eff8be1b1",
"span_id": "98c3084073269c0f",
"parent_span_id": "9e18e3f5a6c39848",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:18.862933Z",
"timestamp": "2026-05-28T07:38:18.862968Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21938
},
"data": {
"thread.id": "140412122905472",
"thread.name": "MainThread"
}
},
{
"trace_id": "70aaa327cc474f84abb9061eff8be1b1",
"span_id": "8f1fd596441a569e",
"parent_span_id": "a1eb309fc8a74c23",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:18.863002Z",
"timestamp": "2026-05-28T07:38:18.863011Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21938
},
"data": {
"thread.id": "140412122905472",
"thread.name": "MainThread"
}
},
{
"trace_id": "70aaa327cc474f84abb9061eff8be1b1",
"span_id": "bc943409cdb5caba",
"parent_span_id": "a1eb309fc8a74c23",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:18.863804Z",
"timestamp": "2026-05-28T07:38:19.405533Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140412122905472",
"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": "96fa8dd2d31d9036",
"trace_id": "70aaa327cc474f84abb9061eff8be1b1",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:38:18.858125Z",
"timestamp": "2026-05-28T07:38:19.444079Z",
"data": {
"thread.id": "140412122905472",
"thread.name": "MainThread"
}
},
{
"span_id": "a1eb309fc8a74c23",
"trace_id": "70aaa327cc474f84abb9061eff8be1b1",
"parent_span_id": "96fa8dd2d31d9036",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953898.858678,
"timestamp": 1779953899.444029,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140412122905472",
"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.5781358040001123,
"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": "96fa8dd2d31d9036",
"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 12374ms
Critical
checkChatSpanAttributes
8e373fa1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8e373fa1gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
8e373fa1gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
8e373fa1gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "4916ac67788349fd9e9ee81d6b575b14",
"span_id": "bc0a250642824ab1",
"parent_span_id": "8e373fa1996b5ff7",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:19.474152Z",
"timestamp": "2026-05-28T07:38:19.476337Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21945
},
"data": {
"thread.id": "139927401360256",
"thread.name": "MainThread"
}
},
{
"trace_id": "4916ac67788349fd9e9ee81d6b575b14",
"span_id": "82089db66e453302",
"parent_span_id": "8e373fa1996b5ff7",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:19.476430Z",
"timestamp": "2026-05-28T07:38:19.476565Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21945
},
"data": {
"thread.id": "139927401360256",
"thread.name": "MainThread"
}
},
{
"trace_id": "4916ac67788349fd9e9ee81d6b575b14",
"span_id": "a5343d7d55b9a7e6",
"parent_span_id": "82089db66e453302",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:19.476521Z",
"timestamp": "2026-05-28T07:38:19.476555Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21945
},
"data": {
"thread.id": "139927401360256",
"thread.name": "MainThread"
}
},
{
"trace_id": "4916ac67788349fd9e9ee81d6b575b14",
"span_id": "9c60655a63592ba5",
"parent_span_id": "8e373fa1996b5ff7",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:19.476598Z",
"timestamp": "2026-05-28T07:38:19.476627Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21945
},
"data": {
"thread.id": "139927401360256",
"thread.name": "MainThread"
}
},
{
"trace_id": "4916ac67788349fd9e9ee81d6b575b14",
"span_id": "98b5702606889c22",
"parent_span_id": "8e373fa1996b5ff7",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:19.477931Z",
"timestamp": "2026-05-28T07:38:19.673935Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139927401360256",
"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": "85849f324784f0e2",
"trace_id": "4916ac67788349fd9e9ee81d6b575b14",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:38:19.464189Z",
"timestamp": "2026-05-28T07:38:20.342923Z",
"data": {
"thread.id": "139927401360256",
"thread.name": "MainThread"
}
},
{
"span_id": "8e373fa1996b5ff7",
"trace_id": "4916ac67788349fd9e9ee81d6b575b14",
"parent_span_id": "85849f324784f0e2",
"op": "gen_ai.responses",
"description": "responses gpt-4o-mini",
"start_timestamp": 1779953899.465024,
"timestamp": 1779953900.342886,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139927401360256",
"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.7129515239998909,
"gen_ai.response.text": "Red",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Vision LLM Test",
"sentry.segment.id": "85849f324784f0e2",
"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 11960ms
Critical
checkChatSpanAttributes
bc737efcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bc737efcgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
bc737efcgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
bc737efcgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "e1e93300619e4f1c8614da6cb6265124",
"span_id": "8d70823b3f322ac4",
"parent_span_id": "bc737efca5f5af7b",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:19.634040Z",
"timestamp": "2026-05-28T07:38:19.634887Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21947
},
"data": {
"thread.id": "140339515161472",
"thread.name": "MainThread"
}
},
{
"trace_id": "e1e93300619e4f1c8614da6cb6265124",
"span_id": "8494b776d429db16",
"parent_span_id": "bc737efca5f5af7b",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:19.634965Z",
"timestamp": "2026-05-28T07:38:19.635500Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21947
},
"data": {
"thread.id": "140339515161472",
"thread.name": "MainThread"
}
},
{
"trace_id": "e1e93300619e4f1c8614da6cb6265124",
"span_id": "b2a2af983a2e29ae",
"parent_span_id": "8494b776d429db16",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:19.635456Z",
"timestamp": "2026-05-28T07:38:19.635490Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21947
},
"data": {
"thread.id": "140339515161472",
"thread.name": "MainThread"
}
},
{
"trace_id": "e1e93300619e4f1c8614da6cb6265124",
"span_id": "b216415983e0ae3c",
"parent_span_id": "bc737efca5f5af7b",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:19.635523Z",
"timestamp": "2026-05-28T07:38:19.635532Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21947
},
"data": {
"thread.id": "140339515161472",
"thread.name": "MainThread"
}
},
{
"trace_id": "e1e93300619e4f1c8614da6cb6265124",
"span_id": "9e68d22202474507",
"parent_span_id": "bc737efca5f5af7b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:19.636355Z",
"timestamp": "2026-05-28T07:38:20.201061Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140339515161472",
"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": "8a87c7832bf98a8f",
"trace_id": "e1e93300619e4f1c8614da6cb6265124",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:38:19.630490Z",
"timestamp": "2026-05-28T07:38:20.206694Z",
"data": {
"thread.id": "140339515161472",
"thread.name": "MainThread"
}
},
{
"span_id": "bc737efca5f5af7b",
"trace_id": "e1e93300619e4f1c8614da6cb6265124",
"parent_span_id": "8a87c7832bf98a8f",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953899.631093,
"timestamp": 1779953900.206662,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140339515161472",
"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": "8a87c7832bf98a8f",
"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 13500ms
Critical
checkChatSpanAttributes
84118bfbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84118bfbgen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
84118bfbgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
84118bfbgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "420fb90b1fa04cf8aeb3ab0183d49ab1",
"span_id": "b7e4845a71c18a73",
"parent_span_id": "84118bfbc90ba4f4",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:20.059802Z",
"timestamp": "2026-05-28T07:38:20.060637Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21950
},
"data": {
"thread.id": "139895360826240",
"thread.name": "MainThread"
}
},
{
"trace_id": "420fb90b1fa04cf8aeb3ab0183d49ab1",
"span_id": "b9b41058d3766e8f",
"parent_span_id": "84118bfbc90ba4f4",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:20.060701Z",
"timestamp": "2026-05-28T07:38:20.061163Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21950
},
"data": {
"thread.id": "139895360826240",
"thread.name": "MainThread"
}
},
{
"trace_id": "420fb90b1fa04cf8aeb3ab0183d49ab1",
"span_id": "a717c2a370b1ccd0",
"parent_span_id": "b9b41058d3766e8f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:20.061119Z",
"timestamp": "2026-05-28T07:38:20.061156Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21950
},
"data": {
"thread.id": "139895360826240",
"thread.name": "MainThread"
}
},
{
"trace_id": "420fb90b1fa04cf8aeb3ab0183d49ab1",
"span_id": "9def228b8ed554a1",
"parent_span_id": "84118bfbc90ba4f4",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:20.061183Z",
"timestamp": "2026-05-28T07:38:20.061191Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21950
},
"data": {
"thread.id": "139895360826240",
"thread.name": "MainThread"
}
},
{
"trace_id": "420fb90b1fa04cf8aeb3ab0183d49ab1",
"span_id": "b962698d2eec44dc",
"parent_span_id": "84118bfbc90ba4f4",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:20.061981Z",
"timestamp": "2026-05-28T07:38:22.075159Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139895360826240",
"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": "bdfe1270e4390120",
"trace_id": "420fb90b1fa04cf8aeb3ab0183d49ab1",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:38:20.054573Z",
"timestamp": "2026-05-28T07:38:22.145057Z",
"data": {
"thread.id": "139895360826240",
"thread.name": "MainThread"
}
},
{
"span_id": "84118bfbc90ba4f4",
"trace_id": "420fb90b1fa04cf8aeb3ab0183d49ab1",
"parent_span_id": "bdfe1270e4390120",
"op": "gen_ai.responses",
"description": "responses gpt-4o-mini",
"start_timestamp": 1779953900.055157,
"timestamp": 1779953902.145012,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139895360826240",
"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": "bdfe1270e4390120",
"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 11888ms
Critical
checkChatSpanAttributes
bc12b758gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bc12b758gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
bc12b758gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
bc12b758gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "5b213e1b2273494887f6a883f0fd38e3",
"span_id": "b6f4375396d577e7",
"parent_span_id": "bc12b7588197327b",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:20.815683Z",
"timestamp": "2026-05-28T07:38:20.816646Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21960
},
"data": {
"thread.id": "139799411672768",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5b213e1b2273494887f6a883f0fd38e3",
"span_id": "b97576257ba1f69d",
"parent_span_id": "bc12b7588197327b",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:20.816726Z",
"timestamp": "2026-05-28T07:38:20.817220Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21960
},
"data": {
"thread.id": "139799411672768",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5b213e1b2273494887f6a883f0fd38e3",
"span_id": "b47741433a3ad714",
"parent_span_id": "b97576257ba1f69d",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:20.817177Z",
"timestamp": "2026-05-28T07:38:20.817210Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21960
},
"data": {
"thread.id": "139799411672768",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5b213e1b2273494887f6a883f0fd38e3",
"span_id": "b2bedb14712963fa",
"parent_span_id": "bc12b7588197327b",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:20.817245Z",
"timestamp": "2026-05-28T07:38:20.817254Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21960
},
"data": {
"thread.id": "139799411672768",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "5b213e1b2273494887f6a883f0fd38e3",
"span_id": "8b4e416daff0e281",
"parent_span_id": "bc12b7588197327b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:20.818269Z",
"timestamp": "2026-05-28T07:38:21.301672Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139799489866624",
"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": "8fd6f3e6db221603",
"trace_id": "5b213e1b2273494887f6a883f0fd38e3",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:38:20.811431Z",
"timestamp": "2026-05-28T07:38:21.334484Z",
"data": {
"thread.id": "139799489866624",
"thread.name": "MainThread"
}
},
{
"span_id": "bc12b7588197327b",
"trace_id": "5b213e1b2273494887f6a883f0fd38e3",
"parent_span_id": "8fd6f3e6db221603",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953900.812246,
"timestamp": 1779953901.333133,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139799489866624",
"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.5165519439999571,
"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": "8fd6f3e6db221603",
"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 12406ms
Critical
checkChatSpanAttributes
9a60aff4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9a60aff4gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
9a60aff4gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
9a60aff4gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "ac6e3cca644142b9a9024027a8413df4",
"span_id": "b1bebc6c7ef7e10c",
"parent_span_id": "9a60aff44d268e16",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:21.544549Z",
"timestamp": "2026-05-28T07:38:21.545495Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21969
},
"data": {
"thread.id": "139708538930880",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ac6e3cca644142b9a9024027a8413df4",
"span_id": "91667f50145c7032",
"parent_span_id": "9a60aff44d268e16",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:21.545569Z",
"timestamp": "2026-05-28T07:38:21.546136Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21969
},
"data": {
"thread.id": "139708538930880",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ac6e3cca644142b9a9024027a8413df4",
"span_id": "965f5e38fea6f182",
"parent_span_id": "91667f50145c7032",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:21.546090Z",
"timestamp": "2026-05-28T07:38:21.546124Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21969
},
"data": {
"thread.id": "139708538930880",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ac6e3cca644142b9a9024027a8413df4",
"span_id": "83e6c7887d8207c3",
"parent_span_id": "9a60aff44d268e16",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:21.546159Z",
"timestamp": "2026-05-28T07:38:21.546168Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21969
},
"data": {
"thread.id": "139708538930880",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ac6e3cca644142b9a9024027a8413df4",
"span_id": "9781eb09b65e7847",
"parent_span_id": "9a60aff44d268e16",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:21.547168Z",
"timestamp": "2026-05-28T07:38:21.734099Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139708617968512",
"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": "8db7c49c467c1c73",
"trace_id": "ac6e3cca644142b9a9024027a8413df4",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:38:21.537819Z",
"timestamp": "2026-05-28T07:38:22.562760Z",
"data": {
"thread.id": "139708617968512",
"thread.name": "MainThread"
}
},
{
"span_id": "9a60aff44d268e16",
"trace_id": "ac6e3cca644142b9a9024027a8413df4",
"parent_span_id": "8db7c49c467c1c73",
"op": "gen_ai.responses",
"description": "responses gpt-4o-mini",
"start_timestamp": 1779953901.538884,
"timestamp": 1779953902.561737,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139708617968512",
"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.7561362750000171,
"gen_ai.response.text": "Red",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Vision LLM Test",
"sentry.segment.id": "8db7c49c467c1c73",
"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 11897ms
Critical
checkChatSpanAttributes
abe91eb7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
abe91eb7gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
abe91eb7gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
abe91eb7gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "a698f079e4c2463ea230c8068f8454a1",
"span_id": "930763e54a3089ce",
"parent_span_id": "abe91eb78c561435",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:21.746368Z",
"timestamp": "2026-05-28T07:38:21.747327Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21972
},
"data": {
"thread.id": "140642969904832",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a698f079e4c2463ea230c8068f8454a1",
"span_id": "9e23b615125223cf",
"parent_span_id": "abe91eb78c561435",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:21.747400Z",
"timestamp": "2026-05-28T07:38:21.747940Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21972
},
"data": {
"thread.id": "140642969904832",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a698f079e4c2463ea230c8068f8454a1",
"span_id": "87b74f6befe7a709",
"parent_span_id": "9e23b615125223cf",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:21.747898Z",
"timestamp": "2026-05-28T07:38:21.747930Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21972
},
"data": {
"thread.id": "140642969904832",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a698f079e4c2463ea230c8068f8454a1",
"span_id": "8296e45fd1dd7d3b",
"parent_span_id": "abe91eb78c561435",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:21.747964Z",
"timestamp": "2026-05-28T07:38:21.747973Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21972
},
"data": {
"thread.id": "140642969904832",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "a698f079e4c2463ea230c8068f8454a1",
"span_id": "b42027b602401b0a",
"parent_span_id": "abe91eb78c561435",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:21.749019Z",
"timestamp": "2026-05-28T07:38:22.279430Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140643048655744",
"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": "ab8c0df01e4544d0",
"trace_id": "a698f079e4c2463ea230c8068f8454a1",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:38:21.742400Z",
"timestamp": "2026-05-28T07:38:22.290807Z",
"data": {
"thread.id": "140643048655744",
"thread.name": "MainThread"
}
},
{
"span_id": "abe91eb78c561435",
"trace_id": "a698f079e4c2463ea230c8068f8454a1",
"parent_span_id": "ab8c0df01e4544d0",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953901.743177,
"timestamp": 1779953902.289848,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140643048655744",
"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": "ab8c0df01e4544d0",
"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 13003ms
Critical
checkChatSpanAttributes
ab673e89gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ab673e89gen_ai.output.messagesMissing output messages attribute
Checks
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
ab673e89gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
ab673e89gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "d3c8ae96bd6a4508bc6381dae9d6eb57",
"span_id": "a4c5ff1bcc326262",
"parent_span_id": "ab673e89c1d64a27",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:22.728327Z",
"timestamp": "2026-05-28T07:38:22.729234Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21983
},
"data": {
"thread.id": "140020359878336",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d3c8ae96bd6a4508bc6381dae9d6eb57",
"span_id": "95a0e262e93e3ece",
"parent_span_id": "ab673e89c1d64a27",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:22.729287Z",
"timestamp": "2026-05-28T07:38:22.729804Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21983
},
"data": {
"thread.id": "140020359878336",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d3c8ae96bd6a4508bc6381dae9d6eb57",
"span_id": "833dc4d7666591d7",
"parent_span_id": "95a0e262e93e3ece",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:22.729761Z",
"timestamp": "2026-05-28T07:38:22.729797Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21983
},
"data": {
"thread.id": "140020359878336",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d3c8ae96bd6a4508bc6381dae9d6eb57",
"span_id": "97b0b6e8f72ac5ec",
"parent_span_id": "ab673e89c1d64a27",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:22.729825Z",
"timestamp": "2026-05-28T07:38:22.729834Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21983
},
"data": {
"thread.id": "140020359878336",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "d3c8ae96bd6a4508bc6381dae9d6eb57",
"span_id": "bc7186df9bec7aca",
"parent_span_id": "ab673e89c1d64a27",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:22.730856Z",
"timestamp": "2026-05-28T07:38:24.323744Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140020437715840",
"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": "9f295a74fc7bcabe",
"trace_id": "d3c8ae96bd6a4508bc6381dae9d6eb57",
"parent_span_id": null,
"op": "test",
"description": "Vision LLM Test",
"start_timestamp": "2026-05-28T07:38:22.722316Z",
"timestamp": "2026-05-28T07:38:24.381300Z",
"data": {
"thread.id": "140020437715840",
"thread.name": "MainThread"
}
},
{
"span_id": "ab673e89c1d64a27",
"trace_id": "d3c8ae96bd6a4508bc6381dae9d6eb57",
"parent_span_id": "9f295a74fc7bcabe",
"op": "gen_ai.responses",
"description": "responses gpt-4o-mini",
"start_timestamp": 1779953902.723176,
"timestamp": 1779953904.380522,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140020437715840",
"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": "9f295a74fc7bcabe",
"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) 12347ms
Critical
checkChatSpanAttributes
950fd0b3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
950fd0b3gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "c8fc1e43093841f1b0cce85b7d78152e",
"span_id": "a784091cab3bb6b7",
"parent_span_id": "950fd0b3e068a3b1",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:23.632145Z",
"timestamp": "2026-05-28T07:38:23.633372Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21995
},
"data": {
"thread.id": "140072637512576",
"thread.name": "MainThread"
}
},
{
"trace_id": "c8fc1e43093841f1b0cce85b7d78152e",
"span_id": "a892fc31014fe42e",
"parent_span_id": "950fd0b3e068a3b1",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:23.633449Z",
"timestamp": "2026-05-28T07:38:23.633923Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21995
},
"data": {
"thread.id": "140072637512576",
"thread.name": "MainThread"
}
},
{
"trace_id": "c8fc1e43093841f1b0cce85b7d78152e",
"span_id": "8d1613d2b4f80cf7",
"parent_span_id": "a892fc31014fe42e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:23.633874Z",
"timestamp": "2026-05-28T07:38:23.633910Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21995
},
"data": {
"thread.id": "140072637512576",
"thread.name": "MainThread"
}
},
{
"trace_id": "c8fc1e43093841f1b0cce85b7d78152e",
"span_id": "aa479aa3edda666a",
"parent_span_id": "950fd0b3e068a3b1",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:23.633960Z",
"timestamp": "2026-05-28T07:38:23.633975Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21995
},
"data": {
"thread.id": "140072637512576",
"thread.name": "MainThread"
}
},
{
"trace_id": "c8fc1e43093841f1b0cce85b7d78152e",
"span_id": "87970d6f0f0c3c18",
"parent_span_id": "950fd0b3e068a3b1",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:23.635232Z",
"timestamp": "2026-05-28T07:38:24.161453Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140072637512576",
"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": "90df20047e3a20fd",
"trace_id": "c8fc1e43093841f1b0cce85b7d78152e",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:38:23.626790Z",
"timestamp": "2026-05-28T07:38:24.502028Z",
"data": {
"thread.id": "140072637512576",
"thread.name": "MainThread"
}
},
{
"span_id": "950fd0b3e068a3b1",
"trace_id": "c8fc1e43093841f1b0cce85b7d78152e",
"parent_span_id": "90df20047e3a20fd",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953903.627553,
"timestamp": 1779953904.501993,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140072637512576",
"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": 0.5470068280001215,
"gen_ai.response.text": "The repeated test message aims to create a very long input through constant repetition.",
"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": "90df20047e3a20fd",
"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) 14921ms
Critical
checkChatSpanAttributes
8d443ec6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8d443ec6gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "9aef31d49a2e476fb14a437a6b7566d5",
"span_id": "9966676eb5431cdc",
"parent_span_id": "8d443ec641237522",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:23.616924Z",
"timestamp": "2026-05-28T07:38:23.617942Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21993
},
"data": {
"thread.id": "140717843835776",
"thread.name": "MainThread"
}
},
{
"trace_id": "9aef31d49a2e476fb14a437a6b7566d5",
"span_id": "b5cda586de1ccc38",
"parent_span_id": "8d443ec641237522",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:23.618021Z",
"timestamp": "2026-05-28T07:38:23.618557Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21993
},
"data": {
"thread.id": "140717843835776",
"thread.name": "MainThread"
}
},
{
"trace_id": "9aef31d49a2e476fb14a437a6b7566d5",
"span_id": "849ecec387ff924c",
"parent_span_id": "b5cda586de1ccc38",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:23.618510Z",
"timestamp": "2026-05-28T07:38:23.618547Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21993
},
"data": {
"thread.id": "140717843835776",
"thread.name": "MainThread"
}
},
{
"trace_id": "9aef31d49a2e476fb14a437a6b7566d5",
"span_id": "ae674dd19fda66aa",
"parent_span_id": "8d443ec641237522",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:23.618580Z",
"timestamp": "2026-05-28T07:38:23.618589Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21993
},
"data": {
"thread.id": "140717843835776",
"thread.name": "MainThread"
}
},
{
"trace_id": "9aef31d49a2e476fb14a437a6b7566d5",
"span_id": "b498d7d436589238",
"parent_span_id": "8d443ec641237522",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:23.619505Z",
"timestamp": "2026-05-28T07:38:23.833102Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140717843835776",
"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": "844e1b306725f5a7",
"trace_id": "9aef31d49a2e476fb14a437a6b7566d5",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:38:23.611890Z",
"timestamp": "2026-05-28T07:38:27.153953Z",
"data": {
"thread.id": "140717843835776",
"thread.name": "MainThread"
}
},
{
"span_id": "8d443ec641237522",
"trace_id": "9aef31d49a2e476fb14a437a6b7566d5",
"parent_span_id": "844e1b306725f5a7",
"op": "gen_ai.responses",
"description": "responses gpt-4o-mini",
"start_timestamp": 1779953903.612457,
"timestamp": 1779953907.15391,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140717843835776",
"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": 2.7195141519998742,
"gen_ai.response.text": "This test message is repeatedly generated multiple times to create a lengthy input.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "844e1b306725f5a7",
"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) 12315ms
Critical
checkChatSpanAttributes
8276a8ddgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8276a8ddgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "0ae96edbe24d4bf3bd3fd489050baae2",
"span_id": "bda2d04f2602a295",
"parent_span_id": "8276a8dd4a448031",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:24.081454Z",
"timestamp": "2026-05-28T07:38:24.082336Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21998
},
"data": {
"thread.id": "140211137825664",
"thread.name": "MainThread"
}
},
{
"trace_id": "0ae96edbe24d4bf3bd3fd489050baae2",
"span_id": "bb86aadf5339782d",
"parent_span_id": "8276a8dd4a448031",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:24.082416Z",
"timestamp": "2026-05-28T07:38:24.082970Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21998
},
"data": {
"thread.id": "140211137825664",
"thread.name": "MainThread"
}
},
{
"trace_id": "0ae96edbe24d4bf3bd3fd489050baae2",
"span_id": "997551e27d914cc5",
"parent_span_id": "bb86aadf5339782d",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:24.082917Z",
"timestamp": "2026-05-28T07:38:24.082960Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21998
},
"data": {
"thread.id": "140211137825664",
"thread.name": "MainThread"
}
},
{
"trace_id": "0ae96edbe24d4bf3bd3fd489050baae2",
"span_id": "99eb78972d485bd0",
"parent_span_id": "8276a8dd4a448031",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:24.082995Z",
"timestamp": "2026-05-28T07:38:24.083004Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 21998
},
"data": {
"thread.id": "140211137825664",
"thread.name": "MainThread"
}
},
{
"trace_id": "0ae96edbe24d4bf3bd3fd489050baae2",
"span_id": "8c9baa7e0288de4a",
"parent_span_id": "8276a8dd4a448031",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:24.083951Z",
"timestamp": "2026-05-28T07:38:24.929962Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140211137825664",
"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": "b6f4fa6076ddf71f",
"trace_id": "0ae96edbe24d4bf3bd3fd489050baae2",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:38:24.078438Z",
"timestamp": "2026-05-28T07:38:24.935809Z",
"data": {
"thread.id": "140211137825664",
"thread.name": "MainThread"
}
},
{
"span_id": "8276a8dd4a448031",
"trace_id": "0ae96edbe24d4bf3bd3fd489050baae2",
"parent_span_id": "b6f4fa6076ddf71f",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953904.07904,
"timestamp": 1779953904.935774,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140211137825664",
"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 message consists of repeated phrases designed to create a lengthy input for testing purposes.\", \"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": 16,
"gen_ai.usage.total_tokens": 5445,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "b6f4fa6076ddf71f",
"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) 12587ms
Critical
checkChatSpanAttributes
9bbc61dfgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9bbc61dfgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "63acece54e054f3ab0972b0d843b7792",
"span_id": "b2907651028da6e3",
"parent_span_id": "9bbc61df78790f1a",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:25.803661Z",
"timestamp": "2026-05-28T07:38:25.804910Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22015
},
"data": {
"thread.id": "139736661224320",
"thread.name": "MainThread"
}
},
{
"trace_id": "63acece54e054f3ab0972b0d843b7792",
"span_id": "8b9c57a608c14c15",
"parent_span_id": "9bbc61df78790f1a",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:25.804989Z",
"timestamp": "2026-05-28T07:38:25.805417Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22015
},
"data": {
"thread.id": "139736661224320",
"thread.name": "MainThread"
}
},
{
"trace_id": "63acece54e054f3ab0972b0d843b7792",
"span_id": "b5bf570cec5eac5e",
"parent_span_id": "8b9c57a608c14c15",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:25.805367Z",
"timestamp": "2026-05-28T07:38:25.805405Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22015
},
"data": {
"thread.id": "139736661224320",
"thread.name": "MainThread"
}
},
{
"trace_id": "63acece54e054f3ab0972b0d843b7792",
"span_id": "b82fd1c9bb5764fa",
"parent_span_id": "9bbc61df78790f1a",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:25.805453Z",
"timestamp": "2026-05-28T07:38:25.805468Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22015
},
"data": {
"thread.id": "139736661224320",
"thread.name": "MainThread"
}
},
{
"trace_id": "63acece54e054f3ab0972b0d843b7792",
"span_id": "81b5df3376bef438",
"parent_span_id": "9bbc61df78790f1a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:25.807008Z",
"timestamp": "2026-05-28T07:38:26.908379Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139736661224320",
"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": "a46782bf833969c6",
"trace_id": "63acece54e054f3ab0972b0d843b7792",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:38:25.794971Z",
"timestamp": "2026-05-28T07:38:26.966898Z",
"data": {
"thread.id": "139736661224320",
"thread.name": "MainThread"
}
},
{
"span_id": "9bbc61df78790f1a",
"trace_id": "63acece54e054f3ab0972b0d843b7792",
"parent_span_id": "a46782bf833969c6",
"op": "gen_ai.responses",
"description": "responses gpt-4o-mini",
"start_timestamp": 1779953905.795741,
"timestamp": 1779953906.966852,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139736661224320",
"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": "A repetitive test message is being utilized 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": "a46782bf833969c6",
"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) 12157ms
Critical
checkChatSpanAttributes
a3e637dcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a3e637dcgen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "8e0d9e1254b440a294045fa6a73fbdb0",
"span_id": "8033dec091d6845a",
"parent_span_id": "a3e637dc686a5f6e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:25.798077Z",
"timestamp": "2026-05-28T07:38:25.799000Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22014
},
"data": {
"thread.id": "139735041689280",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8e0d9e1254b440a294045fa6a73fbdb0",
"span_id": "a0921406eaa91d29",
"parent_span_id": "a3e637dc686a5f6e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:25.799075Z",
"timestamp": "2026-05-28T07:38:25.799609Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22014
},
"data": {
"thread.id": "139735041689280",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8e0d9e1254b440a294045fa6a73fbdb0",
"span_id": "abf6094b870032a9",
"parent_span_id": "a0921406eaa91d29",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:25.799566Z",
"timestamp": "2026-05-28T07:38:25.799599Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22014
},
"data": {
"thread.id": "139735041689280",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8e0d9e1254b440a294045fa6a73fbdb0",
"span_id": "84baba637ddbd6e4",
"parent_span_id": "a3e637dc686a5f6e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:25.799652Z",
"timestamp": "2026-05-28T07:38:25.799662Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22014
},
"data": {
"thread.id": "139735041689280",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "8e0d9e1254b440a294045fa6a73fbdb0",
"span_id": "9c8793bf7d16a96e",
"parent_span_id": "a3e637dc686a5f6e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:25.800772Z",
"timestamp": "2026-05-28T07:38:26.343752Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139735119805312",
"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": "a98130145966985a",
"trace_id": "8e0d9e1254b440a294045fa6a73fbdb0",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:38:25.794565Z",
"timestamp": "2026-05-28T07:38:26.641224Z",
"data": {
"thread.id": "139735119805312",
"thread.name": "MainThread"
}
},
{
"span_id": "a3e637dc686a5f6e",
"trace_id": "8e0d9e1254b440a294045fa6a73fbdb0",
"parent_span_id": "a98130145966985a",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953905.795344,
"timestamp": 1779953906.640169,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139735119805312",
"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": 0.5659943220000514,
"gen_ai.response.text": "The message is a repetitive test statement designed to create a long input.",
"gen_ai.usage.input_tokens": 5429,
"gen_ai.usage.input_tokens.cached": 5376,
"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": "a98130145966985a",
"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) 13407ms
Critical
checkChatSpanAttributes
84e7d808gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84e7d808gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "ad823ea332f84ec5814da7a8318de5c7",
"span_id": "9b5ccb12935272ac",
"parent_span_id": "84e7d8084ff24879",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:26.334800Z",
"timestamp": "2026-05-28T07:38:26.335703Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22019
},
"data": {
"thread.id": "140490657089216",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ad823ea332f84ec5814da7a8318de5c7",
"span_id": "9b6180261401382b",
"parent_span_id": "84e7d8084ff24879",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:26.335759Z",
"timestamp": "2026-05-28T07:38:26.336266Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22019
},
"data": {
"thread.id": "140490657089216",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ad823ea332f84ec5814da7a8318de5c7",
"span_id": "bb8436b9b6c9bff0",
"parent_span_id": "9b6180261401382b",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:26.336217Z",
"timestamp": "2026-05-28T07:38:26.336260Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22019
},
"data": {
"thread.id": "140490657089216",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ad823ea332f84ec5814da7a8318de5c7",
"span_id": "b0cfa88ec8216da8",
"parent_span_id": "84e7d8084ff24879",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:26.336287Z",
"timestamp": "2026-05-28T07:38:26.336296Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22019
},
"data": {
"thread.id": "140490657089216",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "ad823ea332f84ec5814da7a8318de5c7",
"span_id": "b4da433363a2eac2",
"parent_span_id": "84e7d8084ff24879",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:26.337427Z",
"timestamp": "2026-05-28T07:38:26.526370Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140490736302976",
"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": "80bcb2db86decc3f",
"trace_id": "ad823ea332f84ec5814da7a8318de5c7",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:38:26.329402Z",
"timestamp": "2026-05-28T07:38:28.225420Z",
"data": {
"thread.id": "140490736302976",
"thread.name": "MainThread"
}
},
{
"span_id": "84e7d8084ff24879",
"trace_id": "ad823ea332f84ec5814da7a8318de5c7",
"parent_span_id": "80bcb2db86decc3f",
"op": "gen_ai.responses",
"description": "responses gpt-4o-mini",
"start_timestamp": 1779953906.330423,
"timestamp": 1779953908.224422,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140490736302976",
"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": 19,
"gen_ai.usage.total_tokens": 5448,
"gen_ai.response.time_to_first_token": 1.259158472999843,
"gen_ai.response.text": "The message repeatedly states that it is a test message designed to produce a very long input.",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "80bcb2db86decc3f",
"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) 12472ms
Critical
checkChatSpanAttributes
a3c886d3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a3c886d3gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "74256ed9596a498d99b2fbe5f5a31651",
"span_id": "8900a0bb9eae0db4",
"parent_span_id": "a3c886d3928f648a",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:28.038817Z",
"timestamp": "2026-05-28T07:38:28.039767Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22036
},
"data": {
"thread.id": "139623301048000",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "74256ed9596a498d99b2fbe5f5a31651",
"span_id": "b2ca5fb0ce29a0e0",
"parent_span_id": "a3c886d3928f648a",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:28.039841Z",
"timestamp": "2026-05-28T07:38:28.040378Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22036
},
"data": {
"thread.id": "139623301048000",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "74256ed9596a498d99b2fbe5f5a31651",
"span_id": "aed037a2f690ea41",
"parent_span_id": "b2ca5fb0ce29a0e0",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:28.040333Z",
"timestamp": "2026-05-28T07:38:28.040367Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22036
},
"data": {
"thread.id": "139623301048000",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "74256ed9596a498d99b2fbe5f5a31651",
"span_id": "a2ebabc8449afeff",
"parent_span_id": "a3c886d3928f648a",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:28.040401Z",
"timestamp": "2026-05-28T07:38:28.040410Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22036
},
"data": {
"thread.id": "139623301048000",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "74256ed9596a498d99b2fbe5f5a31651",
"span_id": "ad888294de7430a8",
"parent_span_id": "a3c886d3928f648a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:28.041555Z",
"timestamp": "2026-05-28T07:38:29.086891Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139623379905408",
"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": "8385551cda090d66",
"trace_id": "74256ed9596a498d99b2fbe5f5a31651",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:38:28.035306Z",
"timestamp": "2026-05-28T07:38:29.098522Z",
"data": {
"thread.id": "139623379905408",
"thread.name": "MainThread"
}
},
{
"span_id": "a3c886d3928f648a",
"trace_id": "74256ed9596a498d99b2fbe5f5a31651",
"parent_span_id": "8385551cda090d66",
"op": "gen_ai.chat",
"description": "chat gpt-4o-mini",
"start_timestamp": 1779953908.036141,
"timestamp": 1779953909.097545,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139623379905408",
"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 message is a repeated test meant 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": 13,
"gen_ai.usage.total_tokens": 5442,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "8385551cda090d66",
"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) 13219ms
Critical
checkChatSpanAttributes
bef669d8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bef669d8gen_ai.output.messagesMissing output messages attribute
Checks
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.response.text(1 span)→ gen_ai.output.messagesgen_ai.system(1 span)→ gen_ai.provider.nameCaptured Spans (7)
[
{
"trace_id": "6d418588b6164222b41e837c73efb79f",
"span_id": "88f72cbe8a5a2e13",
"parent_span_id": "bef669d8c4c48f82",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:28.480131Z",
"timestamp": "2026-05-28T07:38:28.481063Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22045
},
"data": {
"thread.id": "139738405521088",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6d418588b6164222b41e837c73efb79f",
"span_id": "afbdf71e31f5fd00",
"parent_span_id": "bef669d8c4c48f82",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:28.481137Z",
"timestamp": "2026-05-28T07:38:28.481675Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22045
},
"data": {
"thread.id": "139738405521088",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6d418588b6164222b41e837c73efb79f",
"span_id": "90050b5b08e4cc83",
"parent_span_id": "afbdf71e31f5fd00",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:28.481629Z",
"timestamp": "2026-05-28T07:38:28.481664Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22045
},
"data": {
"thread.id": "139738405521088",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6d418588b6164222b41e837c73efb79f",
"span_id": "af2e9a08ea6ab948",
"parent_span_id": "bef669d8c4c48f82",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:28.481700Z",
"timestamp": "2026-05-28T07:38:28.481709Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22045
},
"data": {
"thread.id": "139738405521088",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "6d418588b6164222b41e837c73efb79f",
"span_id": "9c79aed8f04506f1",
"parent_span_id": "bef669d8c4c48f82",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:28.482835Z",
"timestamp": "2026-05-28T07:38:30.042233Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139738483858304",
"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": "92ac0ab0eec7f934",
"trace_id": "6d418588b6164222b41e837c73efb79f",
"parent_span_id": null,
"op": "test",
"description": "Long Input LLM Test",
"start_timestamp": "2026-05-28T07:38:28.475044Z",
"timestamp": "2026-05-28T07:38:30.105085Z",
"data": {
"thread.id": "139738483858304",
"thread.name": "MainThread"
}
},
{
"span_id": "bef669d8c4c48f82",
"trace_id": "6d418588b6164222b41e837c73efb79f",
"parent_span_id": "92ac0ab0eec7f934",
"op": "gen_ai.responses",
"description": "responses gpt-4o-mini",
"start_timestamp": 1779953908.475829,
"timestamp": 1779953910.10433,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139738483858304",
"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 message is a test sentence that is redundantly repeated to generate an extensive input.",
"gen_ai.usage.input_tokens": 5429,
"gen_ai.usage.output_tokens": 18,
"gen_ai.usage.total_tokens": 5447,
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Long Input LLM Test",
"sentry.segment.id": "92ac0ab0eec7f934",
"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) 18479ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
877e5f55gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
877e5f55gen_ai.output.messagesMissing output messages attribute
9030cfd4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9030cfd4gen_ai.output.messagesMissing output messages attribute
9bd07007gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9bd07007gen_ai.output.messagesMissing output messages attribute
806163f2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
806163f2gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "3f7d94a89f7a43878b3c553cc91efb79",
"span_id": "827235c81ee5f8b9",
"parent_span_id": "877e5f553dc84647",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:28.697513Z",
"timestamp": "2026-05-28T07:38:28.698375Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22047
},
"data": {
"thread.id": "140405912734592",
"thread.name": "MainThread"
}
},
{
"trace_id": "3f7d94a89f7a43878b3c553cc91efb79",
"span_id": "a55f5fb4d7ef8f3f",
"parent_span_id": "877e5f553dc84647",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:28.698451Z",
"timestamp": "2026-05-28T07:38:28.699004Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22047
},
"data": {
"thread.id": "140405912734592",
"thread.name": "MainThread"
}
},
{
"trace_id": "3f7d94a89f7a43878b3c553cc91efb79",
"span_id": "a5dcc08729e38145",
"parent_span_id": "a55f5fb4d7ef8f3f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:28.698955Z",
"timestamp": "2026-05-28T07:38:28.698992Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22047
},
"data": {
"thread.id": "140405912734592",
"thread.name": "MainThread"
}
},
{
"trace_id": "3f7d94a89f7a43878b3c553cc91efb79",
"span_id": "8386c7e0e5e18508",
"parent_span_id": "877e5f553dc84647",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:28.699028Z",
"timestamp": "2026-05-28T07:38:28.699037Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22047
},
"data": {
"thread.id": "140405912734592",
"thread.name": "MainThread"
}
},
{
"trace_id": "3f7d94a89f7a43878b3c553cc91efb79",
"span_id": "94a15407d0e35c29",
"parent_span_id": "877e5f553dc84647",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:28.699826Z",
"timestamp": "2026-05-28T07:38:29.890101Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140405912734592",
"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": "3f7d94a89f7a43878b3c553cc91efb79",
"span_id": "ba46737c4e453601",
"parent_span_id": "9030cfd48bfa4154",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:29.931557Z",
"timestamp": "2026-05-28T07:38:31.653294Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140405912734592",
"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": "3f7d94a89f7a43878b3c553cc91efb79",
"span_id": "a9c68f3750251aed",
"parent_span_id": "9bd07007eaead227",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:31.875319Z",
"timestamp": "2026-05-28T07:38:33.910761Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140405912734592",
"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": "3f7d94a89f7a43878b3c553cc91efb79",
"span_id": "ba277369caa4434c",
"parent_span_id": "806163f23df8f17a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:34.115606Z",
"timestamp": "2026-05-28T07:38:35.583404Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140405912734592",
"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": "b8d90734dda3ac5f",
"trace_id": "3f7d94a89f7a43878b3c553cc91efb79",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:38:28.694647Z",
"timestamp": "2026-05-28T07:38:35.633008Z",
"data": {
"thread.id": "140405912734592",
"thread.name": "MainThread"
}
},
{
"span_id": "877e5f553dc84647",
"trace_id": "3f7d94a89f7a43878b3c553cc91efb79",
"parent_span_id": "b8d90734dda3ac5f",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953908.695202,
"timestamp": 1779953909.930265,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140405912734592",
"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.2015936559998863,
"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,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b8d90734dda3ac5f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9030cfd48bfa4154",
"trace_id": "3f7d94a89f7a43878b3c553cc91efb79",
"parent_span_id": "b8d90734dda3ac5f",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953909.930343,
"timestamp": 1779953911.872837,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140405912734592",
"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.7236549440001454,
"gen_ai.response.text": "4. In base-10 arithmetic, 2 + 2 equals 4. Want a quick explanation or a related problem to try?",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 293,
"gen_ai.usage.output_tokens.reasoning": 256,
"gen_ai.usage.total_tokens": 317,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b8d90734dda3ac5f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9bd07007eaead227",
"trace_id": "3f7d94a89f7a43878b3c553cc91efb79",
"parent_span_id": "b8d90734dda3ac5f",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953911.872941,
"timestamp": 1779953914.112985,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140405912734592",
"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": 2.0382727379999324,
"gen_ai.response.text": "The capital of Germany is Berlin. Berlin has been the capital since Germany’s reunification in 1990 and is also the largest city in the country. Would you like more facts about Berlin?",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 368,
"gen_ai.usage.output_tokens.reasoning": 320,
"gen_ai.usage.total_tokens": 412,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b8d90734dda3ac5f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "806163f23df8f17a",
"trace_id": "3f7d94a89f7a43878b3c553cc91efb79",
"parent_span_id": "b8d90734dda3ac5f",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953914.113095,
"timestamp": 1779953915.632945,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "140405912734592",
"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.4710120340000685,
"gen_ai.response.text": "3 + 3 equals 6.",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 209,
"gen_ai.usage.output_tokens.reasoning": 192,
"gen_ai.usage.total_tokens": 259,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b8d90734dda3ac5f",
"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) 19741ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
aaa12848gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aaa12848gen_ai.output.messagesMissing output messages attribute
913e0ee6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
913e0ee6gen_ai.output.messagesMissing output messages attribute
8bd9e1d9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8bd9e1d9gen_ai.output.messagesMissing output messages attribute
a868c445gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a868c445gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "d52bfa7380fa42fc9782a0183c09797c",
"span_id": "82c631da6835aeca",
"parent_span_id": "aaa12848b18775fc",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:29.112759Z",
"timestamp": "2026-05-28T07:38:29.113646Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22054
},
"data": {
"thread.id": "140426951875456",
"thread.name": "MainThread"
}
},
{
"trace_id": "d52bfa7380fa42fc9782a0183c09797c",
"span_id": "8355087500854588",
"parent_span_id": "aaa12848b18775fc",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:29.113732Z",
"timestamp": "2026-05-28T07:38:29.114274Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22054
},
"data": {
"thread.id": "140426951875456",
"thread.name": "MainThread"
}
},
{
"trace_id": "d52bfa7380fa42fc9782a0183c09797c",
"span_id": "87570875e5e54eb5",
"parent_span_id": "8355087500854588",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:29.114218Z",
"timestamp": "2026-05-28T07:38:29.114262Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22054
},
"data": {
"thread.id": "140426951875456",
"thread.name": "MainThread"
}
},
{
"trace_id": "d52bfa7380fa42fc9782a0183c09797c",
"span_id": "b3202d4b660e4404",
"parent_span_id": "aaa12848b18775fc",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:29.114298Z",
"timestamp": "2026-05-28T07:38:29.114307Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22054
},
"data": {
"thread.id": "140426951875456",
"thread.name": "MainThread"
}
},
{
"trace_id": "d52bfa7380fa42fc9782a0183c09797c",
"span_id": "b793524d8ffe4b3a",
"parent_span_id": "aaa12848b18775fc",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:29.115164Z",
"timestamp": "2026-05-28T07:38:29.402210Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140426951875456",
"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": "d52bfa7380fa42fc9782a0183c09797c",
"span_id": "9f2b20b177e2fbe6",
"parent_span_id": "913e0ee6f588ed0d",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:30.741982Z",
"timestamp": "2026-05-28T07:38:30.920000Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140426951875456",
"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": "d52bfa7380fa42fc9782a0183c09797c",
"span_id": "a871c4828208b1ee",
"parent_span_id": "8bd9e1d97905926c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:33.279022Z",
"timestamp": "2026-05-28T07:38:33.479065Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140426951875456",
"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": "d52bfa7380fa42fc9782a0183c09797c",
"span_id": "b16e09786f4f2bce",
"parent_span_id": "a868c445a0880044",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:35.382517Z",
"timestamp": "2026-05-28T07:38:35.550179Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140426951875456",
"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": "b1250326586ff60a",
"trace_id": "d52bfa7380fa42fc9782a0183c09797c",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:38:29.107565Z",
"timestamp": "2026-05-28T07:38:37.196997Z",
"data": {
"thread.id": "140426951875456",
"thread.name": "MainThread"
}
},
{
"span_id": "aaa12848b18775fc",
"trace_id": "d52bfa7380fa42fc9782a0183c09797c",
"parent_span_id": "b1250326586ff60a",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953909.108178,
"timestamp": 1779953910.740826,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140426951875456",
"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": 196,
"gen_ai.usage.output_tokens.reasoning": 128,
"gen_ai.usage.total_tokens": 219,
"gen_ai.response.time_to_first_token": 1.4070388939999248,
"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": "b1250326586ff60a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "913e0ee6f588ed0d",
"trace_id": "d52bfa7380fa42fc9782a0183c09797c",
"parent_span_id": "b1250326586ff60a",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953910.7409,
"timestamp": 1779953913.276462,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140426951875456",
"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": 295,
"gen_ai.usage.output_tokens.reasoning": 192,
"gen_ai.usage.total_tokens": 319,
"gen_ai.response.time_to_first_token": 2.080187034999881,
"gen_ai.response.text": "4. 2 + 2 equals 4. If you’d like, I can show a quick way to see it (e.g., on a number line).",
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b1250326586ff60a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "8bd9e1d97905926c",
"trace_id": "d52bfa7380fa42fc9782a0183c09797c",
"parent_span_id": "b1250326586ff60a",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953913.276564,
"timestamp": 1779953915.381186,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140426951875456",
"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": 278,
"gen_ai.usage.output_tokens.reasoning": 192,
"gen_ai.usage.total_tokens": 322,
"gen_ai.response.time_to_first_token": 1.7386888240000644,
"gen_ai.response.text": "The capital of Germany is Berlin. If you’d like more details about Germany, I can share about its cities, history, or culture.",
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b1250326586ff60a",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a868c445a0880044",
"trace_id": "d52bfa7380fa42fc9782a0183c09797c",
"parent_span_id": "b1250326586ff60a",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953915.381258,
"timestamp": 1779953917.196939,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140426951875456",
"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": 275,
"gen_ai.usage.output_tokens.reasoning": 192,
"gen_ai.usage.total_tokens": 325,
"gen_ai.response.time_to_first_token": 1.4707131580000805,
"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.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b1250326586ff60a",
"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) 19041ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
b21c0151gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b21c0151gen_ai.output.messagesMissing output messages attribute
821b9f4dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
821b9f4dgen_ai.output.messagesMissing output messages attribute
be36cfbegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
be36cfbegen_ai.output.messagesMissing output messages attribute
805080d0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
805080d0gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "99f762452fb04cf3b7e9affc75424c8b",
"span_id": "a5f9a3d3bf6cd4be",
"parent_span_id": "b21c0151e02f842e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:29.692957Z",
"timestamp": "2026-05-28T07:38:29.693819Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22058
},
"data": {
"thread.id": "139974317353856",
"thread.name": "MainThread"
}
},
{
"trace_id": "99f762452fb04cf3b7e9affc75424c8b",
"span_id": "bf8c46f025e61cb4",
"parent_span_id": "b21c0151e02f842e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:29.693897Z",
"timestamp": "2026-05-28T07:38:29.694418Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22058
},
"data": {
"thread.id": "139974317353856",
"thread.name": "MainThread"
}
},
{
"trace_id": "99f762452fb04cf3b7e9affc75424c8b",
"span_id": "a97f1de2b82a4d48",
"parent_span_id": "bf8c46f025e61cb4",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:29.694372Z",
"timestamp": "2026-05-28T07:38:29.694407Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22058
},
"data": {
"thread.id": "139974317353856",
"thread.name": "MainThread"
}
},
{
"trace_id": "99f762452fb04cf3b7e9affc75424c8b",
"span_id": "a5a5abf331f3f3b0",
"parent_span_id": "b21c0151e02f842e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:29.694443Z",
"timestamp": "2026-05-28T07:38:29.694452Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22058
},
"data": {
"thread.id": "139974317353856",
"thread.name": "MainThread"
}
},
{
"trace_id": "99f762452fb04cf3b7e9affc75424c8b",
"span_id": "be1ea6e444960b43",
"parent_span_id": "b21c0151e02f842e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:29.695260Z",
"timestamp": "2026-05-28T07:38:30.609149Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139974317353856",
"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": "99f762452fb04cf3b7e9affc75424c8b",
"span_id": "92cc12585bc45b98",
"parent_span_id": "821b9f4dce221ea2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:30.621502Z",
"timestamp": "2026-05-28T07:38:33.065783Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139974317353856",
"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": "99f762452fb04cf3b7e9affc75424c8b",
"span_id": "8e8d6d703f0a7277",
"parent_span_id": "be36cfbe7e740c07",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:33.069512Z",
"timestamp": "2026-05-28T07:38:34.531488Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139974317353856",
"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": "99f762452fb04cf3b7e9affc75424c8b",
"span_id": "9290ebb4ead1fcc7",
"parent_span_id": "805080d04b615523",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:34.536508Z",
"timestamp": "2026-05-28T07:38:37.305661Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139974317353856",
"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": "aa04537f7d6155e3",
"trace_id": "99f762452fb04cf3b7e9affc75424c8b",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:38:29.690110Z",
"timestamp": "2026-05-28T07:38:37.306402Z",
"data": {
"thread.id": "139974317353856",
"thread.name": "MainThread"
}
},
{
"span_id": "b21c0151e02f842e",
"trace_id": "99f762452fb04cf3b7e9affc75424c8b",
"parent_span_id": "aa04537f7d6155e3",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953909.690697,
"timestamp": 1779953910.619465,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139974317353856",
"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": "aa04537f7d6155e3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "821b9f4dce221ea2",
"trace_id": "99f762452fb04cf3b7e9affc75424c8b",
"parent_span_id": "aa04537f7d6155e3",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953910.619565,
"timestamp": 1779953913.06658,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139974317353856",
"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. Adding two and two gives four. If you\\u2019d like, I can show a quick explanation or relate it to other bases or algebra.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 358,
"gen_ai.usage.output_tokens.reasoning": 320,
"gen_ai.usage.total_tokens": 382,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "aa04537f7d6155e3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "be36cfbe7e740c07",
"trace_id": "99f762452fb04cf3b7e9affc75424c8b",
"parent_span_id": "aa04537f7d6155e3",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953913.066706,
"timestamp": 1779953914.532222,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139974317353856",
"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": "aa04537f7d6155e3",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "805080d04b615523",
"trace_id": "99f762452fb04cf3b7e9affc75424c8b",
"parent_span_id": "aa04537f7d6155e3",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953914.532322,
"timestamp": 1779953917.306354,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139974317353856",
"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 = 6. You can think of it as two groups of three, which together make six.\\n\\nWould you like more practice or a quick method (like counting on or using a number line)?\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 436,
"gen_ai.usage.output_tokens.reasoning": 384,
"gen_ai.usage.total_tokens": 486,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "aa04537f7d6155e3",
"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) 114451ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
88e98d55gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88e98d55gen_ai.output.messagesMissing output messages attribute
94c0662bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94c0662bgen_ai.output.messagesMissing output messages attribute
9fbeefa2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9fbeefa2gen_ai.output.messagesMissing output messages attribute
a161c7d4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a161c7d4gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "8bf521f557084594abe8627c86675861",
"span_id": "a290e92534101696",
"parent_span_id": "88e98d55a4ac3b0c",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:30.587858Z",
"timestamp": "2026-05-28T07:38:30.588738Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22071
},
"data": {
"thread.id": "140044770360192",
"thread.name": "MainThread"
}
},
{
"trace_id": "8bf521f557084594abe8627c86675861",
"span_id": "b4d3c071ce222c3f",
"parent_span_id": "88e98d55a4ac3b0c",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:30.588821Z",
"timestamp": "2026-05-28T07:38:30.589356Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22071
},
"data": {
"thread.id": "140044770360192",
"thread.name": "MainThread"
}
},
{
"trace_id": "8bf521f557084594abe8627c86675861",
"span_id": "9225e526c4074774",
"parent_span_id": "b4d3c071ce222c3f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:30.589306Z",
"timestamp": "2026-05-28T07:38:30.589344Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22071
},
"data": {
"thread.id": "140044770360192",
"thread.name": "MainThread"
}
},
{
"trace_id": "8bf521f557084594abe8627c86675861",
"span_id": "8b0164c361f28829",
"parent_span_id": "88e98d55a4ac3b0c",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:30.589381Z",
"timestamp": "2026-05-28T07:38:30.589390Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22071
},
"data": {
"thread.id": "140044770360192",
"thread.name": "MainThread"
}
},
{
"trace_id": "8bf521f557084594abe8627c86675861",
"span_id": "bf703322caaa3419",
"parent_span_id": "88e98d55a4ac3b0c",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:30.590221Z",
"timestamp": "2026-05-28T07:38:34.558232Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140044770360192",
"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": "8bf521f557084594abe8627c86675861",
"span_id": "9320af2fec9250aa",
"parent_span_id": "94c0662b74714c7f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:34.679403Z",
"timestamp": "2026-05-28T07:38:37.159264Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140044770360192",
"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": "8bf521f557084594abe8627c86675861",
"span_id": "b3b03f3ddeef2641",
"parent_span_id": "9fbeefa28e1c8378",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:37.165656Z",
"timestamp": "2026-05-28T07:38:38.833108Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140044770360192",
"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": "8bf521f557084594abe8627c86675861",
"span_id": "8e7b96ce974eafae",
"parent_span_id": "a161c7d484894039",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:38.839293Z",
"timestamp": "2026-05-28T07:38:43.095663Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140044770360192",
"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": "b6e662fe4db6c7bc",
"trace_id": "8bf521f557084594abe8627c86675861",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:38:30.583214Z",
"timestamp": "2026-05-28T07:38:43.096685Z",
"data": {
"thread.id": "140044770360192",
"thread.name": "MainThread"
}
},
{
"span_id": "88e98d55a4ac3b0c",
"trace_id": "8bf521f557084594abe8627c86675861",
"parent_span_id": "b6e662fe4db6c7bc",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953910.583812,
"timestamp": 1779953914.677467,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140044770360192",
"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": 204,
"gen_ai.usage.output_tokens.reasoning": 192,
"gen_ai.usage.total_tokens": 227,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b6e662fe4db6c7bc",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "94c0662b74714c7f",
"trace_id": "8bf521f557084594abe8627c86675861",
"parent_span_id": "b6e662fe4db6c7bc",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953914.677586,
"timestamp": 1779953917.160314,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140044770360192",
"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\nBrief explanation: 2 plus 2 equals 4 because adding two more objects to two objects gives four. Optional representations: II + II = IV (Roman numerals), 10 + 10 (binary) = 100. If you want, I can show more examples or practice problems.",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 419,
"gen_ai.usage.output_tokens.reasoning": 320,
"gen_ai.usage.total_tokens": 443,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b6e662fe4db6c7bc",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9fbeefa28e1c8378",
"trace_id": "8bf521f557084594abe8627c86675861",
"parent_span_id": "b6e662fe4db6c7bc",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953917.160415,
"timestamp": 1779953918.83405,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140044770360192",
"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": 246,
"gen_ai.usage.output_tokens.reasoning": 192,
"gen_ai.usage.total_tokens": 290,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b6e662fe4db6c7bc",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a161c7d484894039",
"trace_id": "8bf521f557084594abe8627c86675861",
"parent_span_id": "b6e662fe4db6c7bc",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953918.834142,
"timestamp": 1779953923.09661,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140044770360192",
"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. You can think of it as two groups of three objects, which together make six.",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 280,
"gen_ai.usage.output_tokens.reasoning": 192,
"gen_ai.usage.total_tokens": 330,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b6e662fe4db6c7bc",
"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) 110777ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
86f98564gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
86f98564gen_ai.output.messagesMissing output messages attribute
a5d027efgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a5d027efgen_ai.output.messagesMissing output messages attribute
b8b2031bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8b2031bgen_ai.output.messagesMissing output messages attribute
ad3fd51bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad3fd51bgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "60d3e5a0e9d0458ba27d17badb4ef96d",
"span_id": "99380c36876127aa",
"parent_span_id": "86f98564fd324127",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:31.006144Z",
"timestamp": "2026-05-28T07:38:31.008279Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22081
},
"data": {
"thread.id": "139784786134720",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "60d3e5a0e9d0458ba27d17badb4ef96d",
"span_id": "8130825ee1795594",
"parent_span_id": "86f98564fd324127",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:31.008367Z",
"timestamp": "2026-05-28T07:38:31.008500Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22081
},
"data": {
"thread.id": "139784786134720",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "60d3e5a0e9d0458ba27d17badb4ef96d",
"span_id": "b96b7de651c4fb5b",
"parent_span_id": "8130825ee1795594",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:31.008456Z",
"timestamp": "2026-05-28T07:38:31.008489Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22081
},
"data": {
"thread.id": "139784786134720",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "60d3e5a0e9d0458ba27d17badb4ef96d",
"span_id": "a412553bf090b071",
"parent_span_id": "86f98564fd324127",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:31.008537Z",
"timestamp": "2026-05-28T07:38:31.008552Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22081
},
"data": {
"thread.id": "139784786134720",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "60d3e5a0e9d0458ba27d17badb4ef96d",
"span_id": "9664584bcfbd3a9e",
"parent_span_id": "86f98564fd324127",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:31.010172Z",
"timestamp": "2026-05-28T07:38:33.026256Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139784864877440",
"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": "60d3e5a0e9d0458ba27d17badb4ef96d",
"span_id": "80794fb12913d5e5",
"parent_span_id": "a5d027ef440da419",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:33.091508Z",
"timestamp": "2026-05-28T07:38:35.287591Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139784864877440",
"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": "60d3e5a0e9d0458ba27d17badb4ef96d",
"span_id": "86ecd5a812b2e88a",
"parent_span_id": "b8b2031b6ae4939b",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:35.465412Z",
"timestamp": "2026-05-28T07:38:38.050211Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139784864877440",
"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": "60d3e5a0e9d0458ba27d17badb4ef96d",
"span_id": "bcf7e1d3033cbee0",
"parent_span_id": "ad3fd51b917928eb",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:38.113417Z",
"timestamp": "2026-05-28T07:38:39.744362Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139784864877440",
"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": "b4c9be6c5bf2ddde",
"trace_id": "60d3e5a0e9d0458ba27d17badb4ef96d",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:38:31.000266Z",
"timestamp": "2026-05-28T07:38:40.177787Z",
"data": {
"thread.id": "139784864877440",
"thread.name": "MainThread"
}
},
{
"span_id": "86f98564fd324127",
"trace_id": "60d3e5a0e9d0458ba27d17badb4ef96d",
"parent_span_id": "b4c9be6c5bf2ddde",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953911.001346,
"timestamp": 1779953913.088904,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139784864877440",
"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": 2.0332131650000065,
"gen_ai.response.text": "The capital of France is Paris.",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 336,
"gen_ai.usage.output_tokens.reasoning": 320,
"gen_ai.usage.total_tokens": 359,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b4c9be6c5bf2ddde",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "a5d027ef440da419",
"trace_id": "60d3e5a0e9d0458ba27d17badb4ef96d",
"parent_span_id": "b4c9be6c5bf2ddde",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953913.089028,
"timestamp": 1779953915.462681,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139784864877440",
"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": 2.2004256440000063,
"gen_ai.response.text": "4. Quick check: 2 + 2 = 4. If you’d like, I can show a few different ways to see it or give you more practice problems.",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 365,
"gen_ai.usage.output_tokens.reasoning": 320,
"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": "b4c9be6c5bf2ddde",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b8b2031b6ae4939b",
"trace_id": "60d3e5a0e9d0458ba27d17badb4ef96d",
"parent_span_id": "b4c9be6c5bf2ddde",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953915.462796,
"timestamp": 1779953918.107655,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139784864877440",
"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": 2.5880128740000146,
"gen_ai.response.text": "Berlin.",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 203,
"gen_ai.usage.output_tokens.reasoning": 192,
"gen_ai.usage.total_tokens": 247,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b4c9be6c5bf2ddde",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ad3fd51b917928eb",
"trace_id": "60d3e5a0e9d0458ba27d17badb4ef96d",
"parent_span_id": "b4c9be6c5bf2ddde",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953918.107759,
"timestamp": 1779953920.176446,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139784864877440",
"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.637307471999975,
"gen_ai.response.text": "3 + 3 = 6.\n\nYou can think of it as two groups of three items: 3 + 3 = 6. Or on a number line, move 3 steps from 0, then 3 more steps, ending at 6. Want to try a couple more?",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 326,
"gen_ai.usage.output_tokens.reasoning": 256,
"gen_ai.usage.total_tokens": 376,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b4c9be6c5bf2ddde",
"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) 114668ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
82602448gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82602448gen_ai.output.messagesMissing output messages attribute
81c9cb93gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81c9cb93gen_ai.output.messagesMissing output messages attribute
ba192dd2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ba192dd2gen_ai.output.messagesMissing output messages attribute
b4e330a9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b4e330a9gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "2a8f5c30a21a4786a385aeacca9b7c0e",
"span_id": "82ab269ff9c4c606",
"parent_span_id": "826024484874ef7e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:31.817137Z",
"timestamp": "2026-05-28T07:38:31.818066Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22090
},
"data": {
"thread.id": "139749041895104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "2a8f5c30a21a4786a385aeacca9b7c0e",
"span_id": "9b51fbf41909cd9c",
"parent_span_id": "826024484874ef7e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:31.818140Z",
"timestamp": "2026-05-28T07:38:31.818684Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22090
},
"data": {
"thread.id": "139749041895104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "2a8f5c30a21a4786a385aeacca9b7c0e",
"span_id": "828e9e599bcae797",
"parent_span_id": "9b51fbf41909cd9c",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:31.818638Z",
"timestamp": "2026-05-28T07:38:31.818672Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22090
},
"data": {
"thread.id": "139749041895104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "2a8f5c30a21a4786a385aeacca9b7c0e",
"span_id": "852a29cc8ac22ef8",
"parent_span_id": "826024484874ef7e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:31.818709Z",
"timestamp": "2026-05-28T07:38:31.818723Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22090
},
"data": {
"thread.id": "139749041895104",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "2a8f5c30a21a4786a385aeacca9b7c0e",
"span_id": "a3f5aebec5cb1281",
"parent_span_id": "826024484874ef7e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:31.819713Z",
"timestamp": "2026-05-28T07:38:32.041240Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139749192293248",
"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": "2a8f5c30a21a4786a385aeacca9b7c0e",
"span_id": "bea23eed3650af0c",
"parent_span_id": "81c9cb934953f617",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:33.214404Z",
"timestamp": "2026-05-28T07:38:33.419030Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139749192293248",
"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": "2a8f5c30a21a4786a385aeacca9b7c0e",
"span_id": "81b5acca7b934000",
"parent_span_id": "ba192dd26c83f93a",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:34.731329Z",
"timestamp": "2026-05-28T07:38:34.922058Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139749192293248",
"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": "2a8f5c30a21a4786a385aeacca9b7c0e",
"span_id": "837a67f07ef2255e",
"parent_span_id": "b4e330a908598ec5",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:42.668830Z",
"timestamp": "2026-05-28T07:38:42.838525Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139749192293248",
"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": "9a4bb2bcea358c34",
"trace_id": "2a8f5c30a21a4786a385aeacca9b7c0e",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:38:31.811497Z",
"timestamp": "2026-05-28T07:38:44.819081Z",
"data": {
"thread.id": "139749192293248",
"thread.name": "MainThread"
}
},
{
"span_id": "826024484874ef7e",
"trace_id": "2a8f5c30a21a4786a385aeacca9b7c0e",
"parent_span_id": "9a4bb2bcea358c34",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953911.812379,
"timestamp": 1779953913.211021,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139749192293248",
"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": 141,
"gen_ai.usage.output_tokens.reasoning": 128,
"gen_ai.usage.total_tokens": 164,
"gen_ai.response.time_to_first_token": 1.1211605490000238,
"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": "9a4bb2bcea358c34",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "81c9cb934953f617",
"trace_id": "2a8f5c30a21a4786a385aeacca9b7c0e",
"parent_span_id": "9a4bb2bcea358c34",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953913.211102,
"timestamp": 1779953914.728775,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139749192293248",
"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": 193,
"gen_ai.usage.output_tokens.reasoning": 128,
"gen_ai.usage.total_tokens": 217,
"gen_ai.response.time_to_first_token": 1.2406290930000523,
"gen_ai.response.text": "4\n\nIf you’d like, I can show a quick explanation or give you a few more addition problems for practice.",
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "9a4bb2bcea358c34",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ba192dd26c83f93a",
"trace_id": "2a8f5c30a21a4786a385aeacca9b7c0e",
"parent_span_id": "9a4bb2bcea358c34",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953914.728876,
"timestamp": 1779953922.663427,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139749192293248",
"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": 198,
"gen_ai.usage.output_tokens.reasoning": 128,
"gen_ai.usage.total_tokens": 242,
"gen_ai.response.time_to_first_token": 1.4615023609999298,
"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": "9a4bb2bcea358c34",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b4e330a908598ec5",
"trace_id": "2a8f5c30a21a4786a385aeacca9b7c0e",
"parent_span_id": "9a4bb2bcea358c34",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953922.663522,
"timestamp": 1779953924.818283,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "139749192293248",
"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": 343,
"gen_ai.usage.output_tokens.reasoning": 256,
"gen_ai.usage.total_tokens": 393,
"gen_ai.response.time_to_first_token": 1.75690422699995,
"gen_ai.response.text": "3 + 3 = 6. It’s the same as 2 × 3 = 6 — two groups of three. Want to try another one?",
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "9a4bb2bcea358c34",
"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) 18790ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
a3b5ffd8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a3b5ffd8gen_ai.output.messagesMissing output messages attribute
866c1cd1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
866c1cd1gen_ai.output.messagesMissing output messages attribute
b908d814gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b908d814gen_ai.output.messagesMissing output messages attribute
be04b1a5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
be04b1a5gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "1fb5781dfad44c5c98c7bc2eac94b89e",
"span_id": "9aa96af98c27349d",
"parent_span_id": "a3b5ffd8a005d86e",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:31.557080Z",
"timestamp": "2026-05-28T07:38:31.558139Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22085
},
"data": {
"thread.id": "139701799343808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1fb5781dfad44c5c98c7bc2eac94b89e",
"span_id": "8314fa3b4db5fa1a",
"parent_span_id": "a3b5ffd8a005d86e",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:31.558223Z",
"timestamp": "2026-05-28T07:38:31.558789Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22085
},
"data": {
"thread.id": "139701799343808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1fb5781dfad44c5c98c7bc2eac94b89e",
"span_id": "bca01c1a8fc4b23d",
"parent_span_id": "8314fa3b4db5fa1a",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:31.558741Z",
"timestamp": "2026-05-28T07:38:31.558776Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22085
},
"data": {
"thread.id": "139701799343808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1fb5781dfad44c5c98c7bc2eac94b89e",
"span_id": "aac1226d40646444",
"parent_span_id": "a3b5ffd8a005d86e",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:31.558812Z",
"timestamp": "2026-05-28T07:38:31.558821Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22085
},
"data": {
"thread.id": "139701799343808",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "1fb5781dfad44c5c98c7bc2eac94b89e",
"span_id": "b1b05b7207df7605",
"parent_span_id": "a3b5ffd8a005d86e",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:31.560130Z",
"timestamp": "2026-05-28T07:38:32.657357Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139701878188928",
"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": "1fb5781dfad44c5c98c7bc2eac94b89e",
"span_id": "9d7464bf559cf16f",
"parent_span_id": "866c1cd1797270b2",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:32.668960Z",
"timestamp": "2026-05-28T07:38:34.693705Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139701878188928",
"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": "1fb5781dfad44c5c98c7bc2eac94b89e",
"span_id": "bfebb62ba58d00db",
"parent_span_id": "b908d81463f30318",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:34.697516Z",
"timestamp": "2026-05-28T07:38:36.786050Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139701878188928",
"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": "1fb5781dfad44c5c98c7bc2eac94b89e",
"span_id": "bb425b6afe9659e1",
"parent_span_id": "be04b1a595a97bbc",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/chat/completions",
"start_timestamp": "2026-05-28T07:38:36.793158Z",
"timestamp": "2026-05-28T07:38:38.829779Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "139701878188928",
"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": "b9a4ccd4aa77231f",
"trace_id": "1fb5781dfad44c5c98c7bc2eac94b89e",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:38:31.553697Z",
"timestamp": "2026-05-28T07:38:38.837007Z",
"data": {
"thread.id": "139701878188928",
"thread.name": "MainThread"
}
},
{
"span_id": "a3b5ffd8a005d86e",
"trace_id": "1fb5781dfad44c5c98c7bc2eac94b89e",
"parent_span_id": "b9a4ccd4aa77231f",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953911.554486,
"timestamp": 1779953912.667038,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139701878188928",
"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": "b9a4ccd4aa77231f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "866c1cd1797270b2",
"trace_id": "1fb5781dfad44c5c98c7bc2eac94b89e",
"parent_span_id": "b9a4ccd4aa77231f",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953912.667152,
"timestamp": 1779953914.694553,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139701878188928",
"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\\nIf you\\u2019d like, I can show a quick explanation or give you more practice problems.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 221,
"gen_ai.usage.output_tokens.reasoning": 192,
"gen_ai.usage.total_tokens": 245,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b9a4ccd4aa77231f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "b908d81463f30318",
"trace_id": "1fb5781dfad44c5c98c7bc2eac94b89e",
"parent_span_id": "b9a4ccd4aa77231f",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953914.694678,
"timestamp": 1779953916.786733,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139701878188928",
"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. If you'd like more information about Berlin or Germany, I can share more details.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 224,
"gen_ai.usage.output_tokens.reasoning": 192,
"gen_ai.usage.total_tokens": 268,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "b9a4ccd4aa77231f",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "be04b1a595a97bbc",
"trace_id": "1fb5781dfad44c5c98c7bc2eac94b89e",
"parent_span_id": "b9a4ccd4aa77231f",
"op": "gen_ai.chat",
"description": "chat gpt-5-nano",
"start_timestamp": 1779953916.78683,
"timestamp": 1779953918.830482,
"data": {
"sentry.op": "gen_ai.chat",
"sentry.origin": "auto.ai.openai",
"thread.id": "139701878188928",
"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. It\\u2019s adding 3 to another 3. Want to try a few more?\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 226,
"gen_ai.usage.output_tokens.reasoning": 192,
"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": "b9a4ccd4aa77231f",
"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) 111092ms
Critical
checkAISpanCount(4)
checkChatSpanAttributes
b8e8feeagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8e8feeagen_ai.output.messagesMissing output messages attribute
ae44ae0fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ae44ae0fgen_ai.output.messagesMissing output messages attribute
9c19c41cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c19c41cgen_ai.output.messagesMissing output messages attribute
9582b344gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9582b344gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
Checks
checkValidTokenUsage
checkInputMessagesSchema
Warnings
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans)→ gen_ai.input.messagesgen_ai.response.text(4 spans)→ gen_ai.output.messagesgen_ai.system(4 spans)→ gen_ai.provider.nameCaptured Spans (13)
[
{
"trace_id": "2ad0923efb6b4e73b3869af0a3a0f5ee",
"span_id": "86f0dc9ff9e3a9ff",
"parent_span_id": "b8e8feeafab7578f",
"same_process_as_parent": true,
"op": "subprocess",
"description": "uname -p",
"start_timestamp": "2026-05-28T07:38:31.881573Z",
"timestamp": "2026-05-28T07:38:31.882523Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22094
},
"data": {
"thread.id": "140232260699840",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "2ad0923efb6b4e73b3869af0a3a0f5ee",
"span_id": "bea6c656ff451364",
"parent_span_id": "b8e8feeafab7578f",
"same_process_as_parent": true,
"op": "subprocess.communicate",
"description": null,
"start_timestamp": "2026-05-28T07:38:31.882602Z",
"timestamp": "2026-05-28T07:38:31.883156Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22094
},
"data": {
"thread.id": "140232260699840",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "2ad0923efb6b4e73b3869af0a3a0f5ee",
"span_id": "9d5c22be5340b972",
"parent_span_id": "bea6c656ff451364",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:31.883110Z",
"timestamp": "2026-05-28T07:38:31.883143Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22094
},
"data": {
"thread.id": "140232260699840",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "2ad0923efb6b4e73b3869af0a3a0f5ee",
"span_id": "a869b4656b1c33bd",
"parent_span_id": "b8e8feeafab7578f",
"same_process_as_parent": true,
"op": "subprocess.wait",
"description": null,
"start_timestamp": "2026-05-28T07:38:31.883180Z",
"timestamp": "2026-05-28T07:38:31.883189Z",
"origin": "auto.subprocess.stdlib.subprocess",
"tags": {
"subprocess.pid": 22094
},
"data": {
"thread.id": "140232260699840",
"thread.name": "asyncio_0"
}
},
{
"trace_id": "2ad0923efb6b4e73b3869af0a3a0f5ee",
"span_id": "afede0611af8be7e",
"parent_span_id": "b8e8feeafab7578f",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:31.884214Z",
"timestamp": "2026-05-28T07:38:33.657089Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140232339700608",
"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": "2ad0923efb6b4e73b3869af0a3a0f5ee",
"span_id": "baa142e0c28f6020",
"parent_span_id": "ae44ae0fdd334a70",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:33.766442Z",
"timestamp": "2026-05-28T07:38:36.763640Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140232339700608",
"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": "2ad0923efb6b4e73b3869af0a3a0f5ee",
"span_id": "af196e0c7a39ef36",
"parent_span_id": "9c19c41c2da0b069",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:36.767150Z",
"timestamp": "2026-05-28T07:38:39.014935Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140232339700608",
"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": "2ad0923efb6b4e73b3869af0a3a0f5ee",
"span_id": "89aa9acae76b7072",
"parent_span_id": "9582b344c4b597d7",
"same_process_as_parent": true,
"op": "http.client",
"description": "POST https://api.openai.com/v1/responses",
"start_timestamp": "2026-05-28T07:38:39.021969Z",
"timestamp": "2026-05-28T07:38:41.019125Z",
"origin": "auto.http.httpx",
"status": "ok",
"tags": {
"http.status_code": "200",
"status": "ok"
},
"data": {
"thread.id": "140232339700608",
"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": "99a976d82a7e4fcf",
"trace_id": "2ad0923efb6b4e73b3869af0a3a0f5ee",
"parent_span_id": null,
"op": "test",
"description": "Conversation ID LLM Test",
"start_timestamp": "2026-05-28T07:38:31.876147Z",
"timestamp": "2026-05-28T07:38:41.023897Z",
"data": {
"thread.id": "140232339700608",
"thread.name": "MainThread"
}
},
{
"span_id": "b8e8feeafab7578f",
"trace_id": "2ad0923efb6b4e73b3869af0a3a0f5ee",
"parent_span_id": "99a976d82a7e4fcf",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953911.877043,
"timestamp": 1779953913.764342,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140232339700608",
"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 is the capital of France.",
"gen_ai.usage.input_tokens": 23,
"gen_ai.usage.output_tokens": 231,
"gen_ai.usage.output_tokens.reasoning": 192,
"gen_ai.usage.total_tokens": 254,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "99a976d82a7e4fcf",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "ae44ae0fdd334a70",
"trace_id": "2ad0923efb6b4e73b3869af0a3a0f5ee",
"parent_span_id": "99a976d82a7e4fcf",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953913.764456,
"timestamp": 1779953916.764816,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140232339700608",
"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\nReason: 2 plus 2 means combining two items with another two items, giving four items in total.\n\nWould you like a quick explanation on how addition works or some practice problems?",
"gen_ai.usage.input_tokens": 24,
"gen_ai.usage.output_tokens": 437,
"gen_ai.usage.output_tokens.reasoning": 384,
"gen_ai.usage.total_tokens": 461,
"gen_ai.conversation.id": "conv-b",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "99a976d82a7e4fcf",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9c19c41c2da0b069",
"trace_id": "2ad0923efb6b4e73b3869af0a3a0f5ee",
"parent_span_id": "99a976d82a7e4fcf",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953916.764923,
"timestamp": 1779953919.015818,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140232339700608",
"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. Would you like more details about the city?",
"gen_ai.usage.input_tokens": 44,
"gen_ai.usage.output_tokens": 295,
"gen_ai.usage.output_tokens.reasoning": 256,
"gen_ai.usage.total_tokens": 339,
"gen_ai.conversation.id": "conv-a",
"sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
"sentry.environment": "production",
"sentry.segment.name": "Conversation ID LLM Test",
"sentry.segment.id": "99a976d82a7e4fcf",
"sentry.sdk.name": "sentry.python",
"sentry.sdk.version": "2.60.0"
},
"status": "ok",
"is_segment": false
},
{
"span_id": "9582b344c4b597d7",
"trace_id": "2ad0923efb6b4e73b3869af0a3a0f5ee",
"parent_span_id": "99a976d82a7e4fcf",
"op": "gen_ai.responses",
"description": "responses gpt-5-nano",
"start_timestamp": 1779953919.015915,
"timestamp": 1779953921.020167,
"data": {
"sentry.op": "gen_ai.responses",
"sentry.origin": "auto.ai.openai",
"thread.id": "140232339700608",
"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. It’s like two groups of three, which add up to six. Want more practice problems?",
"gen_ai.usage.input_tokens": 50,
"gen_ai.usage.output_tokens": 286,
"gen_ai.usage.output_tokens.reasoning": 192,
"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": "99a976d82a7e4fcf",
"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
b7e821e0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
browser/langchain :: Basic Embeddings Test (blocking) 1
checkResponseModel
97fa5923gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
cloudflare/google-genai :: Basic Embeddings Test (blocking) 1
checkResponseModel
933bba63gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
cloudflare/langchain :: Basic Embeddings Test (blocking) 1
checkResponseModel
b1a91299gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
nextjs/google-genai :: Basic Embeddings Test (blocking) 1
checkResponseModel
80be0ca7gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
nextjs/langchain :: Basic Embeddings Test (blocking) 1
checkResponseModel
f6b60061gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
node/google-genai :: Basic Embeddings Test (blocking) 1
checkResponseModel
f6b31401gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
node/langchain :: Basic Embeddings Test (blocking) 1
checkResponseModel
ba4a1e0cgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
python/google-genai :: Basic Embeddings Test (sync, blocking) 1
checkResponseModel
aed28d6bgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
python/google-genai :: Basic Embeddings Test (async, blocking) 1
checkResponseModel
aba8893egen_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.namecloudflare/vercel :: Basic Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/vercel :: Basic Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)cloudflare/vercel :: Basic Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)cloudflare/vercel :: Basic Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/vercel :: Basic Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/vercel :: Basic Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)cloudflare/vercel :: Basic Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(4 spans)gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(4 spans)gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(4 spans)gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(4 spans)gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)cloudflare/vercel :: Vision Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/vercel :: Vision Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/vercel :: Vision Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)cloudflare/vercel :: Vision Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)cloudflare/vercel :: Vision Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/vercel :: Vision Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/vercel :: Vision Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)cloudflare/vercel :: Vision Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)cloudflare/vercel :: Conversation ID Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.namecloudflare/vercel :: Conversation ID Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.namecloudflare/vercel :: Conversation ID Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(8 spans)cloudflare/vercel :: Conversation ID Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(8 spans)cloudflare/vercel :: Conversation ID Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.namecloudflare/vercel :: Conversation ID Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.namecloudflare/vercel :: Conversation ID Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(8 spans)cloudflare/vercel :: Conversation ID Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(8 spans)nextjs/vercel :: Basic Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/vercel :: Basic Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/vercel :: Basic Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)nextjs/vercel :: Basic Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)nextjs/vercel :: Basic Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/vercel :: Basic Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/vercel :: Basic Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)nextjs/vercel :: Basic Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(4 spans)gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(4 spans)gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(4 spans)gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(4 spans)gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)nextjs/vercel :: Vision Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/vercel :: Vision Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/vercel :: Vision Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)nextjs/vercel :: Vision Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)nextjs/vercel :: Vision Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/vercel :: Vision Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/vercel :: Vision Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)nextjs/vercel :: Vision Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)nextjs/vercel :: Conversation ID Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.namenextjs/vercel :: Conversation ID Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.namenextjs/vercel :: Conversation ID Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(8 spans)nextjs/vercel :: Conversation ID Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(8 spans)nextjs/vercel :: Conversation ID Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.namenextjs/vercel :: Conversation ID Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.namenextjs/vercel :: Conversation ID Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(8 spans)nextjs/vercel :: Conversation ID Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(8 spans)node/vercel :: Basic Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/vercel :: Basic Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/vercel :: Basic Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)node/vercel :: Basic Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)node/vercel :: Basic Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/vercel :: Basic Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/vercel :: Basic Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)node/vercel :: Basic Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(4 spans)gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(4 spans)gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(4 spans)gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(3 spans)→ gen_ai.provider.namegen_ai.tool.input(2 spans)→ gen_ai.tool.call.argumentsgen_ai.tool.output(2 spans)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(4 spans)gen_ai.tool.call.id(2 spans)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)node/vercel :: Vision Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/vercel :: Vision Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/vercel :: Vision Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)node/vercel :: Vision Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)node/vercel :: Vision Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/vercel :: Vision Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/vercel :: Vision Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)node/vercel :: Vision Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(2 spans)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)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.definitionsgen_ai.system(2 spans)→ gen_ai.provider.namegen_ai.tool.input(1 span)→ gen_ai.tool.call.argumentsgen_ai.tool.output(1 span)→ gen_ai.tool.call.resultUnknown Attributes
gen_ai.function_id(3 spans)gen_ai.tool.call.id(1 span)node/vercel :: Conversation ID Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.namenode/vercel :: Conversation ID Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.namenode/vercel :: Conversation ID Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(8 spans)node/vercel :: Conversation ID Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(8 spans)node/vercel :: Conversation ID Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.namenode/vercel :: Conversation ID Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.namenode/vercel :: Conversation ID Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(8 spans)node/vercel :: Conversation ID Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans)→ gen_ai.provider.nameUnknown Attributes
gen_ai.function_id(8 spans)browser/google-genai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namebrowser/langchain :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namebrowser/openai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/google-genai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/langchain :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/openai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/google-genai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/langchain :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/openai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/google-genai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/langchain :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/openai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namepython/google-genai :: Basic Embeddings Test (sync, blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namepython/google-genai :: Basic Embeddings Test (async, blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namepython/litellm :: Basic Embeddings Test (sync, blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namepython/openai :: Basic Embeddings Test (sync, blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namepython/openai :: Basic Embeddings Test (async, blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namebrowser/anthropic :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namebrowser/anthropic :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namebrowser/google-genai :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namebrowser/google-genai :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namebrowser/langchain :: Basic Error LLM Test (streaming, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namebrowser/langchain :: Basic Error LLM Test (streaming, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namebrowser/langchain :: Basic Error LLM Test (blocking, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namebrowser/langchain :: Basic Error LLM Test (blocking, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namebrowser/openai :: Basic Error LLM Test (streaming, chat)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)browser/openai :: Basic Error LLM Test (streaming, responses)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)browser/openai :: Basic Error LLM Test (blocking, chat)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namebrowser/openai :: Basic Error LLM Test (blocking, responses)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/anthropic :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/anthropic :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/google-genai :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/google-genai :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/langchain :: Basic Error LLM Test (streaming, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/langchain :: Basic Error LLM Test (streaming, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/langchain :: Basic Error LLM Test (blocking, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/langchain :: Basic Error LLM Test (blocking, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/openai :: Basic Error LLM Test (streaming, chat)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)cloudflare/openai :: Basic Error LLM Test (streaming, responses)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)cloudflare/openai :: Basic Error LLM Test (blocking, chat)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namecloudflare/openai :: Basic Error LLM Test (blocking, responses)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/anthropic :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/anthropic :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/google-genai :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/google-genai :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/langchain :: Basic Error LLM Test (streaming, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/langchain :: Basic Error LLM Test (streaming, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/langchain :: Basic Error LLM Test (blocking, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/langchain :: Basic Error LLM Test (blocking, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/openai :: Basic Error LLM Test (streaming, chat)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)nextjs/openai :: Basic Error LLM Test (streaming, responses)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)nextjs/openai :: Basic Error LLM Test (blocking, chat)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenextjs/openai :: Basic Error LLM Test (blocking, responses)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/anthropic :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/anthropic :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/google-genai :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/google-genai :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/langchain :: Basic Error LLM Test (streaming, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/langchain :: Basic Error LLM Test (streaming, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/langchain :: Basic Error LLM Test (blocking, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/langchain :: Basic Error LLM Test (blocking, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/openai :: Basic Error LLM Test (streaming, chat)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)node/openai :: Basic Error LLM Test (streaming, responses)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.nameUnknown Attributes
gen_ai.request.stream(1 span)node/openai :: Basic Error LLM Test (blocking, chat)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namenode/openai :: Basic Error LLM Test (blocking, responses)1 deprecated
Deprecated Attributes
gen_ai.system(1 span)→ gen_ai.provider.namepython/anthropic :: Basic Error LLM Test (sync, streaming)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/anthropic :: Basic Error LLM Test (sync, blocking)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/anthropic :: Basic Error LLM Test (async, streaming)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/anthropic :: Basic Error LLM Test (async, blocking)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/google-genai :: Basic Error LLM Test (sync, streaming)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/google-genai :: Basic Error LLM Test (sync, blocking)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/google-genai :: Basic Error LLM Test (async, streaming)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/google-genai :: Basic Error LLM Test (async, blocking)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/langchain :: Basic Error LLM Test (sync, streaming, openai)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/langchain :: Basic Error LLM Test (sync, streaming, anthropic)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/langchain :: Basic Error LLM Test (sync, blocking, openai)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/langchain :: Basic Error LLM Test (sync, blocking, anthropic)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/langchain :: Basic Error LLM Test (async, streaming, openai)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/langchain :: Basic Error LLM Test (async, streaming, anthropic)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/langchain :: Basic Error LLM Test (async, blocking, openai)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/langchain :: Basic Error LLM Test (async, blocking, anthropic)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/openai :: Basic Error LLM Test (sync, streaming, chat)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/openai :: Basic Error LLM Test (sync, streaming, responses)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/openai :: Basic Error LLM Test (sync, blocking, chat)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/openai :: Basic Error LLM Test (sync, blocking, responses)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/openai :: Basic Error LLM Test (async, streaming, chat)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/openai :: Basic Error LLM Test (async, streaming, responses)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/openai :: Basic Error LLM Test (async, blocking, chat)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.namepython/openai :: Basic Error LLM Test (async, blocking, responses)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span)→ gen_ai.input.messagesgen_ai.system(1 span)→ gen_ai.provider.name