log api stats seperately
This commit is contained in:
parent
43eed32958
commit
190d8bd7d7
@ -50,6 +50,9 @@ class StatsDInterface extends Extension {
|
|||||||
else if($event->page_matches("rss")) {
|
else if($event->page_matches("rss")) {
|
||||||
$this->_stats("rss");
|
$this->_stats("rss");
|
||||||
}
|
}
|
||||||
|
else if($event->page_matches("api")) {
|
||||||
|
$this->_stats("api");
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
#global $_shm_load_start;
|
#global $_shm_load_start;
|
||||||
#$time = microtime(true) - $_shm_load_start;
|
#$time = microtime(true) - $_shm_load_start;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user