At the moment there's no way to tie a Thumbor error encountered from the client's perspective to its corresponding log entry in logstash. Setting up a request id, preferably at the nginx level, returned as part of the response headers should do the trick.
Description
Details
Revisions and Commits
rTHMBREXT Thumbor Plugins | |||
rTHMBREXT5be43e413989 Version bump | |||
Restricted Differential Revision | rTHMBREXT64bc4a88f4ab Add thumbor-request-id to all custom logger.error | ||
Restricted Differential Revision | rTHMBREXT0469281059fa Forward Thumbor-Request-Id received from nginx, if any | ||
rTHMBREXTc9188c0e1125 Version bump |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | jijiki | T170817 Upgrade Thumbor servers to Stretch | |||
Resolved | • Gilles | T179200 Some half-broken PNGs cannot be rendered with the Jessie IM version | |||
Open | None | T157850 Interacting with Wikimedia logs should be a pleasant experience | |||
Resolved | • Gilles | T179954 Thumbor errors should contain a trackable request id | |||
Resolved | • Gilles | T186492 Improve Thumbor error logging |
Event Timeline
Change 405864 had a related patch set uploaded (by Gilles; owner: Gilles):
[mediawiki/vagrant@master] Add Thumbor Request-Id generated by nginx
Change 407411 had a related patch set uploaded (by Gilles; owner: Gilles):
[operations/puppet@production] Add Thumbor-Request-Id generated by nginx
Change 405864 merged by jenkins-bot:
[mediawiki/vagrant@master] Add Thumbor-Request-Id generated by nginx
Change 407412 had a related patch set uploaded (by Gilles; owner: Gilles):
[operations/debs/python-thumbor-wikimedia@master] Upgrade to 1.11
Change 407412 merged by Filippo Giunchedi:
[operations/debs/python-thumbor-wikimedia@master] Upgrade to 1.11
Change 407411 merged by Filippo Giunchedi:
[operations/puppet@production] Add Thumbor-Request-Id generated by nginx
Works for exceptions, not included (yet?) in manual logger.error calls coming from our code.
Change 410417 had a related patch set uploaded (by Gilles; owner: Gilles):
[operations/debs/python-thumbor-wikimedia@master] Upgrade to 1.13
Change 410417 merged by Filippo Giunchedi:
[operations/debs/python-thumbor-wikimedia@master] Upgrade to 1.13
Mentioned in SAL (#wikimedia-operations) [2018-02-14T15:24:08Z] <godog> roll-upgrade thumbor to 1.13 - T187159 T179954 T187088