Skip to content

Commit 7086874

Browse files
author
Илья
committed
Fix metrics job
1 parent 4eeb0a2 commit 7086874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slo-workload/src/Commands/RunCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ protected function metricsJob(int $reportPeriod, float $startTime, int $time, st
289289

290290
while (microtime(true) <= $startTime + $time) {
291291
msg_receive($msgQueue, Utils::MSG_TYPE, $msgType, Utils::MESSAGE_SIZE_LIMIT_BYTES, $message);
292-
$queryLatencies->observe($this->getLatency($message["sent"]));
292+
$queryLatencies->observe($this->getLatencyMilliseconds($message["sent"]));
293293
switch ($message['type']) {
294294
case 'reset':
295295
$pushGateway->delete('workload-php', [

0 commit comments

Comments
 (0)