FiloDB icon indicating copy to clipboard operation
FiloDB copied to clipboard

feat(query): add TenantIngestionMetering query throttle

Open alextheimer opened this issue 3 years ago • 0 comments

Pull Request checklist

  • [x] The commit(s) message(s) follows the contribution guidelines ?
  • [x] Tests for the changes have been added (for bug fixes / features) ?
  • [ ] Docs have been added / updated (for bug fixes / features) ?

Current behavior : TenantIngestionMetering queries might consistently take longer than the static timeout duration. No timeseries would be published.

New behavior : Adds a throttling subclass to monitor query timeouts. This class adjusts the query frequency and timeout duration according to the count of timeouts in a lookback window.

alextheimer avatar Dec 15 '21 00:12 alextheimer