Add locality cache size to TransactionMetrics. #5758
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Example
trace.127.0.0.1.4503.1633992341.5ZksM5.0.2.xml:<Event Severity="10" Time="1633993882.506102" DateTime="2021-10-11T23:11:22Z" Type="TransactionMetrics" ID="a111d7864c84926b" Elapsed="5.00001" Cluster="" Internal="1" ReadVersions="0.999997 5.32161e-11 1595" ReadVersionsThrottled="0 -1 0" ReadVersionsCompleted="0.999997 6.78055e-11 1544" ReadVersionBatches="0.999997 6.78055e-11 1593" BatchPriorityReadVersions="0 -1 0" DefaultPriorityReadVersions="0 -1 52" ImmediatePriorityReadVersions="0.999997 5.32161e-11 1543" BatchPriorityReadVersionsCompleted="0 -1 0" DefaultPriorityReadVersionsCompleted="0 -1 1" ImmediatePriorityReadVersionsCompleted="0.999997 6.78055e-11 1543" LogicalUncachedReads="2.99999 2 4679" PhysicalReadRequests="2.99999 2 4634" PhysicalReadRequestsCompleted="2.99999 2 4634" GetKeyRequests="0 -1 0" GetValueRequests="0 -1 4" GetRangeRequests="2.99999 2 4675" GetRangeStreamRequests="0 -1 0" WatchRequests="0 -1 11" GetAddressesForKeyRequests="0 -1 0" BytesRead="1823.99 1823 2809429" KeysRead="7.99998 7 12340" MetadataVersionReads="0 -1 0" CommittedMutations="0 -1 1" CommittedMutationBytes="0 -1 72" SetMutations="0 -1 1" ClearMutations="0 -1 0" AtomicMutations="0 -1 0" CommitStarted="0 -1 1" CommitCompleted="0 -1 1" KeyServerLocationRequests="0 -1 8" KeyServerLocationRequestsCompleted="0 -1 8" StatusRequests="0 -1 0" TooOld="0 -1 0" FutureVersions="0 -1 0" NotCommitted="0 -1 0" MaybeCommitted="0 -1 0" ResourceConstrained="0 -1 0" ProcessBehind="0 -1 0" Throttled="0 -1 0" ExpensiveClearCostEstCount="0 -1 0" NumGrvFullBatches="0 -1 0" NumGrvTimedOutBatches="0.999997 6.78055e-11 1593" LocationCacheEntryCount="1" MeanLatency="0" MedianLatency="0" Latency90="0" Latency98="0" MaxLatency="0" MeanRowReadLatency="0" MedianRowReadLatency="0" MaxRowReadLatency="0" MeanGRVLatency="2.00748e-05" MedianGRVLatency="1.93119e-05" MaxGRVLatency="2.43187e-05" MeanCommitLatency="0" MedianCommitLatency="0" MaxCommitLatency="0" MeanMutationsPerCommit="0" MedianMutationsPerCommit="0" MaxMutationsPerCommit="0" MeanBytesPerCommit="0" MedianBytesPerCommit="0" MaxBytesPerCommit="0" NumLocalityCacheEntries="1" ThreadID="17469908612552362851" Machine="127.0.0.1:4503" LogGroup="default" Roles="CC,CP,DD,GP,MS,RK,RV,SS,TL" />
Code-Reviewer Section
The general guidelines can be found here.
Please check each of the following things and check all boxes before accepting a PR.
For Release-Branches
If this PR is made against a release-branch, please also check the following:
release-branch
ormaster
if this is the youngest branch)