mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 08:33:06 +00:00
Add comment
This commit is contained in:
parent
43ca652217
commit
3d8661b8d5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user