console/scripts/seed-traces/sample-introspection.json
Laurin Quast 4f70fc9555
feat: otel telemetry collection and dashboard (#6796)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
Co-authored-by: Denis Badurina <denis@denelop.com>
2025-10-10 14:06:02 +02:00

296 lines
14 KiB
JSON

[
{
"resourceSpans": [
{
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "hive-gateway"
}
},
{
"key": "service.version",
"value": {
"stringValue": "5.13.4"
}
}
],
"droppedAttributesCount": 0
},
"scopeSpans": [
{
"scope": {
"name": "gateway"
},
"spans": [
{
"traceId": "f42cb37f3811f650f06ca078e7c6625f",
"spanId": "c55a1a27cfe0a563",
"parentSpanId": "6df96e8ebb5f3dd7",
"name": "graphql.parse",
"kind": 1,
"startTimeUnixNano": "1751541577384000000",
"endTimeUnixNano": "1751541577385261166",
"attributes": [
{
"key": "graphql.document",
"value": {
"stringValue": "query IntrospectionQuery{__schema{description queryType{name kind}mutationType{name kind}subscriptionType{name kind}types{...FullType}directives{name description locations args(includeDeprecated:true){...InputValue}}}}fragment FullType on __Type{kind name description fields(includeDeprecated:true){name description args(includeDeprecated:true){...InputValue}type{...TypeRef}isDeprecated deprecationReason}inputFields(includeDeprecated:true){...InputValue}interfaces{...TypeRef}enumValues(includeDeprecated:true){name description isDeprecated deprecationReason}possibleTypes{...TypeRef}}fragment InputValue on __InputValue{name description type{...TypeRef}defaultValue isDeprecated deprecationReason}fragment TypeRef on __Type{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name}}}}}}}}}}"
}
},
{
"key": "graphql.operation.name",
"value": {
"stringValue": "IntrospectionQuery"
}
}
],
"droppedAttributesCount": 0,
"events": [],
"droppedEventsCount": 0,
"status": {
"code": 0
},
"links": [],
"droppedLinksCount": 0
},
{
"traceId": "f42cb37f3811f650f06ca078e7c6625f",
"spanId": "ca97bb80da3c0dbe",
"parentSpanId": "6df96e8ebb5f3dd7",
"name": "graphql.validate",
"kind": 1,
"startTimeUnixNano": "1751541577385000000",
"endTimeUnixNano": "1751541577397343958",
"attributes": [
{
"key": "graphql.document",
"value": {
"stringValue": "query IntrospectionQuery{__schema{description queryType{name kind}mutationType{name kind}subscriptionType{name kind}types{...FullType}directives{name description locations args(includeDeprecated:true){...InputValue}}}}fragment FullType on __Type{kind name description fields(includeDeprecated:true){name description args(includeDeprecated:true){...InputValue}type{...TypeRef}isDeprecated deprecationReason}inputFields(includeDeprecated:true){...InputValue}interfaces{...TypeRef}enumValues(includeDeprecated:true){name description isDeprecated deprecationReason}possibleTypes{...TypeRef}}fragment InputValue on __InputValue{name description type{...TypeRef}defaultValue isDeprecated deprecationReason}fragment TypeRef on __Type{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name}}}}}}}}}}"
}
},
{
"key": "graphql.operation.name",
"value": {
"stringValue": "IntrospectionQuery"
}
}
],
"droppedAttributesCount": 0,
"events": [],
"droppedEventsCount": 0,
"status": {
"code": 0
},
"links": [],
"droppedLinksCount": 0
},
{
"traceId": "f42cb37f3811f650f06ca078e7c6625f",
"spanId": "697d38f300df2167",
"parentSpanId": "6df96e8ebb5f3dd7",
"name": "graphql.context",
"kind": 1,
"startTimeUnixNano": "1751541577398000000",
"endTimeUnixNano": "1751541577399414208",
"attributes": [],
"droppedAttributesCount": 0,
"events": [],
"droppedEventsCount": 0,
"status": {
"code": 0
},
"links": [],
"droppedLinksCount": 0
},
{
"traceId": "f42cb37f3811f650f06ca078e7c6625f",
"spanId": "f479d33b7320cd0f",
"parentSpanId": "6df96e8ebb5f3dd7",
"name": "graphql.execute",
"kind": 1,
"startTimeUnixNano": "1751541577400000000",
"endTimeUnixNano": "1751541577410081959",
"attributes": [
{
"key": "graphql.operation.type",
"value": {
"stringValue": "query"
}
},
{
"key": "graphql.operation.name",
"value": {
"stringValue": "IntrospectionQuery"
}
},
{
"key": "graphql.document",
"value": {
"stringValue": "query IntrospectionQuery{__schema{description queryType{name kind}mutationType{name kind}subscriptionType{name kind}types{...FullType}directives{name description locations args(includeDeprecated:true){...InputValue}}}}fragment FullType on __Type{kind name description fields(includeDeprecated:true){name description args(includeDeprecated:true){...InputValue}type{...TypeRef}isDeprecated deprecationReason}inputFields(includeDeprecated:true){...InputValue}interfaces{...TypeRef}enumValues(includeDeprecated:true){name description isDeprecated deprecationReason}possibleTypes{...TypeRef}}fragment InputValue on __InputValue{name description type{...TypeRef}defaultValue isDeprecated deprecationReason}fragment TypeRef on __Type{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name}}}}}}}}}}"
}
}
],
"droppedAttributesCount": 0,
"events": [],
"droppedEventsCount": 0,
"status": {
"code": 0
},
"links": [],
"droppedLinksCount": 0
},
{
"traceId": "f42cb37f3811f650f06ca078e7c6625f",
"spanId": "6df96e8ebb5f3dd7",
"parentSpanId": "af8929e2e40e00af",
"name": "graphql.operation IntrospectionQuery",
"kind": 1,
"startTimeUnixNano": "1751541577382000000",
"endTimeUnixNano": "1751541577409557042",
"attributes": [
{
"key": "graphql.document",
"value": {
"stringValue": "query IntrospectionQuery{__schema{description queryType{name kind}mutationType{name kind}subscriptionType{name kind}types{...FullType}directives{name description locations args(includeDeprecated:true){...InputValue}}}}fragment FullType on __Type{kind name description fields(includeDeprecated:true){name description args(includeDeprecated:true){...InputValue}type{...TypeRef}isDeprecated deprecationReason}inputFields(includeDeprecated:true){...InputValue}interfaces{...TypeRef}enumValues(includeDeprecated:true){name description isDeprecated deprecationReason}possibleTypes{...TypeRef}}fragment InputValue on __InputValue{name description type{...TypeRef}defaultValue isDeprecated deprecationReason}fragment TypeRef on __Type{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name}}}}}}}}}}"
}
},
{
"key": "graphql.operation.name",
"value": {
"stringValue": "IntrospectionQuery"
}
},
{
"key": "graphql.operation.type",
"value": {
"stringValue": "query"
}
},
{
"key": "gateway.cache.response_cache",
"value": {
"stringValue": "miss"
}
}
],
"droppedAttributesCount": 0,
"events": [],
"droppedEventsCount": 0,
"status": {
"code": 0
},
"links": [],
"droppedLinksCount": 0
},
{
"traceId": "f42cb37f3811f650f06ca078e7c6625f",
"spanId": "af8929e2e40e00af",
"name": "query IntrospectionQuery",
"kind": 2,
"startTimeUnixNano": "1751541577154000000",
"endTimeUnixNano": "1751541577412387709",
"attributes": [
{
"key": "http.method",
"value": {
"stringValue": "POST"
}
},
{
"key": "http.url",
"value": {
"stringValue": "http://localhost:4000/graphql"
}
},
{
"key": "http.route",
"value": {
"stringValue": "/graphql"
}
},
{
"key": "http.scheme",
"value": {
"stringValue": "http:"
}
},
{
"key": "net.host.name",
"value": {
"stringValue": "localhost"
}
},
{
"key": "http.host",
"value": {
"stringValue": "localhost:4000"
}
},
{
"key": "http.user_agent",
"value": {
"stringValue": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36"
}
},
{
"key": "graphql.operation.type",
"value": {
"stringValue": "query"
}
},
{
"key": "graphql.operation.name",
"value": {
"stringValue": "IntrospectionQuery"
}
},
{
"key": "graphql.document",
"value": {
"stringValue": "query IntrospectionQuery{__schema{description queryType{name kind}mutationType{name kind}subscriptionType{name kind}types{...FullType}directives{name description locations args(includeDeprecated:true){...InputValue}}}}fragment FullType on __Type{kind name description fields(includeDeprecated:true){name description args(includeDeprecated:true){...InputValue}type{...TypeRef}isDeprecated deprecationReason}inputFields(includeDeprecated:true){...InputValue}interfaces{...TypeRef}enumValues(includeDeprecated:true){name description isDeprecated deprecationReason}possibleTypes{...TypeRef}}fragment InputValue on __InputValue{name description type{...TypeRef}defaultValue isDeprecated deprecationReason}fragment TypeRef on __Type{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name ofType{kind name}}}}}}}}}}"
}
},
{
"key": "hive.graphql.error.count",
"value": {
"intValue": 0
}
},
{
"key": "http.status_code",
"value": {
"intValue": 200
}
},
{
"key": "gateway.cache.response_cache",
"value": {
"stringValue": "miss"
}
},
{
"key": "hive.graphql",
"value": {
"boolValue": true
}
}
],
"droppedAttributesCount": 0,
"events": [],
"droppedEventsCount": 0,
"status": {
"code": 1
},
"links": [],
"droppedLinksCount": 0
}
]
}
]
}
]
}
]