yun@dicom

导航

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",
                            "value": "Whuanle-PC"
                        },
                        {
                            "key": "ip",
                            "type": "string",
                            "value": "172.20.240.1"
                        },
                        {
                            "key": "jaeger.version",
                            "type": "string",
                            "value": "CSharp-0.4.2.0"
                        }
                    ]
                }
            },
            "warnings": null
        }
    ],
    "total": 0,
    "limit": 0,
    "offset": 0,
    "errors": null
}

posted on 2021-12-02 17:55  yun@dicom  阅读(102)  评论(0编辑  收藏  举报