OpenTracing-Span Json demo
{
"data": [
{
"traceID": "790e003e22209ca4",
"spans": [
{
"traceID": "790e003e22209ca4",
"spanID": "790e003e22209ca4",
"flags": 1,
"operationName": "say-hello",
"references": [],
"startTime": 1611318627992154,
"duration": 524139,
"tags": [
{
"key": "sampler.type",
"type": "string",
"value": "const"
},
{
"key": "sampler.param",
"type": "bool",
"value": true
},
{
"key": "hello-to",
"type": "string",
"value": "This trace"
},
{
"key": "internal.span.format",
"type": "string",
"value": "proto"
}
],
"logs": [],
"processID": "p1",
"warnings": null
},
{
"traceID": "790e003e22209ca4",
"spanID": "d32970aca4d7a39b",
"flags": 1,
"operationName": "format-string",
"references": [],
"startTime": 1611318628080551,
"duration": 432791,
"tags": [
{
"key": "span.kind",
"type": "string",
"value": "client"
},
{
"key": "http.method",
"type": "string",
"value": "GET"
},
{
"key": "http.url",
"type": "string",
"value": "http://localhost:8081/api/format/This trace"
},
{
"key": "internal.span.format",
"type": "string",
"value": "proto"
}
],
"logs": [
{
"timestamp": 1611318628510535,
"fields": [
{
"key": "event",
"type": "string",
"value": "string.Format"
},
{
"key": "value",
"type": "string",
"value": "Hello, This trace!"
}
]
}
],
"processID": "p1",
"warnings": null
},
{
"traceID": "790e003e22209ca4",
"spanID": "4b73f8e8e77fe9dc",
"flags": 1,
"operationName": "print-hello",
"references": [],
"startTime": 1611318628515966,
"duration": 259,
"tags": [
{
"key": "internal.span.format",
"type": "string",
"value": "proto"
}
],
"logs": [
{
"timestamp": 1611318628516206,
"fields": [
{
"key": "event",
"type": "string",
"value": "WriteLine"
}
]
}
],
"processID": "p1",
"warnings": null
}
],
"processes": {
"p1": {
"serviceName": "hello-world",
"tags": [
{
"key": "hostname",
"type": "string