I wrote a formatter for PromQL people might find useful - https://github.com/facetoe/promformat
On Monday, December 27, 2021 at 9:23:27 PM UTC+8 [email protected] wrote: > Is there any update of this tool? > 在2020年9月15日星期二 UTC+8 04:59:12<[email protected]> 写道: > >> There's a work-in-progress design doc for this: >> >> >> https://docs.google.com/document/d/1nOBjpuCk4CsrOSm2ZjfVz2EL6gmA_CFGSbHCdY0Royg/edit >> >> On Mon, Sep 14, 2020 at 8:27 PM '[email protected]' via Prometheus >> Users <[email protected]> wrote: >> >>> What's a good formatter you guys recommend for formatting complex >>> queries? >>> >>> Ideally with line breaks and proper indentations after each ( or {. >>> >>> Thanks! >>> >>> -- >>> 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/8b6cd4e4-24be-4066-9ee0-9d38850bbef3n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/prometheus-users/8b6cd4e4-24be-4066-9ee0-9d38850bbef3n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- 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/83814c6c-8124-44f1-b3d8-fdb6523bd870n%40googlegroups.com.

