wal: Inject LiveReader metrics rather than registry

LiveReaders are instantiated `number of remote write queues * segments`
times, which would cause double registration of the metrics. Instead
this should be orchestrated by the layer above, instantiating the live
reader.

Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
This commit is contained in:
Frederic Branczyk 2019-07-03 14:10:10 +02:00
parent 7ef10186b4
commit 078895bf56
No known key found for this signature in database
GPG Key ID: 7741A52782A90069
3 changed files with 36 additions and 18 deletions