Commit Graph

149 Commits

Author SHA1 Message Date
Eric Zhao e42551a877 dashboard: frontend refinement of monitoring page and flow rule dialog description
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-10 10:34:14 +08:00
Arlmls 6dfe8e3098 dashboard: change text of p_qps and b_qps to be more intuitive in monitoring page (#398) 2019-01-09 17:16:32 +08:00
Eric Zhao 6c70c94e44 dashboard: structure rearrangement and polish related code
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-08 09:45:16 +08:00
Zhe Jiang 8970f5380c dashboard: add healthCount/total information in sidebar of Sentinel dashboard (#376) 2019-01-07 16:40:35 +08:00
cdfive 5a691140b0 dashboard: make fallbackToLocalWhenFail be configurable in dashboard and fix edit rule issue when cancel (#370)
- Make fallbackToLocalWhenFail of cluster rules configurable in dashboard
- Fix edit rule when hit cancel button (object share problem solved by deep copy)
- Add metric table td header's title for friendly prompt info
2019-01-07 16:17:19 +08:00
Eric Zhao d4d85dbc7c Bump version to 1.4.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 19:08:07 +08:00
Eric Zhao 225d81ed93 Bump version to 1.4.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:59:50 +08:00
Eric Zhao bf34f8b3be Polish Sentinel dashboard frontend for cluster flow control enhancement
- Add cluster server list and assign page and client list page (for a specific app)

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:56:57 +08:00
Eric Zhao 8d413e1645 Polish Sentinel dashboard backend for cluster flow control enhancement
- Add cluster token server management controller and service for app
- Other enhancements and fixes

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:56:57 +08:00
Eric Zhao 832d6e425d Update document to meet Markdown lint
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-29 15:23:27 +08:00
leitao feb44e74d4 do not remove the first node(#339) (#355)
Do not remove the first node
2018-12-29 14:29:17 +08:00
Forever杨 f4d1ac91cc Fix wrong empty check in FlowRuleApiPublisher of Sentinel dashboard (#353)
- the wrong `isEmpty` check causes the rule cannot be deleted
2018-12-28 15:16:21 +08:00
leitao 8d5834d2d3 Translate some javadoc to English in MetricFetcher (#338) 2018-12-26 16:13:05 +08:00
Eric Zhao c7c59e9de7 Move local frontend lib assets from dist to lib directory
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-19 16:42:40 +08:00
Eric Zhao 9916dad403 Bump version to 1.4.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-17 10:23:19 +08:00
Eric Zhao c7b5653249 Bump version to 1.4.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 14:59:27 +08:00
Eric Zhao f49870402d Move CDN resources to local in Sentinel Dashboard
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 14:41:12 +08:00
Eric Zhao 0059b1a42d Add frontend service and pages for Sentinel cluster flow control in dashboard
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 14:33:57 +08:00
Eric Zhao 8961927a12 Add dashboard logic for Sentinel cluster flow control
- Update SentinelApiClient to support new-added command APIs
- Add controller for cluster config
- Add flow controller v2 for global rule pulling / pushing
- Extract dynamic rule provider and publisher interface for customized extensions
- Add basic cluster config service
- Add basic Nacos integration (in test as an example)

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 14:33:57 +08:00
cdfive 0bc07f314e Optimize the click sensitivity of dashboard's sidebar menu (#268)
- Use AngularJS binding model directly rather than jQuery DOM-based operation
2018-11-29 10:37:09 +08:00
cdfive 4f854c9eae Fix padding issue of charts in monitoring page of Sentinel dashboard (#262)
- Increase padding-left value of G2.chart in sentinel-dashboard
2018-11-26 17:42:17 +08:00
Eric Zhao 257dde1d5e Some improvements for Sentinel dashboard
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-11-08 17:11:54 +08:00
Eric Zhao 3b6095899a Some improvements on Sentinel Dashboard
- Fixes #231: when resource name is too long in resource page, the name will jump out and cover other layout
- Hide `origin` input view in degrade rule dialog
- Refine style and color of buttons in dialogs
- Add support for exception count in degrade rule
- Other improvements

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-11-05 14:50:16 +08:00
xcaspar ef96b15f22 Improve log info and condition about fetching metrics (#219)
- Receiving "No metrics" response won't cause error log
- Improve log about fetching metrics
2018-11-01 14:16:11 +08:00
Eric Zhao bffa4ff777 Bump version to 1.4.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-30 16:06:32 +08:00
Eric Zhao f4b5fae130 Bump version to 1.3.0-GA and update dependencies
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-30 15:01:51 +08:00
Eric Zhao eace8ab2ff Add support for adding param rule / authority rule in resource page of dashboard
- Decouple rule checking from controller (now in service)

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-30 14:52:14 +08:00
Carpenter Lee bd0de9464c Avoid ConcurrentModificationException when getting machine map in AppInfo (#205)
- Avoid ConcurrentModificationException when `getMachines()` by deep clone the machine map
- Enhance the code to avoid potential ConcurrentModificationException
- Add test cases
2018-10-29 20:19:29 +08:00
Eric Zhao 0c15dd9fe3
Fixes #198: Enhance rule checking in rule managers and Sentinel Dashboard (#202)
- Enhance rule checking in rule managers and Sentinel Dashboard frontend
- Enhance error information when reporting invalid fields in rule dialog

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-29 13:35:06 +08:00
Eric Zhao 531578ce54 Bump version to 1.3.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-24 15:52:11 +08:00
Eric Zhao 0855809149
Add support for authority rule configuration in Sentinel Dashboard (#189)
- Update dashboard API client to support authority rule commands
- Add REST API and frontend page for authority rules

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-23 09:20:17 +08:00
Carpenter Lee aaf88b8a0a Rename ParamFlowRule.blockGrade to grade 2018-10-16 20:34:40 +08:00
jasonjoo2010 a757950b9a Fix the wrong coordinate scaling of QPS chart (passed/blocked) in dashboard (#172)
Fixes #22 (by @jasonjoo2010)
2018-10-16 09:58:25 +08:00
Eric Zhao b06bb02b2c
Add rule configuration support for parameter flow control in Sentinel Dashboard (#176)
- Update dashboard API client to support authority and parameter flow commands
- Add REST API controller for parameter flow rules in dashboard
- Add pages for configuring parameter flow rules
- Update dependencies: upgrade Spring Boot to 2.x and remove unused dependencies
- Other refinements

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-12 16:15:13 +08:00
李豪 03922dbf6c
Enhancement/normalize metric field (#170)
normalize metric fields and methods:
- rename exception to exceptionQps;
- remove ed postfix of all fields and methods about metrics;
2018-10-11 09:28:43 +08:00
Eric Zhao 94dc7966ae Bump version to 0.2.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-28 17:18:41 +08:00
Eric Zhao 1063974ceb Bump version to 0.2.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-27 17:59:23 +08:00
Eric Zhao cf1cf8a59f Update dependencies
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-26 15:03:19 +08:00
Eric Zhao 9e012d2e20 Refactor version representation and add client version to heartbeat
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-25 16:52:28 +08:00
Eric Zhao 02cf5e5639
Add MetricsRepository interface and reuse original in-memory implementation (#126)
- Abstract a universal `MetricsRepository` interface so that users can implement their own metrics persistence.
- Reuse original in-memory implementation (`InMemoryMetricsRepository`) as the default repository.

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-06 18:59:31 +08:00
Eric Zhao 9a27f395e6 Some structure refactor for Sentinel Dashboard
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-04 19:09:19 +08:00
Eric Zhao f70ab5ab05 Fixes #117: Update document of Sentinel Dashboard
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-03 09:33:03 +08:00
Carpenter Lee 430ef8a99a Fixes #51, use js type–converting comparisons. 2018-08-09 10:10:03 +08:00
Eric Zhao b212e5f26e Bump version to 0.2.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-08-08 20:45:25 +08:00
Eric Zhao 6bef9a8ee1 Bump version to 0.1.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-08-08 19:57:37 +08:00
Eric Zhao f1b52a66b2 Fixes #13: Fix search filter in Sentinel Dashboard sidebar
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-07-31 10:24:08 +08:00
Eric Zhao 47d9070a4a
Fixes #9: Use named thread factory for identification (#10)
* Use named thread factory with all thread pools for identification

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-07-30 18:10:56 +08:00
Eric Zhao 934816b9ab Bump version to 0.1.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-07-27 16:47:14 +08:00
Eric Zhao c92fea5d46 Welcome to the world, Sentinel 2018-07-27 16:34:30 +08:00