Page MenuHomePhabricator

stream-beta.wmflabs.org seems broken (can't see my mediawiki-create events) or anything else
Closed, ResolvedPublic

Description

According to https://wikitech.wikimedia.org/wiki/Event_Platform/Instrumentation_How_To#In_beta we should be able to see events
"using the EventStreams GUI at https://stream-beta.wmflabs.org/v2/ui . " But no events are displayed.

Event Timeline

Ah, this was because I recommended to @Michaelcochez to use +wikidatawiki to add the stream config entries. This is fine for MW clients that know they will only be interacting with config for that wiki, but in order for EventGate (outside of a wiki) to know about the stream, it contacts meta's EventStreamConfig API, so metawiki must be configured with this stream too.

I'm going to try '+default' for merging. Let's see...

Change 709090 had a related patch set uploaded (by Ottomata; author: Ottomata):

[operations/mediawiki-config@master] Use +default in InitialiseSettings-labs.php for event stream config

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

Change 709090 merged by Ottomata:

[operations/mediawiki-config@master] Use +default in InitialiseSettings-labs.php for event stream config

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

Nope. I think mediawiki-config currently does not allow us to override default settings for beta. Hm.

I think we need to either:

Declare the streams in both wikidatawiki and metawiki in InitialiseSettings-labs.php, or

Just declare them in InitialiseSettings.php.

Relevant tickets:

@Michaelcochez @Addshore I'd go ahead and just move these configs to InitialiseSettings.php myself (nothing will happen until you actually produce data in production) and deploy them, but I'm not sure if you are ready for that.

Change 709098 had a related patch set uploaded (by Ottomata; author: Ottomata):

[operations/mediawiki-config@master] Declare wd_propertysuggester streams

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

Change 709098 merged by Ottomata:

[operations/mediawiki-config@master] Declare wd_propertysuggester streams

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

Mentioned in SAL (#wikimedia-operations) [2021-07-30T19:44:03Z] <otto@deploy1002> Synchronized wmf-config/InitialiseSettings.php: Declare wd_propertysuggester streams - T287760 (duration: 00m 57s)

Change 709103 had a related patch set uploaded (by Ottomata; author: Ottomata):

[operations/mediawiki-config@master] Restore wgEventStreamsDefaultSettings in InitialiseSettings-labs.php

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

Change 709103 merged by Ottomata:

[operations/mediawiki-config@master] Restore wgEventStreamsDefaultSettings in InitialiseSettings-labs.php

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

I just went back in to figure out why https://stream-beta.wmflabs.org/v2/ui/#/ wasn't showing events, but it is!

Can you all see your property suggester events there? If so, we can close this ticket.

I can see the property suggester events.

@Addshore can you now also see the other events you were testing for? Last week @Ottomata also did a flush on kafka, which might have solved these issues.

odimitrijevic moved this task from Incoming to Event Platform on the Analytics board.
Addshore claimed this task.

Looks good to me

And now I also see the mediawiki.page-create events which I didnt when I wrote this ticket (but not sure what changed to make that work)