prometheus/web
gotjosh 4bf9c6bb82 Allow targets to be injected as arguments when creating a testTargetRetriever
Previously, the struct `testTargetRetriever` had hardcoded active and dropped targets. This made it difficult to change the target information depending on the test case.

This change introduces a way to define them as arguments and pass it to a constructor for building. It lays a foundation for dynamically defining targets with various set of arguments to test different scenarios.

Signed-off-by: gotjosh <josue@grafana.com>
2019-12-05 10:29:28 +00:00
..
api Allow targets to be injected as arguments when creating a testTargetRetriever 2019-12-05 10:29:28 +00:00
ui Graph multi series select (#6391) 2019-12-03 20:20:45 +01:00
federate.go *: enable all default linters (#5504) 2019-05-03 15:11:28 +02:00
federate_test.go Fix staticcheck errors 2019-04-17 01:40:10 +02:00
web.go React UI: Add /tsdb-status to React-handled routes (#6313) 2019-11-20 15:50:52 +01:00
web_test.go Cleanup after merging tsdb into prometheus 2019-08-13 14:04:14 +05:30