{
  "resourceSpans": [
    {
      "resource": {
        "attributes": [
          {
            "key": "process.runtime.description",
            "value": {
              "stringValue": "go version 1.23.4 linux/amd64"
            }
          },
          {
            "key": "process.runtime.name",
            "value": {
              "stringValue": "go"
            }
          },
          {
            "key": "process.runtime.version",
            "value": {
              "stringValue": "1.23.4"
            }
          },
          {
            "key": "service.name",
            "value": {
              "stringValue": "sample-app"
            }
          },
          {
            "key": "telemetry.distro.name",
            "value": {
              "stringValue": "opentelemetry-go-instrumentation"
            }
          },
          {
            "key": "telemetry.distro.version",
            "value": {
              "stringValue": "v0.19.0-alpha"
            }
          },
          {
            "key": "telemetry.sdk.language",
            "value": {
              "stringValue": "go"
            }
          }
        ]
      },
      "schemaUrl": "https://opentelemetry.io/schemas/1.26.0",
      "scopeSpans": [
        {
          "schemaUrl": "https://opentelemetry.io/schemas/1.26.0",
          "scope": {
            "name": "go.opentelemetry.io/auto/database/sql",
            "version": "v0.19.0-alpha"
          },
          "spans": [
            {
              "attributes": [
                {
                  "key": "db.query.text",
                  "value": {
                    "stringValue": "SELECT * FROM contacts"
                  }
                }
              ],
              "flags": 256,
              "kind": 3,
              "name": "DB",
              "parentSpanId": "xxxxx",
              "spanId": "xxxxx",
              "status": {},
              "traceId": "xxxxx"
            }
          ]
        },
        {
          "schemaUrl": "https://opentelemetry.io/schemas/1.26.0",
          "scope": {
            "name": "go.opentelemetry.io/auto/net/http",
            "version": "v0.19.0-alpha"
          },
          "spans": [
            {
              "attributes": [
                {
                  "key": "http.request.method",
                  "value": {
                    "stringValue": "GET"
                  }
                },
                {
                  "key": "url.path",
                  "value": {
                    "stringValue": "/query_db"
                  }
                },
                {
                  "key": "http.response.status_code",
                  "value": {
                    "intValue": "200"
                  }
                },
                {
                  "key": "network.peer.address",
                  "value": {
                    "stringValue": "::1"
                  }
                },
                {
                  "key": "network.peer.port",
                  "value": {
                    "intValue": "xxxxx"
                  }
                },
                {
                  "key": "server.address",
                  "value": {
                    "stringValue": "localhost"
                  }
                },
                {
                  "key": "server.port",
                  "value": {
                    "intValue": "8080"
                  }
                },
                {
                  "key": "network.protocol.version",
                  "value": {
                    "stringValue": "1.1"
                  }
                },
                {
                  "key": "http.route",
                  "value": {
                    "stringValue": "/query_db"
                  }
                }
              ],
              "flags": 256,
              "kind": 2,
              "name": "GET /query_db",
              "parentSpanId": "xxxxx",
              "spanId": "xxxxx",
              "status": {},
              "traceId": "xxxxx"
            },
            {
              "attributes": [
                {
                  "key": "http.request.method",
                  "value": {
                    "stringValue": "GET"
                  }
                },
                {
                  "key": "http.response.status_code",
                  "value": {
                    "intValue": "200"
                  }
                },
                {
                  "key": "url.path",
                  "value": {
                    "stringValue": "/query_db"
                  }
                },
                {
                  "key": "url.full",
                  "value": {
                    "stringValue": "http://localhost:8080/query_db"
                  }
                },
                {
                  "key": "server.address",
                  "value": {
                    "stringValue": "localhost"
                  }
                },
                {
                  "key": "server.port",
                  "value": {
                    "intValue": "8080"
                  }
                },
                {
                  "key": "network.protocol.version",
                  "value": {
                    "stringValue": "1.1"
                  }
                }
              ],
              "flags": 256,
              "kind": 3,
              "name": "GET",
              "parentSpanId": "",
              "spanId": "xxxxx",
              "status": {},
              "traceId": "xxxxx"
            }
          ]
        }
      ]
    }
  ]
}
