Commit graph

9 commits

Author SHA1 Message Date
Deepjyoti Mondal c8ad79efdc
Fixes #6127 : Add Collapse All button (#6957)
The collapse all option as suggested in the corresponding issue
has been implemented in this PR.

Signed-off-by: Deepjyoti Mondal <[email protected]>
2020-09-07 16:54:54 +02:00
Michał 040425b0eb filtering alerts by state and display count of alerts in each state (#5758)
* 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]>
2019-10-29 11:09:52 +01:00
Harkishen Singh f0bb8129c3 Fixes service-discovery view when accessed from unhealthy targets (#5915)
* fix service-discovery view

Signed-off-by: Harkishen-Singh <[email protected]>

* updated localStorage logic

Signed-off-by: Harkishen-Singh <[email protected]>

* sign off

Signed-off-by: Harkishen-Singh <[email protected]>

* committed vfs unicodes

Signed-off-by: Harkishen-Singh <[email protected]>
2019-08-21 13:57:08 +02:00
Maria Nemtinova 8e3a39f725 Web UI QoL improvements (#5201)
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]>
2019-02-12 00:22:05 +01:00
Fabian Reinartz 9c83e815d1 Merge branch 'release-2.2' into update 2018-06-05 05:29:11 -04:00
Simon Pasquier 097439b0f9 web: limit the number of dropped targets (#4212)
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]>
2018-06-05 10:20:32 +01:00
James Turnbull c3f4f2204f Refactor/redesign Unhealthy checkbox on Targets page (#3913)
* 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
2018-03-09 11:19:09 +01:00
Lovisa Svallingson 2c2702e22b Align columns in Targets view (#3445)
- rebase and resolve merge conflicts
2017-11-26 12:49:24 +08:00
Roman Khavronenko 245b8a0b37 Allow to collapse jobs at /targets page (#2628) 2017-08-09 17:10:30 +02:00