Skip to content

instrumentation: Replace noisy rate limit logs with metrics

Warren Gifford requested to merge rs/noisy-logs-metrics into main

Created by: ryanslade

Instead of logging every time there is a small wait on our internal rate limiter we now record all wait times and intrument the 95th percetile wait per code host.

Note that on sourcegraph.com we have too many code hosts so we instead group the wait time by code host kind.

Test plan

All tests pass and checked dashboards locally

Merge request reports

Loading