Skip to content

Commit

Permalink
Merge pull request #43 from Ru5her/QCOS-3300
Browse files Browse the repository at this point in the history
QCOS-3300 添加CollectedAtNano字段
  • Loading branch information
nowenL authored Dec 15, 2016
2 parents e45ae34 + 93ddbd0 commit 7f36f17
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# vNext
- Service SCALING 状态拆分为 SCALING-UP SCALING-DOWN
- 日志搜索结果添加CollectedAtNano字段

# Release 1.2.0
- 添加禁用/启用AP端口的API,并在查看/搜索AP的API返回的端口信息中返回端口的启用状态(启用/禁用)。
Expand Down
13 changes: 7 additions & 6 deletions kirksdk/qcos_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -749,12 +749,13 @@ type LogsSearchResult struct {
}

type Hit struct {
Log string `json:"log"`
CollectedAt time.Time `json:"collectedAt"`
PodIP string `json:"podIp"`
ProcessName string `json:"processName"`
GateID string `json:"gateId"`
Domain string `json:"domain"`
Log string `json:"log"`
CollectedAt time.Time `json:"collectedAt"`
CollectedAtNano int64 `json:"collectedAtNano"`
PodIP string `json:"podIp"`
ProcessName string `json:"processName"`
GateID string `json:"gateId"`
Domain string `json:"domain"`
}

var (
Expand Down

0 comments on commit 7f36f17

Please sign in to comment.