fix special chars in path in statsd
This commit is contained in:
parent
26c4fe7009
commit
ca64195eb1
|
@ -101,7 +101,7 @@ class Stats
|
|||
$this->statsd->setNamespace($this->namespace);
|
||||
|
||||
if ($httpRequest >= 1) {
|
||||
$this->statsd->increment('requests.all' . $tags . ',method=' . \strtolower($httpMethod).',path='.$httpPath);
|
||||
$this->statsd->increment('requests.all' . $tags . ',method=' . \strtolower($httpMethod) . ',path=' . str_replace(':', '*', $httpPath));
|
||||
}
|
||||
|
||||
if ($functionExecution >= 1) {
|
||||
|
|
Loading…
Reference in a new issue