Page MenuHomePhabricator

Include CommunityConfiguration-originating logs in Logstash
Closed, ResolvedPublic

Description

As part of T357766: Deploy Community configuration to beta wiki, the Growth-Team released CommunityConfiguration to eswiki betalabs. To ensure logs do not get lost, we should enable the CommunityConfiguration channel in Beta at least (I intended to do it as part of the release, but then I failed to include in the actual patches). To ensure we do not forget this in production, let's enable the Logstash channel in both production and beta while we're at it.

Logging as a separate task for visibility and given it does not necessarily have to be treated as a part of the release.

Event Timeline

Change #1014634 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] Add CommunityConfiguration log channel

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

Change #1014634 merged by jenkins-bot:

[operations/mediawiki-config@master] Add CommunityConfiguration log channel

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

Mentioned in SAL (#wikimedia-operations) [2024-03-28T21:06:22Z] <tgr@deploy1002> Started scap: Backport for [[gerrit:1015145|Enter deprecation trial for third-party cookie blocking (T359957)]], [[gerrit:1014634|Add CommunityConfiguration log channel (T361072)]]

Mentioned in SAL (#wikimedia-operations) [2024-03-28T21:08:36Z] <tgr@deploy1002> urbanecm and tgr: Backport for [[gerrit:1015145|Enter deprecation trial for third-party cookie blocking (T359957)]], [[gerrit:1014634|Add CommunityConfiguration log channel (T361072)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-03-28T21:25:53Z] <tgr@deploy1002> Finished scap: Backport for [[gerrit:1015145|Enter deprecation trial for third-party cookie blocking (T359957)]], [[gerrit:1014634|Add CommunityConfiguration log channel (T361072)]] (duration: 19m 30s)

@Urbanecm_WMF - I'm not seeing CommunityConfiguration channel in beta logstash. The errors from extensions/CommunityConfiguratio are properly logged in exception channel, e.g. https://beta-logs.wmcloud.org/goto/a74f0e2c04c2793da09310c70a0ce7ed .

@Urbanecm_WMF - I'm not seeing CommunityConfiguration channel in beta logstash. The errors from extensions/CommunityConfiguratio are properly logged in exception channel, e.g. https://beta-logs.wmcloud.org/goto/a74f0e2c04c2793da09310c70a0ce7ed .

That might be because there were no errors yet. I logged Foo test event now, the channel should exist now.

@Urbanecm_WMF - I'm not seeing CommunityConfiguration channel in beta logstash. The errors from extensions/CommunityConfiguratio are properly logged in exception channel, e.g. https://beta-logs.wmcloud.org/goto/a74f0e2c04c2793da09310c70a0ce7ed .

That might be because there were no errors yet. I logged Foo test event now, the channel should exist now.

I still see the most recent timestamp as Apr 15, 2024 @ 01:26:08.802 - logstash link

I've removed from the above link the restriction on not showing Warnings - here is the new beta logstash link - CommunityConfiguration channel is still not present.

I'm confused. Neither of those two links appear to search for the channel, unless I am missing something? https://beta-logs.wmcloud.org/goto/228cc166abbf3415b8a9099f1051711f is what I expected to happen (there are now some real events as well; admittedly, some that should not be logged as warnings, but they are there anyway).

I'm confused. Neither of those two links appear to search for the channel, unless I am missing something? https://beta-logs.wmcloud.org/goto/228cc166abbf3415b8a9099f1051711f is what I expected to happen (there are now some real events as well; admittedly, some that should not be logged as warnings, but they are there anyway).

I guess I was confused too - previously I simply didn't see CommunityConfiguration (and could not search for it), now it's perfectly visible, e.g. on Default dashboard, or specifically filtered for CommunityConfiguration channel: https://beta-logs.wmcloud.org/goto/622b2642e2cae2468a467246fe9f37a0.

Added for testing in production to T362728: [QA task] Community Configuration - testing in production