prometheus/storage
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
..
fanout Fix panic when a remote read store errors (#6975) 2020-03-13 20:57:29 +01:00
remote Fix bug with WAL watcher and Live Reader metrics usage. (#6998) 2020-03-20 17:34:15 +01:00
buffer.go Addressed comments. 2020-02-17 18:03:57 +00:00
buffer_test.go Unify Iterator interfaces. All point to storage now. 2020-02-17 18:03:54 +00:00
fanout.go Fix panic when a remote read store errors (#6975) 2020-03-13 20:57:29 +01:00
fanout_test.go Unify Iterator interfaces. All point to storage now. 2020-02-17 18:03:54 +00:00
interface.go tsdb: Do a full rollback upon commit error 2020-03-10 14:54:41 +01:00
noop.go Addressed comments. 2020-02-17 18:03:57 +00:00