THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
org.apache.kafka.common.metrics.stats.Rate
will be converted to a CompoundStat
similar to Percentiles
, with two metrics: rate and total (e.g. request-rate
and request-total
). For consistency, metrics like io-wait-ratio
which specify time ratio will also have two attributes (e.g. io-wait-ratio
and io-wait-time-total
).
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
metricName = metrics.metricName("request-rate", metricGrpName, "The average number of requests sent per second.", metricTags);
totalMetricName = metrics.metricName("request-total", metricGrpName, "The total number of requests sent.", metricTags);
this.bytesSent.add(new Rate(new Count(), metricName, totalMetricName));
|
Compatibility, Deprecation, and Migration Plan
...