1
0
Fork 0
mirror of synced 2024-06-27 10:41:00 +12:00

Merge branch 'feat-265-realtime' of https://github.com/appwrite/appwrite into feat-265-realtime-console

This commit is contained in:
Torsten Dittmann 2021-06-10 13:54:06 +02:00
commit e682aae023

View file

@ -38,7 +38,7 @@ class UsageV1 extends Worker
$httpMethod = $this->args['httpMethod'] ?? '';
$httpRequest = $this->args['httpRequest'] ?? 0;
$functionId = $this->args['functionId'];
$functionId = $this->args['functionId'] ?? '';
$functionExecution = $this->args['functionExecution'] ?? 0;
$functionExecutionTime = $this->args['functionExecutionTime'] ?? 0;
$functionStatus = $this->args['functionStatus'] ?? '';
@ -65,7 +65,7 @@ class UsageV1 extends Worker
}
if($realtimeMessages >= 1) {
$statsd->count('realtime.message'.$tags, $realtimeMessages);
$statsd->count('realtime.messages'.$tags, $realtimeMessages);
}
$statsd->count('network.inbound'.$tags, $networkRequestSize);