Skip to content

Commit

Permalink
Merge 794d658 into 515b35c
Browse files Browse the repository at this point in the history
  • Loading branch information
pranikum authored Jun 8, 2023
2 parents 515b35c + 794d658 commit dc1af2e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,10 @@ public void construct() {
RcaConsts.RcaTagConstants.LOCUS_DATA_CLUSTER_MANAGER_NODE);
highCpuRca.addAllUpstreams(Collections.singletonList(cpuUtilizationGroupByOperation));

// Use EVALUATION_INTERVAL_SECONDS instead of RCA_PERIOD which resolved to 12 seconds.
// This is resulting in this RCA not getting executed in every 5 seconds.
Rca<ResourceFlowUnit<HotNodeSummary>> threadMetricsRca =
new ThreadMetricsRca(threadBlockedTime, threadWaitedTime, RCA_PERIOD);
new ThreadMetricsRca(threadBlockedTime, threadWaitedTime, EVALUATION_INTERVAL_SECONDS);
threadMetricsRca.addTag(
RcaConsts.RcaTagConstants.TAG_LOCUS,
RcaConsts.RcaTagConstants.LOCUS_DATA_CLUSTER_MANAGER_NODE);
Expand Down

0 comments on commit dc1af2e

Please sign in to comment.