mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
test
This commit is contained in:
parent
694e6a58fe
commit
c62034fbc3
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ func (wr *WriteRequest) Reset() {
|
||||||
// ResetTimeSeries clears all the GC references from tss and returns an empty tss ready for further use.
|
// ResetTimeSeries clears all the GC references from tss and returns an empty tss ready for further use.
|
||||||
func ResetTimeSeries(tss []TimeSeries) []TimeSeries {
|
func ResetTimeSeries(tss []TimeSeries) []TimeSeries {
|
||||||
clear(tss)
|
clear(tss)
|
||||||
return tss[:0]
|
return make([]TimeSeries, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
// MustParsePromMetrics parses metrics in Prometheus text exposition format from s and returns them.
|
// MustParsePromMetrics parses metrics in Prometheus text exposition format from s and returns them.
|
||||||
|
|
Loading…
Reference in a new issue