Feature request: Add some means of commenting or disabling portions of a query in promql.
This is especially useful when using the /graph playground to explore and compose queries. Currently one almost needs to keep a separate text file or state somewhere to compose query snippets. It would be very helpful if i could "comment out" portions of a query while trying to construct a query or debug one that's not working as expected.
I don't think comments within a promql expression is something that we should support, I can see it causing confusion.
Apparently this already exists: # will comment until end-of-line.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Apparently this already exists:
#will comment until end-of-line.