Ori.livneh has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/282998

Change subject: Don't report image cache hits / misses
......................................................................

Don't report image cache hits / misses

This single metric is responsible for a substantial proportion of overall
statsd traffic on the Wikimedia cluster, per the task cited below. Nobody is
closely monitoring this statistic. We can reintroduce it with sampling at a
later date if it is deemed to be useful.

Bug: T101141
Change-Id: I6457cb91d527ce42c0918ac4e80613e6b59061ac
---
M includes/filerepo/file/LocalFile.php
1 file changed, 0 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/98/282998/1

diff --git a/includes/filerepo/file/LocalFile.php 
b/includes/filerepo/file/LocalFile.php
index 3f7eadb..c753a19 100644
--- a/includes/filerepo/file/LocalFile.php
+++ b/includes/filerepo/file/LocalFile.php
@@ -267,12 +267,6 @@
                        }
                }
 
-               if ( $this->dataLoaded ) {
-                       wfIncrStats( 'image_cache.hit' );
-               } else {
-                       wfIncrStats( 'image_cache.miss' );
-               }
-
                return $this->dataLoaded;
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/282998
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6457cb91d527ce42c0918ac4e80613e6b59061ac
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.27.0-wmf.20
Gerrit-Owner: Ori.livneh <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to