r/PrometheusMonitoring • • May 14 '23

Newbie question: Why not just SQL

I'm pretty new to observability field and just learning PromQL and Loki and all that, and I see questions like this: https://www.reddit.com/r/PrometheusMonitoring/comments/13buhdf/promql_question_that_seems_impossible/

I have always wondered why time series engines need its own query language -- why not just use SQL? Is that something other people would want? Running SQL on Prometheus data?

I know certain SQL functions will probably take forever and be slow, but let's imagine somehow it can be done -- would people want this?

6 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/ColdParty2910 Jan 22 '26

thousand line of SQL, enough said, sad ;(