Skip to content

Commit

Permalink
Wrap object store Prometheus registery
Browse files Browse the repository at this point in the history
In preparation for the work being done at thanos-io/objstore#26.

Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
douglascamata committed Feb 21, 2023

Verified

This commit was signed with the committer’s verified signature.
douglascamata Douglas Camata
1 parent 48e82c5 commit da986e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/thanos/store.go
Original file line number Diff line number Diff line change
@@ -353,7 +353,7 @@ func runStore(

options := []store.BucketStoreOption{
store.WithLogger(logger),
store.WithRegistry(reg),
store.WithRegistry(extprom.WrapRegistererWithPrefix("thanos_", reg)),
store.WithIndexCache(indexCache),
store.WithQueryGate(queriesGate),
store.WithChunkPool(chunkPool),

0 comments on commit da986e7

Please sign in to comment.