prometheus/scrape
gotjosh 05842176a6 Make the scrape.metricMetadataStore interface public
To test the implementation of our metric metadata API, we need to represent various states of metadata in the scrape metadata store. That is currently not possible as the interface and method to set the store are private.

This changes the interface, list and get methods, and the SetMetadaStore function to be public.

Incidentally, the scrapeCache implementation needs to be renamed to match the new signature.

Signed-off-by: gotjosh <josue@grafana.com>
2019-12-05 10:29:58 +00:00
..
testdata rename package retrieve to scrape 2018-02-01 09:55:07 +00:00
helpers_test.go scrape: remove unused type (#5761) 2019-07-15 08:54:22 +02:00
manager.go make targets active parallel (#5740) 2019-07-29 17:08:54 +01:00
manager_test.go scrape: close manager gracefully at end. (#6044) 2019-09-23 12:28:37 +02:00
scrape.go Make the scrape.metricMetadataStore interface public 2019-12-05 10:29:58 +00:00
scrape_test.go Make the scrape.metricMetadataStore interface public 2019-12-05 10:29:58 +00:00
target.go Make the scrape.metricMetadataStore interface public 2019-12-05 10:29:58 +00:00
target_test.go Update go.mod dependencies before release (#5883) 2019-08-14 11:00:39 +02:00