RockteMQ-AI commented on issue #4313: URL: https://github.com/apache/rocketmq-dashboard/issues/4313#issuecomment-5689874619
**Issue Evaluation** Category: `enhancement` | Status: **Evaluated** **Feasibility:** Feasible **Scope:** Dashboard backend (Java/Spring) + Frontend (JavaScript) — new service layer, controller, model, and UI modal **Compatibility:** No breaking changes — purely additive feature This is a well-structured feature request for producer-side latency profiling. The proposed solution covers the full stack: 1. **Model** (`ProducerLatencyReport`) — latency percentiles (P50/P95/P99), error rate breakdown, broker response matrix 2. **Service** (`ProducerLatencyProfilerService`) — sampling and aggregation of producer send metrics 3. **Controller** (`ProducerLatencyProfilerController`) — `/producer/latencyProfile.query` endpoint 4. **Frontend** (`ProducerLatencyProfilerModal`) — visualization of latency percentiles and outlier diagnostics This aligns with the dashboard's role as an observability tool. Implementation would require access to broker-side metrics (potentially via existing metrics export endpoints) and producer client instrumentation data. **Considerations:** - Data source: Where will producer-side latency samples come from? Broker metrics export or client-side reporting? - Sampling strategy: How to avoid overhead in high-throughput scenarios - Historical data: Whether to support time-range queries for trend analysis Maintainers, please confirm if this aligns with the project roadmap. --- *Automated evaluation by RockteMQ-AI* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
