On 18.09.21 23:42, Jiacai Liu wrote: > > Have trouble in reading PromQL written by your colleagues or SRE team? > > promql-prettier to the rescue! > > - https://github.com/jiacai2050/promql-prettier > > Any issues or feedbacks are welcomed.
That looks pretty neat. I'll try it out. Did you collaborate with Harkishen Singh, whose GSoC project was tackling the same problem and who wrote the design doc? Or did you all of this from scratch? Any reason why you used the MetricsQL parser rather than the PromQL parser? Both languages are slightly different, and new features in PromQL won't necessarily make it to MetricsQL or might be delayed... It would be cool to have this integrated in promtool as originally planned. Another reason to use the Prometheus codebase... -- Björn Rabenstein [PGP-ID] 0x851C3DA17D748D03 [email] [email protected] -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/20210928174747.GY3692%40jahnn.

