Skip to content

Commit

Permalink
Pass prom registry to shipper from ruler.
Browse files Browse the repository at this point in the history
thanos-io#2050
Fixes thanos-io#2050

Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com>
  • Loading branch information
OGKevin committed Jan 28, 2020
1 parent 4a23b36 commit 8185989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/thanos/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ func runRule(
}
}()

s := shipper.New(logger, nil, dataDir, bkt, func() labels.Labels { return lset }, metadata.RulerSource)
s := shipper.New(logger, reg, dataDir, bkt, func() labels.Labels { return lset }, metadata.RulerSource)

ctx, cancel := context.WithCancel(context.Background())

Expand Down

0 comments on commit 8185989

Please sign in to comment.