client_golang/api
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
..
prometheus/v1 Switch to POST for LabelNames, Series, and QueryExemplars to DoGetFallback (#1252) 2023-04-16 13:41:34 +01:00
client.go fix assorted oddities found by golangci-lint (#1040) 2022-08-03 06:30:51 +02:00
client_test.go Enable same linters as the Prometheus repo itself (#1056) 2022-06-17 09:04:06 +02:00