prometheus/vendor
Tom Wilkie b93bafeee1 Various fixes to locking & shutdown for WAL-based remote write.
- 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>
2019-02-12 11:39:13 +00:00
..
cloud.google.com/go *: bump gRPC dependencies (#5075) 2019-01-15 15:32:05 +01:00
contrib.go.opencensus.io/exporter/ocagent Use the latest versions of azure go sdk and go-autorest (#5015) 2019-01-28 18:30:29 +00:00
github.com Use the latest versions of azure go sdk and go-autorest (#5015) 2019-01-28 18:30:29 +00:00
go.opencensus.io Use the latest versions of azure go sdk and go-autorest (#5015) 2019-01-28 18:30:29 +00:00
golang.org/x Use the latest versions of azure go sdk and go-autorest (#5015) 2019-01-28 18:30:29 +00:00
google.golang.org Use the latest versions of azure go sdk and go-autorest (#5015) 2019-01-28 18:30:29 +00:00
gopkg.in Use the latest versions of azure go sdk and go-autorest (#5015) 2019-01-28 18:30:29 +00:00
k8s.io use klog dependency 2019-01-03 13:57:20 -08:00
sigs.k8s.io/yaml update kubernetes deps to v1.13.0 2018-12-03 19:32:16 -08:00
modules.txt Various fixes to locking & shutdown for WAL-based remote write. 2019-02-12 11:39:13 +00:00