Skip to content

Commit

Permalink
#15: (POC) monitor some hard-coded rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Geisselmeier committed Apr 15, 2015
1 parent cf8caa2 commit 8d27274
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ private void runUpdateAsyn(StatusControl control) {

private void loadRules() {
// TODO: make them editable
rules.add(new ServerRunningRule());
rules.add(new AverageExecutionTimeRule(200));
rules.add(new TotalFailureRateRule(0.05f));
rules.add(new RecentAverageExecutionTimeRule(200));
rules.add(new RecentEfficiencyRule(0.4f));
rules.add(new RecentEfficiencyRule(0.4f));
rules.add(new RecentFailureRateRule(0.05f));
}

@FXML
Expand Down

0 comments on commit 8d27274

Please sign in to comment.