prometheus/web/ui/react-app/src
Julius Volz aa7bf083e9
Move /targets page discovered labels to expandable section (#12824)
* Move /targets page discovered labels to expandable section

The current tooltip for showing the pre-relabeling discovered labels for a
target is notoriously unreliable and can get cut off when there are many
labels. This PR introduces a (hopefully unobtuse enough) expander/collapser
button for the discovered labels of each target, and then the discovered labels
are shown in a more persistent way underneath the final target labels, instead
of using a tooltip.

Fixes https://github.com/prometheus/prometheus/issues/9175#issuecomment-1713074341

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Remove obsolete test snapshot

Signed-off-by: Julius Volz <julius.volz@gmail.com>

---------

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2023-09-11 11:36:44 +02:00
..
components Inject readiness state through context (#11617) 2023-01-09 00:04:00 +01:00
constants
contexts fix some typos (#12498) 2023-06-29 12:28:13 +02:00
fonts
hooks Init value for useState hook calls once (#11802) 2023-01-03 22:09:00 +01:00
images
pages Move /targets page discovered labels to expandable section (#12824) 2023-09-11 11:36:44 +02:00
themes Directly include SVG logo in the page. 2023-03-04 00:36:07 +01:00
types Add 'keep_firing_for' field to alerting rules 2023-01-13 12:11:39 +01:00
utils Show individual scrape pools on /targets page (#11142) 2022-12-23 11:55:08 +01:00
vendor/flot
App.test.tsx Inject readiness state through context (#11617) 2023-01-09 00:04:00 +01:00
App.tsx Directly include SVG logo in the page. 2023-03-04 00:36:07 +01:00
globals.ts
index.tsx Inject readiness state through context (#11617) 2023-01-09 00:04:00 +01:00
Navbar.test.tsx
Navbar.tsx Directly include SVG logo in the page. 2023-03-04 00:36:07 +01:00
react-app-env.d.ts
setupProxy.js
setupTests.ts
Theme.tsx