Count incidents visible at a selected minimum severity.

Incident Queue Reliability Report

incident_queue.php
<?php
$minSeverity = ;
$visible = 0;
$high = 0;

foreach ([1, 2, 3, 3] as $severity) {
    if ($severity >= $minSeverity) {
        $visible = $visible + 1;
    }
    if ($severity >= 3) {
        $high = $high + 1;
    }
}

echo "min=" . $minSeverity . " visible=" . $visible . " high=" . $high . "\n";
<?php
$minSeverity = ;
$visible = 0;
$high = 0;

foreach ([1, 2, 3, 3] as $severity) {
    if ($severity >= $minSeverity) {
        $visible = $visible + 1;
    }
    if ($severity >= 3) {
        $high = $high + 1;
    }
}

echo "min=" . $minSeverity . " visible=" . $visible . " high=" . $high . "\n";
<?php
$minSeverity = ;
$visible = 0;
$high = 0;

foreach ([1, 2, 3, 3] as $severity) {
    if ($severity >= $minSeverity) {
        $visible = $visible + 1;
    }
    if ($severity >= 3) {
        $high = $high + 1;
    }
}

echo "min=" . $minSeverity . " visible=" . $visible . " high=" . $high . "\n";
incident queue Small severity lists make queue thresholds visible without using external incident systems.