mirror of
https://github.com/prometheus/prometheus
synced 2024-12-22 22:43:19 +00:00
b93bafeee1
- Remove datarace in the exported highest scrape timestamp. - Backoff on enqueue should be per-sample - reset the result for each sample. - Remove diffKeys, unused ctx and cancelfunc in WALWatcher, 'name' from writeTo interface, and pass it to constructor. - Reorder functions in WALWatcher depth-first according to call graph. - Fix vendor/modules.txt. - Split out the various timer periods into consts at the top of the file. - Move w.currentSegmentMetric.Set close to where we set the currentSegment. - Combine r.Next() and isClosed(w.quit) into a single loop. - Unnest some ifs in WALWatcher.watch, propagate erros in decodeRecord, add some new lines to make it easier to read. - Reorganise checkpoint handling to reduce nesting and make it easier to follow. Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com> |
||
---|---|---|
.. | ||
cloud.google.com/go | ||
contrib.go.opencensus.io/exporter/ocagent | ||
github.com | ||
go.opencensus.io | ||
golang.org/x | ||
google.golang.org | ||
gopkg.in | ||
k8s.io | ||
sigs.k8s.io/yaml | ||
modules.txt |