Page MenuHomePhabricator

[Java] Enable pattern matching for event name prefixes
Closed, ResolvedPublic

Description

Background

Coming out of T327083, in order for an event to be produced in eventlogging, the event name has to match the prefix exactly i.e. in order for an event to match for example the mediawiki.edit_attempt stream, the prospective event in the Java client currently must match eas. exactly.

Description

Enable pattern matching in the Java client library so that events matching prefixes are accepted and validated by eventlogging.

Use regular expressions to pattern match event name prefixes provided by config.

Acceptance criteria
  • When event names in the Java client match prefixes defined by config, events are produced in eventlogging.

Event Timeline

cjming triaged this task as High priority.

Change 902468 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[mediawiki/libs/metrics-platform@master] [Java] Enable event name pattern matching

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

Change 902468 merged by jenkins-bot:

[mediawiki/libs/metrics-platform@master] [Java] Enable event name pattern matching

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