You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@htrace.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2014/12/29 02:04:39 UTC
[jira] [Commented] (HTRACE-27) Make Span serialization to JSON
consistent across htraced and the java client
[ https://issues.apache.org/jira/browse/HTRACE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14259775#comment-14259775 ]
Colin Patrick McCabe commented on HTRACE-27:
--------------------------------------------
* Use single-letter field names for JSON fields.
* Change "start" and "stop" to "begin" and "end" (to make it obvious what "b" and "e" are)
* Make "parents" an array in the JSON. This prepares the way for having multiple parents for a span later. (Some follow-on work will be needed in the java code to make this happen.)
* Use hex for span IDs
* ProcessID and Description are not optional; they are always present in the JSON
> Make Span serialization to JSON consistent across htraced and the java client
> -----------------------------------------------------------------------------
>
> Key: HTRACE-27
> URL: https://issues.apache.org/jira/browse/HTRACE-27
> Project: HTrace
> Issue Type: Bug
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Attachments: HTRACE-27.001.patch
>
>
> We need to make Span serialization to JSON consistent across htraced, the java client, and the web interface. We should also shrink the size of the serialized data a bit, by using short tag names, and by using hexadecimal for ID fields.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)