GitHub user MasamiYui edited a discussion: Use ANTLR DSL to parse expression

Now DataSourceService#calculate use regularity and code logic  for parse 
expression, if use ANTLR build dsl, maybe more suitable
Benefit:
1.Better performance with long expressions(Maybe)
2.Enable support for more flexible/complex expressions and function invoke at 
future
3.More security

Implement:
1.Complete the currently supported expression adaptation
2.Refer to promsql for more features


GitHub link: https://github.com/apache/hertzbeat/discussions/3205

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to