Legoktm has submitted this change and it was merged.

Change subject: Remove duplicate 'MediaWiki' prefix from echo.unseen stats
......................................................................


Remove duplicate 'MediaWiki' prefix from echo.unseen stats

Caused metrics to be reported as 'MediaWiki.MediaWiki.echo.unseen'

Change-Id: Ie141b896d0574b081a362b06043d842c2a897df0
---
M Hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Legoktm: Verified; Looks good to me, approved



diff --git a/Hooks.php b/Hooks.php
index f18d350..db8370f 100644
--- a/Hooks.php
+++ b/Hooks.php
@@ -713,7 +713,7 @@
 
                if ( $hasUnseen ) {
                        // Record that the user is going to see an indicator 
that they have unread notifications
-                       RequestContext::getMain()->getStats()->increment( 
'MediaWiki.echo.unseen' );
+                       RequestContext::getMain()->getStats()->increment( 
'echo.unseen' );
                }
 
                // If the user has new messages, display a talk page alert

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie141b896d0574b081a362b06043d842c2a897df0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: wmf/1.26wmf24
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to