ofelia
ofelia copied to clipboard
Limit error message
Is possible prevent a lot send error message? Send only one error message per 1h?
For example:
[global]
save-folder=/tmp
save-only-on-error=true
error-alert-frequency-per-job=1h
What you think about it?
@Trane9991 what are you think if I create PR with this feature?
Hey. Sorry for the long reply.
What is the use-case for this feature? Your job fails often and that generates too many similar log files?
In my case I use slack notification. So I get a lot slack notification with same error. My proposition is save hash of command+error message and don't send duplicate again.