prometheus/web/api
gotjosh 0a0a228db3 api: provide per metric metadata (#6420)
* api: provide per metric metadata

This adds a new endpoint that provides per metric metadata via the V1 API.

It collapses metadata that is equal across all targets, and aggregates under the same metric name the ones that differ.

* Allow tests to be asserted on response length

Some tests e.g. limit on API responses, don't require an assertion on
equality.

This allows us to assert against response length instead of
equality.

Signed-off-by: gotjosh <josue@grafana.com>
2019-12-10 14:56:16 +00:00
..
v1 api: provide per metric metadata (#6420) 2019-12-10 14:56:16 +00:00
v2 Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00