Page MenuHomePhabricator

Per-format monitoring for Thumbor
Open, HighPublic

Description

PDF rendering was impacted as part of T372470. We should have monitoring that will proactively detect when an individual format has a surge in errors. The easiest path here is getting better metrics and monitoring spikes - as far as I know we don't have per-format failure counters, which would be vital here.

Having per-format canaries is an option, but is both expensive and complicated to implement as far our interaction with Swift goes.

Event Timeline

Would per-format canaries allow to allocate different hardware resources per file format? TIFF files would benefit to get more memory, for example.

MLechvien-WMF subscribed.

Setting the priority to high as this was marked as an incident follow-up.

@hnowlan shall we unassign you from this one, to allow someone else to pick it up?

As this is an incident follow-up, I will work on a plan to capture here

hnowlan renamed this task from Per-format monitoring for Thumbor to Per-format monitoring for Thumbor.Feb 13 2026, 4:46 PM
hnowlan removed hnowlan as the assignee of this task.

Looking at current metrics, we have timing metrics split per format but not success/failure. I *think* this is something we can add within thumbor-plugins (from a cursory look at the code), but is contingent on what was pointed out by @MoritzMuehlenhoff in T411076#11544976, namely that we can rebuild thumbor-plugins freely.

@JTweed-WMF would you have inputs on how to triage this task?

Looking at current metrics, we have timing metrics split per format but not success/failure. I *think* this is something we can add within thumbor-plugins (from a cursory look at the code), but is contingent on what was pointed out by @MoritzMuehlenhoff in T411076#11544976, namely that we can rebuild thumbor-plugins freely.

That change has been superseded and master currently builds successfully

That change has been superseded and master currently builds successfully

Ok, thanks