* local storage selectedTab on targets tab was renamed
Signed-off-by: Michał Szczygieł <[email protected]>
* added filters when displaying alerts
Signed-off-by: Michał Szczygieł <[email protected]>
* function was simplified
Signed-off-by: Michał Szczygieł <[email protected]>
* fixed rebase
Signed-off-by: Michał Szczygieł <[email protected]>
* minor rename
Signed-off-by: Michał Szczygieł <[email protected]>
* Active -> Pending
Signed-off-by: Michał Szczygieł <[email protected]>
1. Added an ability to resize text area on mouseclick
2. Remember selected target status button on page reload
Signed-off-by: Maria Nemtinova <[email protected]>
Displaying all the dropped targets in the service-discovery page hurts
the Prometheus server as well as the browser when thousands of dropped
targets exist. This change limits this number to 1,000 and display the
number of active/total targets per scrape configuration.
Add warning when more than 100 targets are dropped
Signed-off-by: Simon Pasquier <[email protected]>
* Added only healthy to Targets
This adds a "Only heathly" button to supplement the "Only unhealthy"
button. The two are mutually exclusive.
I've also added a red/green text color to the buttons.
Arguably this could be a toggle instead if folks think this is
worthwhile... Happy to modify it.
* Moved functions above init
* Simplifed code and made prettier
* Appeased codeacy
* Made buttons square