You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/12/13 03:42:29 UTC

[GitHub] [skywalking] clk1st opened a new issue #4057: skywalking-cli schema TraceBrief定义

clk1st opened a new issue #4057: skywalking-cli schema TraceBrief定义
URL: https://github.com/apache/skywalking/issues/4057
 
 
   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [√ ] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   我试着在cli增加了trace列表信息的查询,遇到一个问题schema.go中TraceBrief中定义的结构如下:
   type TraceBrief struct {
   	Traces []*BasicTrace `json:"traces"`
   	Total  int           `json:"total"`
   }
   
   查询queryTraces接口返回的json,需要把TraceBrief修改为:
   type TraceBrief struct {
   	Data  []*BasicTrace `json:"data"`
   	Total int           `json:"total"`
   }
   
   不知道是不是我使用的有问题。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services