{
  "resourceSpans": [
    {
      "resource": {
        "attributes": [
          {
            "key": "service.name",
            "value": {
              "stringValue": "research-agent"
            }
          },
          {
            "key": "deployment.environment.name",
            "value": {
              "stringValue": "production"
            }
          }
        ]
      },
      "scopeSpans": [
        {
          "scope": {
            "name": "blackspool.quickstart",
            "version": "1.0.0"
          },
          "spans": [
            {
              "traceId": "832ad544eb5732a46447fa3621c984ea",
              "spanId": "8af478f52091453c",
              "name": "agent.run",
              "kind": 1,
              "startTimeUnixNano": "1796333261687000000",
              "endTimeUnixNano": "1796333264147000000",
              "attributes": [
                {
                  "key": "gen_ai.agent.name",
                  "value": {
                    "stringValue": "research-agent"
                  }
                },
                {
                  "key": "input.value",
                  "value": {
                    "stringValue": "Summarize Q4 agent reliability metrics."
                  }
                }
              ],
              "status": {
                "code": 1
              }
            },
            {
              "traceId": "832ad544eb5732a46447fa3621c984ea",
              "spanId": "617f7aff4e1a7cc1",
              "parentSpanId": "8af478f52091453c",
              "name": "llm.plan",
              "kind": 3,
              "startTimeUnixNano": "1796333261691000000",
              "endTimeUnixNano": "1796333262331000000",
              "attributes": [
                {
                  "key": "gen_ai.operation.name",
                  "value": {
                    "stringValue": "chat"
                  }
                },
                {
                  "key": "gen_ai.request.model",
                  "value": {
                    "stringValue": "gpt-4o-mini"
                  }
                },
                {
                  "key": "gen_ai.usage.input_tokens",
                  "value": {
                    "intValue": "1840"
                  }
                },
                {
                  "key": "gen_ai.usage.output_tokens",
                  "value": {
                    "intValue": "212"
                  }
                }
              ],
              "status": {
                "code": 1
              }
            },
            {
              "traceId": "832ad544eb5732a46447fa3621c984ea",
              "spanId": "7e68f6c366c536dc",
              "parentSpanId": "8af478f52091453c",
              "name": "tool.web_search",
              "kind": 3,
              "startTimeUnixNano": "1796333262337000000",
              "endTimeUnixNano": "1796333262747000000",
              "attributes": [
                {
                  "key": "gen_ai.tool.name",
                  "value": {
                    "stringValue": "web_search"
                  }
                },
                {
                  "key": "input.value",
                  "value": {
                    "stringValue": "{\"query\":\"Q4 agent reliability metrics\"}"
                  }
                }
              ],
              "status": {
                "code": 1
              }
            },
            {
              "traceId": "832ad544eb5732a46447fa3621c984ea",
              "spanId": "c9f8910a8532e277",
              "parentSpanId": "8af478f52091453c",
              "name": "llm.answer",
              "kind": 3,
              "startTimeUnixNano": "1796333262753000000",
              "endTimeUnixNano": "1796333263933000000",
              "attributes": [
                {
                  "key": "gen_ai.operation.name",
                  "value": {
                    "stringValue": "chat"
                  }
                },
                {
                  "key": "gen_ai.request.model",
                  "value": {
                    "stringValue": "gpt-4o-mini"
                  }
                },
                {
                  "key": "gen_ai.usage.input_tokens",
                  "value": {
                    "intValue": "4210"
                  }
                },
                {
                  "key": "gen_ai.usage.output_tokens",
                  "value": {
                    "intValue": "655"
                  }
                },
                {
                  "key": "output.value",
                  "value": {
                    "stringValue": "Q4 reliability improved 38% after loop detection enabled."
                  }
                }
              ],
              "status": {
                "code": 1
              }
            }
          ]
        }
      ]
    }
  ]
}
