Add comment

This commit is contained in:
Fabian Reinartz 2017-05-24 17:05:42 +02:00 committed by GitHub
parent 43ca652217
commit 3d8661b8d5

View File

@ -432,6 +432,7 @@ type scrapeLoop struct {
// seriesCur and seriesPrev store the labels of series that were seen
// in the current and previous scrape.
// We hold two maps and swap them out to save allocations.
seriesCur map[string]labels.Labels
seriesPrev map[string]labels.Labels