[ 
https://issues.apache.org/jira/browse/HTRACE-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14335815#comment-14335815
 ] 

Colin Patrick McCabe commented on HTRACE-104:
---------------------------------------------

quick overview:

gobuild.sh: remove the {{\-v}} for tests since we can just run the command with 
{{\-v}} if desired.  This way we can have long and short test output.

client.go: add DumpAll command which dumps trace spans from the server.

query.go: add a way of getting the valid Fields and Ops programmatically, for 
command-line input purposes.

query_test.go: test the stuff we added to query.go

span.go: TraceInfoMap should be a map\[string\]string rather than a 
map\[string\]\[\]byte, to match the change we made in HTRACE-32

cmd.go: split json loading into two commands: loadFile and loadJson (for 
loading from file vs. not).  Add dumpAll command, graph command, query command, 
and rawQuery command.

file.go: some file utility methods for the bin/htrace command.

file_test.go: test what's in file.go

graph.go: implements graphViz output for ./bin/htrace.

graph_test.go: tests graph.go

queries.go: a simple parser for queries for the bin/htrace command

client_test.go: add TestDumpAll to test the client's "dump all" functionality

> htrace command should support generating graphviz files and making htraced 
> queries
> ----------------------------------------------------------------------------------
>
>                 Key: HTRACE-104
>                 URL: https://issues.apache.org/jira/browse/HTRACE-104
>             Project: HTrace
>          Issue Type: Improvement
>    Affects Versions: 3.2.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HTRACE-104.001.patch, HTRACE-104.002.patch
>
>
> The htrace command should support generating graphviz files and making 
> htraced queries.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to