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 [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
