client_golang/api/prometheus/v1
Tomáš Dohnálek 40e54a75a6 Refactor apiClientImpl.DoGetFallback
Make apiClientImpl.DoGetFallback more idiomatic and efficient:
 * Save result of args.Encode() operation as it might be used 2 times in
   the function and due to looping and sorting it might be heavy.
 * Follow line-of-sight practise and therefore simplify the code.

Signed-off-by: Tomáš Dohnálek <dohnto@gmail.com>
2022-04-07 09:18:32 +02:00
..
api.go Refactor apiClientImpl.DoGetFallback 2022-04-07 09:18:32 +02:00
api_bench_test.go Switch from encoding/json -> jsoniter (#570) 2019-05-28 13:45:06 +02:00
api_test.go Update /api/v1/status/tsdb to include headStats (#925) 2022-01-05 10:09:29 +01:00
example_test.go Update dependencies 2021-03-11 20:22:47 +01:00