mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
Change case order for switch scrapeLoop This commit changes the ordering in error identification switch cases for better production performance and adds reasonings behind error switch case order as comments. --------- Signed-off-by: Laimis Juzeliūnas <asnelaimis@gmail.com> |
||
---|---|---|
.. | ||
testdata | ||
clientprotobuf.go | ||
helpers_test.go | ||
manager.go | ||
manager_test.go | ||
metrics.go | ||
scrape.go | ||
scrape_test.go | ||
target.go | ||
target_test.go |