prometheus/storage/remote
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
..
chunked.go remote-read: streamed chunked server side; Extended protobuf; Added chunked, checksumed reader (#5703) 2019-08-19 21:16:10 +01:00
chunked_test.go remote-read: streamed chunked server side; Extended protobuf; Added chunked, checksumed reader (#5703) 2019-08-19 21:16:10 +01:00
client.go Make remote client Store use passed context (#6673) 2020-01-27 07:43:20 -07:00
client_test.go Improve testutil.ErrorEqual (#6471) 2019-12-17 21:11:33 +00:00
codec.go Fixed second bug. 2020-02-17 18:03:57 +00:00
codec_test.go Replaced test validations with testutils on storage/remote/codec_test.go (#6097) 2019-10-07 11:35:53 -06:00
ewma.go Merge the 2.13 release branch to master (#6117) 2019-10-09 17:41:46 +02:00
intern.go Merge the 2.13 release branch to master (#6117) 2019-10-09 17:41:46 +02:00
intern_test.go Fix order of testutil.Equals (#6695) 2020-01-27 12:21:59 +00:00
max_gauge.go resolve race condition in maxGauge (#5647) 2019-06-13 20:55:08 +01:00
queue_manager.go Fix bug with WAL watcher and Live Reader metrics usage. (#6998) 2020-03-20 17:34:15 +01:00
queue_manager_test.go Fix bug with WAL watcher and Live Reader metrics usage. (#6998) 2020-03-20 17:34:15 +01:00
read.go Don't sort postings if we only have one block. 2020-01-28 09:14:56 +00:00
read_test.go pass registerer from storage to queue manager for its metrics (#6728) 2020-02-03 13:47:03 -08:00
storage.go Unify Iterator interfaces. All point to storage now. 2020-02-17 18:03:54 +00:00
storage_test.go pass registerer from storage to queue manager for its metrics (#6728) 2020-02-03 13:47:03 -08:00
write.go Fix bug with WAL watcher and Live Reader metrics usage. (#6998) 2020-03-20 17:34:15 +01:00
write_test.go pass registerer from storage to queue manager for its metrics (#6728) 2020-02-03 13:47:03 -08:00