mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* Use `PeerNode` for spans initiated by an external system. * Added a test for the use of `PeerNode` for spans initiated by an external system. * Updated metrics-generator service graph docs * Added changelog line for #5381
124 lines
3.0 KiB
JSON
124 lines
3.0 KiB
JSON
{
|
|
"resourceSpans": [
|
|
{
|
|
"resource": {
|
|
"attributes": [
|
|
{
|
|
"key": "service.name",
|
|
"value": {
|
|
"stringValue": "mythical-server"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scopeSpans": [
|
|
{
|
|
"scope": {
|
|
"name": "mythical-server"
|
|
},
|
|
"spans": [
|
|
{
|
|
"traceId": "QpC1h3qZMN55u0KDZTmOzA==",
|
|
"spanId": "1gZXnld4dYc=",
|
|
"name": "requester",
|
|
"kind": "SPAN_KIND_SERVER",
|
|
"startTimeUnixNano": "1658320854877522688",
|
|
"endTimeUnixNano": "1658320854923357184",
|
|
"attributes": [
|
|
{
|
|
"key": "beast",
|
|
"value": {
|
|
"stringValue": "manticore"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": "STATUS_CODE_OK"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"resource": {
|
|
"attributes": [
|
|
{
|
|
"key": "service.name",
|
|
"value": {
|
|
"stringValue": "mythical-requester"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scopeSpans": [
|
|
{
|
|
"scope": {
|
|
"name": "@opentelemetry/instrumentation-net",
|
|
"version": "0.27.1"
|
|
},
|
|
"spans": [
|
|
{
|
|
"traceId": "QpC1h3qZMN55u0KDZTmOzA==",
|
|
"spanId": "U/Mym4Y9qV0=",
|
|
"parentSpanId": "1gZXnld4dYc=",
|
|
"name": "HTTP GET /ready",
|
|
"kind": "SPAN_KIND_CLIENT",
|
|
"startTimeUnixNano": "1658320854877839616",
|
|
"endTimeUnixNano": "1658320854878545408",
|
|
"attributes": [
|
|
{
|
|
"key": "peer.service",
|
|
"value": {
|
|
"stringValue": "external-payments-platform"
|
|
}
|
|
}
|
|
],
|
|
"status": {}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"resource": {
|
|
"attributes": [
|
|
{
|
|
"key": "service.name",
|
|
"value": {
|
|
"stringValue": "internal-consumer"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scopeSpans": [
|
|
{
|
|
"scope": {
|
|
"name": "@opentelemetry/instrumentation-net",
|
|
"version": "0.27.1"
|
|
},
|
|
"spans": [
|
|
{
|
|
"traceId": "q0o5CtL+O4U0QEyfciOjkA==",
|
|
"spanId": "TZs4v7dQT40=",
|
|
"name": "Consumed",
|
|
"kind": "SPAN_KIND_CONSUMER",
|
|
"startTimeUnixNano": "1658320854877839616",
|
|
"endTimeUnixNano": "1658320854878545408",
|
|
"attributes": [
|
|
{
|
|
"key": "peer.service",
|
|
"value": {
|
|
"stringValue": "external-producer"
|
|
}
|
|
}
|
|
],
|
|
"status": {}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|