prometheus/web/api/v1
gotjosh 7bb73a9abd fix: flaky test for api/v1/targets/metadata. (#6436)
* Allows sorting of responses from the API in tests

Fixes flaky test for api/v1/targets/metadata.

Allows sorting of responses from the API. For our tests to be deterministic, we need to ensure the response from the API follows an order. This structure allows us to define one.

Fixes #6431

Signed-off-by: gotjosh <josue@grafana.com>
2019-12-09 21:36:38 +00:00
..
api.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
api_test.go fix: flaky test for api/v1/targets/metadata. (#6436) 2019-12-09 21:36:38 +00:00