Sentinel icon indicating copy to clipboard operation
Sentinel copied to clipboard

dashboard 持久化扩展

Open fengjx opened this issue 2 years ago • 2 comments

Describe what this PR does / why we need it

  1. dashboard 规则配置保存在内存中,重启后丢失数据,无法在生产环境使用
  2. metrics 数据保存在内存中,无法支持高可用,重启后也会丢失数据

Does this pull request fix one issue?

  • #1759
  • #2179
  • #3035

Describe how you did it

  • DynamicRulePublisher和DynamicRuleProvider接口增加 apollo 持久化实现
  • MetricsRepository 接口增加 redis 持久化实现

Describe how to verify it

see: https://github.com/fengjx/sentinel-dashboard-demo

Special notes for reviews

fengjx avatar Feb 07 '23 15:02 fengjx