prometheus/web
Łukasz Mierzwa 885674c5c0
[UI] Fix duplicated keys on /targets page (#8456)
* [UI] Add a test for duplicated keys in EndpointLink component

I've noticed that I'm getting warnings about multiple children with the same key on /targets page.
This adds a test that fails when that happens.

Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>

* [UI] Fix duplicated keys on /targets page

Since any URI we render on /targets page can have multi-value params we should use both name and value as components keys.

Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
2021-02-08 22:17:04 +01:00
..
api/v1 API: Fix global URL when external address has no port (#8359) 2021-02-05 12:45:44 +01:00
ui [UI] Fix duplicated keys on /targets page (#8456) 2021-02-08 22:17:04 +01:00
federate.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
federate_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
web.go Update exporter-toolkit to 0.5.0 2021-01-13 21:49:54 +01:00
web_test.go Add TLS and basic authentication 2020-12-28 21:33:44 +01:00