client_golang/api/prometheus/v1
Thomas Jackson 0392dffd0e
Switch to POST for LabelNames, Series, and QueryExemplars to DoGetFallback (#1252)
The upstream prometheus HTTP API supports POSTS for these methods (the
same as Query and QueryRange). Similar to the original issue
(https://github.com/prometheus/client_golang/issues/428) we can hit 414
errors with these other APIs. This change simply duplicates the logic to
these other endpoints

Related to: https://github.com/jacksontj/promxy/issues/588

Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>
2023-04-16 13:41:34 +01:00
..
api.go Switch to POST for LabelNames, Series, and QueryExemplars to DoGetFallback (#1252) 2023-04-16 13:41:34 +01:00
api_bench_test.go api: Extend and improve json-iterator usage 2023-03-01 17:27:33 +01:00
api_test.go Switch to POST for LabelNames, Series, and QueryExemplars to DoGetFallback (#1252) 2023-04-16 13:41:34 +01:00
example_test.go Enable same linters as the Prometheus repo itself (#1056) 2022-06-17 09:04:06 +02:00