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

Now DataSourceService#calculate use regexp 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 dev@hertzbeat.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@hertzbeat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hertzbeat.apache.org
For additional commands, e-mail: dev-h...@hertzbeat.apache.org

Reply via email to