Page MenuHomePhabricator

EventLogging dev image should have verbose output enabled
Open, HighPublic

Description

Problem
The EventLogging dev image is designed for developers to use event logging on their local machine, but it does not use the --verbose flag of the command/entrypoint which makes it impossible to see the validation errors.

Proposed Solution
Add the --verbose flag to the EventLogging dev image

Work Around
Add the following to the docker-compose.override.yml under eventlogging:

entrypoint: ["python3", "bin/eventlogging-devserver", "--host", "0.0.0.0", "--verbose"]

Event Timeline

dbarratt created this task.Jul 7 2020, 9:45 PM
Restricted Application added a project: Analytics. · View Herald TranscriptJul 7 2020, 9:45 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
dbarratt updated the task description. (Show Details)Jul 7 2020, 9:45 PM

Change 610194 had a related patch set uploaded (by Dbarratt; owner: Dbarratt):
[releng/dev-images@master] Add --verbose flag to eventlogging image

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

dbarratt updated the task description. (Show Details)Jul 8 2020, 1:29 AM
Milimetric closed this task as Declined.Jul 20 2020, 4:10 PM
Milimetric moved this task from Incoming to Deprioritized on the Analytics board.
Milimetric added a subscriber: Milimetric.

moving to modern event platform, we're not going to maintain this going forward, the module was removed from Vagrant (unless something went wrong)

moving to modern event platform, we're not going to maintain this going forward, the module was removed from Vagrant (unless something went wrong)

This has to do with the docker image, not with Vagrant.... I assuming the development image is not going away?

What is the "modern event platform"?

Milimetric reopened this task as Open.EditedJul 22 2020, 3:42 PM
Milimetric triaged this task as High priority.
Milimetric moved this task from Deprioritized to Event Platform on the Analytics board.

my bad, we were speed-grooming. This is actually quite complicated, but we're discussing how to handle it and we'll get back to you. In the meantime you seem ok (T257364), but we know the developer experience is not yet ideal. Modern event platform is explained here more: https://wikitech.wikimedia.org/wiki/Event_Platform/Instrumentation_How_To

cc @Ottomata