dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00aa829
)
Send edit stash metrics for cache attempts
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 26 May 2016 19:46:32 +0000
(12:46 -0700)
committer
Ori.livneh
<ori@wikimedia.org>
Thu, 26 May 2016 21:02:39 +0000
(21:02 +0000)
Change-Id: I22d5626cca55c2cc35e1b33fced5902e8d364d40
includes/api/ApiStashEdit.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiStashEdit.php
b/includes/api/ApiStashEdit.php
index
40aa4d4
..
e739e51
100644
(file)
--- a/
includes/api/ApiStashEdit.php
+++ b/
includes/api/ApiStashEdit.php
@@
-127,6
+127,8
@@
class ApiStashEdit extends ApiBase {
$status = 'busy';
}
+ $this->getStats()->increment( "editstash.cache_stores.$status" );
+
$this->getResult()->addValue( null, $this->getModuleName(), [ 'status' => $status ] );
}