Replies: 2 comments
-
|
I will attempt to modify the lexer and parser to support expressions like:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
👍 relate pr #3406 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the community, I’ve noticed that the current periodic threshold expression mechanism has introduced lexical and syntax parsers. However, the current design does not yet support SQL-style execution logic. Additionally, the existing behavior—where an alert is triggered as long as the expression result is non-empty—seems problematic. A more reasonable approach would be to require the threshold expression to return a boolean value to clearly determine whether an alert should be triggered.
Based on the above observations, I propose the following improvements:
__script__(...)lexical rule to support SQL-style function expressions;true.Suggestions for further improvement are welcome.
Beta Was this translation helpful? Give feedback.
All reactions