-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Logs translation when SpanTranslator is at FINE/DEBUG level
We've had a number of support issues around translation. This adds debug logging which can help determine the cause of failures. ``` 2018-04-09 13:51:19.279 DEBUG [/] 7295 --- [ XNIO-2 I/O-2] z.t.stackdriver.SpanTranslator : >> translating zipkin span: {"traceId":"e7d33ab8fe95b3cb","id":"e7d33ab8fe95b3cb","kind":"SERVER","name":"get /","timestamp":1523253078006004,"duration":158196,"localEndpoint":{"serviceName":"frontend","ipv4":"192.168.1.113"},"remoteEndpoint":{"ipv6":"::1","port":60162},"tags":{"http.method":"GET","http.path":"/","mvc.controller.class":"Frontend","mvc.controller.method":"callBackend"}} 2018-04-09 13:51:19.281 DEBUG [/] 7295 --- [ XNIO-2 I/O-2] z.t.stackdriver.SpanTranslator : << translated to stackdriver span: span_id: 16704760009066918859 kind: RPC_SERVER name: "get /" start_time { seconds: 1523253078 nanos: 6004000 } end_time { seconds: 1523253078 nanos: 164200000 } labels { key: "/http/method" value: "GET" } labels { key: "zipkin.io/http.path" value: "/" } labels { key: "zipkin.io/mvc.controller.class" value: "Frontend" } labels { key: "zipkin.io/mvc.controller.method" value: "callBackend" } labels { key: "zipkin.io/endpoint.ipv4" value: "192.168.1.113" } labels { key: "/component" value: "frontend" } labels { key: "/agent" value: "zipkin-java" } ```
- Loading branch information
Adrian Cole
committed
Apr 9, 2018
1 parent
b40d14f
commit 021c82a
Showing
5 changed files
with
50 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.