Skip to content

Commit

Permalink
Change _rate suffix to _rps for rate metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
donhardman committed Mar 26, 2024
1 parent 9ac5c73 commit 86f98ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lib/Metric.php
Expand Up @@ -464,7 +464,7 @@ protected function getRateMetrics(array $metrics): array {
continue;
}

$rateName = "{$name}_rate";
$rateName = "{$name}_rps";
$diff = $value - ($this->snapshot[$name] ?? 0);
$rateValue = (int)(static::RATE_MULTIPLIER * ($diff / $duration));
// Store it for debug
Expand Down

0 comments on commit 86f98ab

Please sign in to comment.