I used ChatGPT today, and found it gave a SUPER neat formatting to my code.
Thanks Facetoe for https://github.com/facetoe/promformat - I tried that too, and I like it. But actually I found the ChatGPT formatting to be even more readable (40 lines instead of 110 lines) Cheers, Sam On Saturday, 2 July 2022 at 10:05:57 UTC+1 Facetoe wrote: 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/e2daef7b-32fd-418f-9385-17ebc04d6377n%40googlegroups.com.

