Closed yachang closed 4 years ago
The current sample output using "cat" is:
{"schema_version":"\"1\"","uuid":"\"ndt-cbppg_1589996412_000000000000A94A\"","testtime":"0001-01-01T00:00:00Z","start_time":1590086579,"stop_time":1590086579,"scamper_version":"\"0.1\"","serverIP":"\"4.14.159.101\"","clientIP":"\"4.14.159.86\"","probe_size":44,"probec":1,"hop":null,"cached_result":true,"cached_uuid":"\"ndt-cbppg_1589996412_000000000000A689\"","traceroutecaller_commit":"\"608d1a7\""}
The code in tracer/scamper.go use
json.Marshal ioutil.WriteFile
To create the .json file
Fixed by https://github.com/m-lab/traceroute-caller/pull/77
The current sample output using "cat" is:
{"schema_version":"\"1\"","uuid":"\"ndt-cbppg_1589996412_000000000000A94A\"","testtime":"0001-01-01T00:00:00Z","start_time":1590086579,"stop_time":1590086579,"scamper_version":"\"0.1\"","serverIP":"\"4.14.159.101\"","clientIP":"\"4.14.159.86\"","probe_size":44,"probec":1,"hop":null,"cached_result":true,"cached_uuid":"\"ndt-cbppg_1589996412_000000000000A689\"","traceroutecaller_commit":"\"608d1a7\""}
The code in tracer/scamper.go use
json.Marshal ioutil.WriteFile
To create the .json file