mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
fix difference in naming
This commit is contained in:
parent
5011820f67
commit
4479497dfe
1 changed files with 2 additions and 2 deletions
|
|
@ -91,8 +91,8 @@ class Stats
|
||||||
$this->statsd->increment('project.{scope}.network.requests' . $tags . ',method=' . \strtolower($httpMethod));
|
$this->statsd->increment('project.{scope}.network.requests' . $tags . ',method=' . \strtolower($httpMethod));
|
||||||
}
|
}
|
||||||
|
|
||||||
$inbound = $this->params['networkRequestSize'] ?? 0;
|
$inbound = $this->params['project.{scope}.network.inbound'] ?? 0;
|
||||||
$outbound = $this->params['networkResponseSize'] ?? 0;
|
$outbound = $this->params['project.{scope}.network.outbound'] ?? 0;
|
||||||
$this->statsd->count('project.{scope}.network.inbound' . $tags, $inbound);
|
$this->statsd->count('project.{scope}.network.inbound' . $tags, $inbound);
|
||||||
$this->statsd->count('project.{scope}.network.outbound' . $tags, $outbound);
|
$this->statsd->count('project.{scope}.network.outbound' . $tags, $outbound);
|
||||||
$this->statsd->count('project.{scope}.network.bandwidth' . $tags, $inbound + $outbound);
|
$this->statsd->count('project.{scope}.network.bandwidth' . $tags, $inbound + $outbound);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue