{
  "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": "1fdbc384883f2e3e520e0da078a0167a",
              "spanId": "5c9869f9eb56d71e",
              "name": "agent.run",
              "kind": 1,
              "startTimeUnixNano": "1796376128696000000",
              "endTimeUnixNano": "1796376131156000000",
              "attributes": [
                {
                  "key": "gen_ai.agent.name",
                  "value": {
                    "stringValue": "research-agent"
                  }
                },
                {
                  "key": "input.value",
                  "value": {
                    "stringValue": "Summarize Q4 agent reliability metrics."
                  }
                }
              ],
              "status": {
                "code": 1
              }
            },
            {
              "traceId": "1fdbc384883f2e3e520e0da078a0167a",
              "spanId": "4db38fce76779f1e",
              "parentSpanId": "5c9869f9eb56d71e",
              "name": "llm.plan",
              "kind": 3,
              "startTimeUnixNano": "1796376128700000000",
              "endTimeUnixNano": "1796376129340000000",
              "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": "1fdbc384883f2e3e520e0da078a0167a",
              "spanId": "d176a1dc3d5d248a",
              "parentSpanId": "5c9869f9eb56d71e",
              "name": "tool.web_search",
              "kind": 3,
              "startTimeUnixNano": "1796376129346000000",
              "endTimeUnixNano": "1796376129756000000",
              "attributes": [
                {
                  "key": "gen_ai.tool.name",
                  "value": {
                    "stringValue": "web_search"
                  }
                },
                {
                  "key": "input.value",
                  "value": {
                    "stringValue": "{\"query\":\"Q4 agent reliability metrics\"}"
                  }
                }
              ],
              "status": {
                "code": 1
              }
            },
            {
              "traceId": "1fdbc384883f2e3e520e0da078a0167a",
              "spanId": "f5ff0eab4dcd28b5",
              "parentSpanId": "5c9869f9eb56d71e",
              "name": "llm.answer",
              "kind": 3,
              "startTimeUnixNano": "1796376129762000000",
              "endTimeUnixNano": "1796376130942000000",
              "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
              }
            }
          ]
        }
      ]
    }
  ]
}
