log api stats seperately
This commit is contained in:
parent
43eed32958
commit
190d8bd7d7
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Reference in a new issue