Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

struct RuleEntry should notify when Evaluate(...) error or Execute(...) error #471

Open
hongminhcbg opened this issue Dec 20, 2024 · 1 comment

Comments

@hongminhcbg
Copy link

Is your feature request related to a problem? Please describe.
I want to collect metrics and alert when RuleEntry.Evaluate() and RuleEntry.Execute() return error.
After that i can check manual

Describe the solution you'd like
Need support additional Listeners for struct RuleEntry
OR
RuleEntry should be interface so I can wraped that

Describe alternatives you've considered
None

Additional context
None

@hongminhcbg
Copy link
Author

I don't want to enable flag ReturnErrOnFailedRuleEvaluation = true, just notify and alert only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant