log api stats seperately

This commit is contained in:
Shish 2016-06-17 22:48:28 +01:00
parent 43eed32958
commit 190d8bd7d7

View file

@ -50,6 +50,9 @@ class StatsDInterface extends Extension {
else if($event->page_matches("rss")) {
$this->_stats("rss");
}
else if($event->page_matches("api")) {
$this->_stats("api");
}
else {
#global $_shm_load_start;
#$time = microtime(true) - $_shm_load_start;