Created
October 14, 2015 01:46
-
-
Save codefromthecrypt/f26b154c987265c5e376 to your computer and use it in GitHub Desktop.
example zipkin trace with 3 spans
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"traceId": "5e27c67030932221", | |
"name": "GET", | |
"id": "5e27c67030932221", | |
"annotations": [ | |
{ | |
"endpoint": { | |
"serviceName": "zipkin-web", | |
"ipv4": "172.17.0.86", | |
"port": 8080 | |
}, | |
"timestamp": 1444780030244000, | |
"value": "sr" | |
}, | |
{ | |
"endpoint": { | |
"serviceName": "zipkin-web", | |
"ipv4": "172.17.0.86", | |
"port": 8080 | |
}, | |
"timestamp": 1444780031552000, | |
"value": "ss" | |
} | |
], | |
"binaryAnnotations": [ | |
{ | |
"key": "ca", | |
"value": true, | |
"endpoint": { | |
"serviceName": "zipkin-web", | |
"ipv4": "192.168.99.1", | |
"port": 52317 | |
} | |
}, | |
{ | |
"key": "http.uri", | |
"value": "/api/services", | |
"endpoint": { | |
"serviceName": "zipkin-web", | |
"ipv4": "127.0.0.1", | |
"port": 0 | |
} | |
}, | |
{ | |
"key": "sa", | |
"value": true, | |
"endpoint": { | |
"serviceName": "zipkin-web", | |
"ipv4": "172.17.0.86", | |
"port": 8080 | |
} | |
}, | |
{ | |
"key": "srv/finagle.version", | |
"value": "6.29.0", | |
"endpoint": { | |
"serviceName": "zipkin-web", | |
"ipv4": "127.0.0.1", | |
"port": 0 | |
} | |
} | |
], | |
"debug": false | |
}, | |
{ | |
"traceId": "5e27c67030932221", | |
"name": "GET", | |
"id": "38357d8f309b379d", | |
"parentId": "5e27c67030932221", | |
"annotations": [ | |
{ | |
"endpoint": { | |
"serviceName": "zipkin-query", | |
"ipv4": "127.0.0.1", | |
"port": 0 | |
}, | |
"timestamp": 1444780030334000, | |
"value": "cs" | |
}, | |
{ | |
"endpoint": { | |
"serviceName": "zipkin-query", | |
"ipv4": "127.0.0.1", | |
"port": 0 | |
}, | |
"timestamp": 1444780030334000, | |
"value": "ws" | |
}, | |
{ | |
"endpoint": { | |
"serviceName": "zipkin-query", | |
"ipv4": "172.17.0.84" | |
}, | |
"timestamp": 1444780030643000, | |
"value": "sr" | |
}, | |
{ | |
"endpoint": { | |
"serviceName": "zipkin-query", | |
"ipv4": "127.0.0.1", | |
"port": 0 | |
}, | |
"timestamp": 1444780031514000, | |
"value": "Client Receive Error: com.twitter.finagle.CancelledRequestException: request cancelled" | |
}, | |
{ | |
"endpoint": { | |
"serviceName": "zipkin-query", | |
"ipv4": "127.0.0.1", | |
"port": 0 | |
}, | |
"timestamp": 1444780031514000, | |
"value": "Wire Receive Error: com.twitter.finagle.CancelledRequestException: request cancelled" | |
}, | |
{ | |
"endpoint": { | |
"serviceName": "zipkin-query", | |
"ipv4": "127.0.0.1", | |
"port": 0 | |
}, | |
"timestamp": 1444780031514000, | |
"value": "wr" | |
}, | |
{ | |
"endpoint": { | |
"serviceName": "zipkin-query", | |
"ipv4": "127.0.0.1", | |
"port": 0 | |
}, | |
"timestamp": 1444780031521000, | |
"value": "cr" | |
}, | |
{ | |
"endpoint": { | |
"serviceName": "zipkin-query", | |
"ipv4": "172.17.0.84" | |
}, | |
"timestamp": 1444780031689000, | |
"value": "ss" | |
} | |
], | |
"binaryAnnotations": [ | |
{ | |
"key": "ca", | |
"value": true, | |
"endpoint": { | |
"serviceName": "zipkin-query", | |
"ipv4": "172.17.0.86", | |
"port": 54881 | |
} | |
}, | |
{ | |
"key": "clnt/finagle.version", | |
"value": "6.29.0", | |
"endpoint": { | |
"serviceName": "zipkin-query", | |
"ipv4": "127.0.0.1", | |
"port": 0 | |
} | |
}, | |
{ | |
"key": "http.uri", | |
"value": "/api/v1/services", | |
"endpoint": { | |
"serviceName": "zipkin-query", | |
"ipv4": "127.0.0.1", | |
"port": 0 | |
} | |
}, | |
{ | |
"key": "sa", | |
"value": true, | |
"endpoint": { | |
"serviceName": "zipkin-query", | |
"ipv4": "172.17.0.84", | |
"port": 9411 | |
} | |
} | |
], | |
"debug": false | |
}, | |
{ | |
"traceId": "5e27c67030932221", | |
"name": "query", | |
"id": "5832071fa685c0c0", | |
"parentId": "38357d8f309b379d", | |
"annotations": [ | |
{ | |
"endpoint": { | |
"serviceName": "zipkin-jdbc", | |
"ipv4": "172.17.0.84" | |
}, | |
"timestamp": 1444780031264000, | |
"value": "cs" | |
}, | |
{ | |
"endpoint": { | |
"serviceName": "zipkin-jdbc", | |
"ipv4": "172.17.0.84" | |
}, | |
"timestamp": 1444780031323000, | |
"value": "cr" | |
} | |
], | |
"binaryAnnotations": [ | |
{ | |
"key": "jdbc.query", | |
"value": "select distinct `zipkin_annotations`.`endpoint_service_name` from `zipkin_annotations` where `zipkin_annotations`.`endpoint_service_name` is not null", | |
"endpoint": { | |
"serviceName": "zipkin-jdbc", | |
"ipv4": "172.17.0.84" | |
} | |
} | |
], | |
"debug": false | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's a minimal version of the same thing