Open
Implement Raft Replication Metrics Reporting #1
wuxingyiAdd on  Dec 9, 2024
wuxingyiCollaborators
Dec 9, 2024 Create

1.Description:
Implement comprehensive metrics collection for Raft replication to monitor replication health, performance, and consensus status.

2.Technical Requirements:

  • Collect Raft state and performance metrics
  • Report metrics through OSD to monitor
  • Track per-PG Raft group metrics
  • Minimal performance impact
  1. Expected Results:
    a. Metrics Needed:

    • Raft state and role changes
      
    • Replication performance and latencies
      
    • Election and consensus events
      
    • Log statistics and health
      

    b. Reporting:

    • Per-PG Raft metrics
    • Aggregated OSD-level view
    • Regular reporting to monitor
  2. Acceptance Criteria:

    • Metrics collection adds < 1% overhead to Raft operations
    • All critical Raft state changes captured
    • Proper integration with OSD reporting
    • Accurate latency measurements
    • Documentation for all Raft metrics
  3. Key Metrics to Monitor:

  • Replication latency
  • Log commit rate
  • Failed append entries
  • Leader stability
  • Election frequency
  • Vote patterns
  • Commit latency
  • Log growth rate
  • Compaction statistics
likedislike
WwuxingyiCollaborators
Dec 9, 2024 创建了任务
openeuler-ci-botopeneuler-ci-botCollaborators
Dec 9, 2024 添加了 &nbsp; sig/sig-SDS 标签