Task: Add more statistical metrics to the KV storage engine.
- Dominant language
- Java
- Stars
- 792
- Forks
- 95
- Avg merge
- 10h 45m
- Merged PRs (30d)
- 4
Description
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
```java
bifromq-retain/bifromq-retain-client/src/main/java/org/apache/bifromq/retain/client/RetainClient.java
if (!payload.isEmpty()) {
tenantMeter.recordSummary(MqttIngressRetainBytes, payload.size());
}
// TODO: add throttler
return rpcClient.invoke(publisher.getTenantId(), null, RetainRequest.newBuilder()
.setReqId(reqId)
.setTopic(topic)
```
- In-memory engine: Requires extended statistics collection (InMemKVSpace.java:101-102)
- RocksDB engine: Also requires more statistical metrics (RocksDBKVSpace.java:186-187)
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.