prometheus/storage/remote
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
..
client.go Tail the TSDB WAL for remote_write 2019-02-12 11:39:13 +00:00
client_test.go Tail the TSDB WAL for remote_write 2019-02-12 11:39:13 +00:00
codec.go Tail the TSDB WAL for remote_write 2019-02-12 11:39:13 +00:00
codec_test.go *: apply gofmt -s 2019-01-16 17:28:14 -05:00
ewma.go Initial port of remote storage to v2. 2017-07-12 12:27:57 +01:00
queue_manager.go Various fixes to locking & shutdown for WAL-based remote write. 2019-02-12 11:39:13 +00:00
queue_manager_test.go Tail the TSDB WAL for remote_write 2019-02-12 11:39:13 +00:00
read.go Move err to be the last return value from storage.Select. (#5054) 2019-01-02 11:10:13 +00:00
read_test.go Move err to be the last return value from storage.Select. (#5054) 2019-01-02 11:10:13 +00:00
storage.go Various fixes to locking & shutdown for WAL-based remote write. 2019-02-12 11:39:13 +00:00
wal_watcher.go Various fixes to locking & shutdown for WAL-based remote write. 2019-02-12 11:39:13 +00:00
wal_watcher_test.go Various fixes to locking & shutdown for WAL-based remote write. 2019-02-12 11:39:13 +00:00
write.go Various fixes to locking & shutdown for WAL-based remote write. 2019-02-12 11:39:13 +00:00