guardian / grid

The Guardian’s image management system
https://www.theguardian.com/info/developer-blog/2015/aug/12/open-sourcing-grid-image-service
Apache License 2.0
1.44k stars 119 forks source link

[reaper] count all soft and hard reapable images and publish metrics… #4168

Closed twrichards closed 9 months ago

twrichards commented 9 months ago

…so we can visualise how the rate we're reaping compares.

https://github.com/guardian/grid/pull/4145 introduced the HardReaped and SoftReaped metrics which show the amount of images hard and soft reaped respectively - which have been very useful. The reaping rate is proportional to the 7day rolling average of ingestion, so these two new metrics...

... will be useful to know whether the reaping rate is sufficient... or if it needs a rethink.

twrichards commented 9 months ago

TESTED on TEST

image
prout-bot commented 9 months ago

Seen on auth, usage, image-loader, metadata-editor, thrall, leases, cropper, collections, media-api, kahuna (merged by @twrichards 9 minutes and 50 seconds ago) Please check your changes!