GitHub user tomsun28 added a comment to the discussion: Use ANTLR DSL to parse 
expression

+1 maybe we can have a try.  `DataSourceService#calculate` not only for promql 
like this `promql > 23 and promql < 43`, also we can support SQL calculate like 
`sql > 23 and xxx`. 

GitHub link: 
https://github.com/apache/hertzbeat/discussions/3205#discussioncomment-12701596

----
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