mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 09:02:53 +00:00
05842176a6
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> |
||
---|---|---|
.. | ||
testdata | ||
helpers_test.go | ||
manager_test.go | ||
manager.go | ||
scrape_test.go | ||
scrape.go | ||
target_test.go | ||
target.go |