Add comment about samples order. (#3642)

This commit is contained in:
Alexey Palazhchenko 2018-01-17 15:31:30 +03:00 committed by Brian Brazil
parent f2c5399e39
commit 85bef0d583
2 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,7 @@ func (m *Query) GetMatchers() []*LabelMatcher {
}
type QueryResult struct {
// Samples within a time series must be ordered by time.
Timeseries []*TimeSeries `protobuf:"bytes,1,rep,name=timeseries" json:"timeseries,omitempty"`
}

View File

@ -38,5 +38,6 @@ message Query {
}
message QueryResult {
// Samples within a time series must be ordered by time.
repeated prometheus.TimeSeries timeseries = 1;
}