Dashboard 初期规划
Application Runtime Monitor & Manage
KOCA 在微服务治理体系的整体规划参考下图,其中绿色部分为需要补充的新能力,Dashboard 是其中一部分,流量治理以及运行时管理同配置中心、注册中心等定位一致,是 KOCA 的一个组件,而 监控运维、网关等则需要结合微服务治理的需求做进一步加强。
- 缺乏Runtime Monitor(CCM)
- 缺乏服务治理
- 缺乏统一的管理入口,特别是涉及到灰度发布等涉及范围非常广的操作
- 监控运维等运行时监控管理的功能,开发侧可能更希望有一个直接能使用的产品,而不是需要二次开发的组件
- Dashboard旨在整合各个入口,以产品的方式呈现,并且提供可二次开发的组件,满足不同的集成需求
All Endpoins
整合 CCM 以及 Spring Admin 能力
ID | Description | Managable | Drill-down | KOCA | CCM | Spring Boot Admin | Dashboard |
---|---|---|---|---|---|---|---|
auditevents |
Exposes audit events information for the current application. Requires an AuditEventRepository bean. |
||||||
beans |
Displays a complete list of all the Spring beans in your application. | ||||||
caches |
Exposes available caches. | Y | Y | ||||
conditions |
Shows the conditions that were evaluated on configuration and auto-configuration classes and the reasons why they did or did not match. | ||||||
configprops |
Displays a collated list of all @ConfigurationProperties . |
Y | |||||
env |
Exposes properties from Spring’s ConfigurableEnvironment . |
||||||
flyway |
Shows any Flyway database migrations that have been applied. Requires one or more Flyway beans. |
||||||
health |
Shows application health information. | ||||||
httptrace |
Displays HTTP trace information (by default, the last 100 HTTP request-response exchanges). Requires an HttpTraceRepository bean. |
||||||
info |
Displays arbitrary application info. | ||||||
integrationgraph |
Shows the Spring Integration graph. Requires a dependency on spring-integration-core . |
||||||
loggers |
Shows and modifies the configuration of loggers in the application. | Y | |||||
liquibase |
Shows any Liquibase database migrations that have been applied. Requires one or more Liquibase beans. |
||||||
metrics |
Shows ‘metrics’ information for the current application. | Y | |||||
mappings |
Displays a collated list of all @RequestMapping paths. |
||||||
scheduledtasks |
Displays the scheduled tasks in your application. | ||||||
sessions |
Allows retrieval and deletion of user sessions from a Spring Session-backed session store. Requires a Servlet-based web application using Spring Session. | ||||||
shutdown |
Lets the application be gracefully shutdown. Disabled by default. | Y | |||||
threaddump |
Performs a thread dump. | ||||||
heapdump |
Returns an hprof heap dump file. |
||||||
jolokia |
Exposes JMX beans over HTTP (when Jolokia is on the classpath, not available for WebFlux). Requires a dependency on jolokia-core . |
Y | Y | ||||
logfile |
Returns the contents of the logfile (if logging.file.name or logging.file.path properties have been set). Supports the use of the HTTP Range header to retrieve part of the log file’s content. |
||||||
prometheus |
Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus . |
Document
- 提供集成文档
- 错误提示
Security
- 必须考虑到安全问题
- 独立认证
- 凭证管理(注册,管理)
- 安全规范
Multi-App-Env
- 工作空间
- 全局筛选
- 前端升级
Positioning
- 开箱即用的产品
- 交付件
- 全量jar包
- maven坐标 + bootapp
- 开放扩展点