There's good stuff in service celery-ores-worker status -l, we want that made visible.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T181538 ORES overload incident, 2017-11-28 | |||
Resolved | • Ladsgroup | T181630 Send celery and wsgi service logs to logstash |
Event Timeline
A slightly related request--it looks like /srv/log/ores/main.log is created by modules/service/manifests/uwsgi.pp, it would be great if the logfile were readable by regular users.
Celery is now logging verbosely to /srv/log/ores/app.log, please wire that into logstash.
We will need celery to actually do that. A quick look at the celery code says it is using the standand logging python module. Which makes it easier to send stuff to logstash but we will need https://pypi.python.org/pypi/python-logstash. So we need to add it in the venv and then configure it. I can do the latter, but the former needs someone else. @awight ?
Change 466716 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[operations/puppet@production] ores: Add logstash config
Change 466716 merged by Alexandros Kosiaris:
[operations/puppet@production] ores: Add logstash config
Change 466857 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[mediawiki/services/ores/deploy@master] Start using logstash
Change 466857 merged by Ladsgroup:
[mediawiki/services/ores/deploy@master] Start using logstash
It works: https://logstash-beta.wmflabs.org/goto/f9a3fea8c95c02724813fb7cbebb6471
Shall we go prod? let's do it on Monday.
Change 470827 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[operations/puppet@production] ores: Change logstash port from GELF to json lines
Change 470827 merged by Dzahn:
[operations/puppet@production] ores: Change logstash port from GELF to json lines