Merge pull request #568 from huanggze/master

update logging api docs
This commit is contained in:
rayzhou2017
2019-07-05 21:37:22 +08:00
committed by GitHub

View File

@@ -394,7 +394,7 @@ type HistogramResult struct {
type QueryResult struct {
Status int `json:"status,omitempty" description:"query status"`
Error string `json:"error,omitempty" description:"debugging information"`
Workspace string `json:"workspace,omitempty" description:"workspace the query was performed against"`
Workspace string `json:"workspace,omitempty" description:"the name of the workspace where logs come from"`
Read *ReadResult `json:"query,omitempty" description:"query results"`
Statistics *StatisticsResult `json:"statistics,omitempty" description:"statistics results"`
Histogram *HistogramResult `json:"histogram,omitempty" description:"histogram results"`