Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ class JournalMetrics {
MutableCounterLong bytesServedViaRpc;

@Metric
MutableStat rpcRequestCacheMissAmount = new MutableStat(
"RpcRequestCacheMissAmount", "Number of RPC requests unable to be " +
"served due to lack of availability in cache, and how many " +
"transactions away the request was from being in the cache.",
"Misses", "Txns");
MutableStat rpcRequestCacheMissAmount;

@Metric("Number of RPC requests with zero edits returned")
MutableCounterLong rpcEmptyResponses;
Expand Down Expand Up @@ -87,6 +83,11 @@ class JournalMetrics {
"syncs" + interval + "s",
"Journal sync time", "ops", "latencyMicros", interval);
}
rpcRequestCacheMissAmount = registry
.newStat("RpcRequestCacheMissAmount", "Number of RPC requests unable to be " +
"served due to lack of availability in cache, and how many " +
"transactions away the request was from being in the cache.",
"Misses", "Txns");
}

public static JournalMetrics create(Journal j) {
Expand Down