Skip to content

Commit

Permalink
Add LookbackDelta to web handler
Browse files Browse the repository at this point in the history
Without this option we have a 0s LookbackDelta which causes the /federate endpoint to query upstreams with a 1s lookback (which is too short).

Fixes #397
  • Loading branch information
jacksontj committed Feb 19, 2021
1 parent 0950012 commit 90bdf5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/promxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ func main() {
ScrapeManager: scrapeManager,
RuleManager: ruleManager,
Notifier: notifierManager,
LookbackDelta: opts.QueryLookbackDelta,

RemoteReadConcurrencyLimit: opts.RemoteReadMaxConcurrency,

Expand Down

0 comments on commit 90bdf5a

Please sign in to comment.