RockteMQ-AI commented on issue #11078: URL: https://github.com/apache/rocketmq/issues/11078#issuecomment-5655077471
**Issue Evaluation** Category: `type/enhancement` | Status: **Evaluated** **Feasibility:** Feasible **Scope:** `broker` metrics — `BrokerMetricsManager`, consumer lag gauges **Compatibility:** Backward compatible (opt-in, default `false`) The enhancement addresses a real production pain point: zero-valued gauge data points dominating OTLP export payload in large deployments. The proposed approach is clean: - Opt-in config with safe default (`false`) ensures no behavior change for existing users. - The `shouldRecordValue` guard is general and can be extended to other metrics later. - The caveat about `absent()` / `absent_over_time()` alerts is important and well-documented. One suggestion: consider adding a counter metric for suppressed data points, so operators can monitor how much payload reduction they're getting. --- *Automated evaluation by github-manager* -- 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]
