Dashboard 初期规划

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. :x: :x: :heavy_check_mark: :x:
beans Displays a complete list of all the Spring beans in your application. :x: :x: :heavy_check_mark: :heavy_check_mark:
caches Exposes available caches. Y Y :x: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
conditions Shows the conditions that were evaluated on configuration and auto-configuration classes and the reasons why they did or did not match. :x: :x: :x: :x:
configprops Displays a collated list of all @ConfigurationProperties. Y :x: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
env Exposes properties from Spring’s ConfigurableEnvironment. :x: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
flyway Shows any Flyway database migrations that have been applied. Requires one or more Flyway beans. :x: :x: :heavy_check_mark: :x:
health Shows application health information. :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
httptrace Displays HTTP trace information (by default, the last 100 HTTP request-response exchanges). Requires an HttpTraceRepository bean. :x: :x: :x: :x:
info Displays arbitrary application info. :x: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
integrationgraph Shows the Spring Integration graph. Requires a dependency on spring-integration-core. :x: :x: :x: :x:
loggers Shows and modifies the configuration of loggers in the application. Y :x: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
liquibase Shows any Liquibase database migrations that have been applied. Requires one or more Liquibase beans. :x: :x: :heavy_check_mark: :x:
metrics Shows ‘metrics’ information for the current application. Y :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
mappings Displays a collated list of all @RequestMapping paths. :x: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
scheduledtasks Displays the scheduled tasks in your application. :x: :x: :heavy_check_mark: :x:
sessions Allows retrieval and deletion of user sessions from a Spring Session-backed session store. Requires a Servlet-based web application using Spring Session. :x: :x: :heavy_check_mark: :x:
shutdown Lets the application be gracefully shutdown. Disabled by default. Y :x: :x: :heavy_check_mark: :x:
threaddump Performs a thread dump. :x: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
heapdump Returns an hprof heap dump file. :x: :x: :heavy_check_mark: :heavy_check_mark:
jolokia Exposes JMX beans over HTTP (when Jolokia is on the classpath, not available for WebFlux). Requires a dependency on jolokia-core. Y Y :x: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
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. :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:

Document

  • 提供集成文档
  • 错误提示

Security

  • 必须考虑到安全问题
  • 独立认证
  • 凭证管理(注册,管理)
  • 安全规范

Multi-App-Env

  • 工作空间
  • 全局筛选
  • 前端升级

Positioning

  • 开箱即用的产品
  • 交付件
    1. 全量jar包
    2. maven坐标 + bootapp
  • 开放扩展点