prometheus/tsdb/wal
Callum Styan f802f1e8ca
Fix bug with WAL watcher and Live Reader metrics usage. (#6998)
* Fix bug with WAL watcher and Live Reader metrics usage.

Calling NewXMetrics when creating a Watcher or LiveReader results in a
registration error, which we're ignoring, and as a result other than the
first Watcher/Reader created, we had no metrics for either. So we would
only have metrics like Watcher Records Read for the first remote write
config in a users config file.

Signed-off-by: Callum Styan <callumstyan@gmail.com>
2020-03-20 17:34:15 +01:00
..
checkpoint.go Remove old checkpoint dir if it still exists (#6621) 2020-01-14 09:35:24 +00:00
checkpoint_test.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
live_reader.go Fix bug with WAL watcher and Live Reader metrics usage. (#6998) 2020-03-20 17:34:15 +01:00
reader.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
reader_test.go Move WAL watcher code to tsdb/wal package. (#5999) 2019-09-19 14:45:41 +05:30
wal.go remove Unused parameter 'reg' in wal.Open function (#6941) 2020-03-10 11:01:47 +05:30
wal_test.go Make head Postings only return series in time range 2020-02-20 22:41:46 +01:00
watcher.go Fix bug with WAL watcher and Live Reader metrics usage. (#6998) 2020-03-20 17:34:15 +01:00
watcher_test.go Fix bug with WAL watcher and Live Reader metrics usage. (#6998) 2020-03-20 17:34:15 +01:00