Skip to content

Commit

Permalink
maven build included in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
matjaz99 committed Feb 12, 2024
1 parent a1c2e5a commit be3d30f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class UiReportBean implements Serializable {
private final String QUERY_TOTAL_JOBS_COUNT = "count(count(up) by (job))";
private final String QUERY_TARGETS_CURRENT_STATUS = "probe_success OR up";
private final String QUERY_TARGETS_DOWNTIME = "(count_over_time(up[7d]) - (sum_over_time(up[7d]))) * __SCRAPE_INTERVAL__";
private final String QUERY_TARGETS_AVAILABILITY_PERCENTAGE = "sum_over_time(up[7d]) / count_over_time(up[7d]) * 100";
private final String QUERY_TARGETS_AVAILABILITY_PERCENTAGE = "(sum_over_time(probe_success[7d]) / count_over_time(probe_success[7d]) * 100) OR (sum_over_time(up[7d]) / count_over_time(up[7d]) * 100)";
private final String QUERY_TARGETS_MTBF = "sum_over_time(up[30d]) * __SCRAPE_INTERVAL__ / 3600 / resets(up[30d])";
private final String QUERY_TARGETS_AVERAGE_AVAILABILITY_PERCENTAGE = "(sum(avg_over_time(up[1h])) + sum(avg_over_time(probe_success[1h])) - count(probe_success)) / (count(up) - count(probe_success)) * 100";
private final String QUERY_TARGETS_ALIVENESS_PERCENTAGE = "count(probe_success==1 OR up==1) / count(up) * 100";
Expand Down

0 comments on commit be3d30f

Please sign in to comment.