You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Measurement of Commit Latency Service Metrics (#225)
Measurement of Commit Latency Service Metrics
1 - Adds setCommitStartTimeMs() functionality
2 - Adds public void recordCommitComplete() for finishing the recording of consumer offset commit.
3 - Implements public void setCommitStartTimeMs(long time) for setting in milliseconds the start time of consumer offset commit.
4 - Implements public long commitStartTimeMs() for retrieving the start time of consumer offset commit.
_commitOffsetLatency.add(newMetricName("commit-offset-latency-ms-avg", METRIC_GROUP_NAME, "The average latency in ms of committing offset", tags), newAvg());
42
45
_commitOffsetLatency.add(newMetricName("commit-offset-latency-ms-max", METRIC_GROUP_NAME, "The maximum latency in ms of committing offset", tags), newMax());
43
46
47
+
if (latencyPercentileGranularityMs == 0) {
48
+
thrownewIllegalArgumentException("The latency percentile granularity was incorrectly passed a zero value.");
49
+
}
50
+
51
+
// 2 extra buckets exist which are respectively designated for values which are less than 0.0 or larger than max.
0 commit comments