Measure resource drift from a baseline and label the deviation level.

Resource Drift Report

resource_drift.php
<?php
$current = ;
$baseline = 100;
$drift = $current - $baseline;
$driftStatus = "normal";

if ($drift >= 25) {
    $driftStatus = "high";
} elseif ($drift >= 10) {
    $driftStatus = "elevated";
}

echo "current=" . $current . " drift=" . $drift . " status=" . $driftStatus . "\n";
<?php
$current = ;
$baseline = 100;
$drift = $current - $baseline;
$driftStatus = "normal";

if ($drift >= 25) {
    $driftStatus = "high";
} elseif ($drift >= 10) {
    $driftStatus = "elevated";
}

echo "current=" . $current . " drift=" . $drift . " status=" . $driftStatus . "\n";
<?php
$current = ;
$baseline = 100;
$drift = $current - $baseline;
$driftStatus = "normal";

if ($drift >= 25) {
    $driftStatus = "high";
} elseif ($drift >= 10) {
    $driftStatus = "elevated";
}

echo "current=" . $current . " drift=" . $drift . " status=" . $driftStatus . "\n";
resource drift Resource drift tracks how far current usage has moved from a known baseline value.