1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

fix storage stats

This commit is contained in:
Damodar Lohani 2022-10-18 07:38:05 +00:00
parent 027dafe906
commit 8cd4060334

View file

@ -155,7 +155,7 @@ class Stats
foreach ($storageMertics as $metric) {
$value = $this->params[$metric] ?? 0;
if ($value == 1 || $value == -1) {
if ($value >= 1 || $value == -1) {
$storageTags = $tags . ",bucketId=" . ($this->params['bucketId'] ?? '');
$this->statsd->count($metric . $storageTags, $value);
}