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
helpers_test.go
manager.go
manager_test.go
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