eraser icon indicating copy to clipboard operation
eraser copied to clipboard

[REQ] Notifications

Open RealFascinated opened this issue 1 year ago • 1 comments

What kind of request is this?

New feature

What is your request or suggestion?

Having some kind of notifications (for example a discord webhook) saying how many images were removed and how much spaced was saved.

Are you willing to submit PRs to contribute to this feature request?

  • [ ] Yes, I am willing to implement it.

RealFascinated avatar Sep 26 '24 14:09 RealFascinated

@RealFascinated eraser provides the following metrics: https://eraser-dev.github.io/eraser/docs/metrics eraser does not know the amount of disk space saved since CRI does not expose that information. You can set up an open telemetry exporter to prometheus and alert manager to send metrics to discord. For example, https://promlabs.com/blog/2022/12/23/sending-prometheus-alerts-to-discord-with-alertmanager-v0-25-0/

sozercan avatar Sep 26 '24 23:09 sozercan