-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Open
Description
Like "gofmt" for Go, we ought to have a "promfmt" for Prometheus since we have a syntax tree. The idea being that the system produces uniform style that minimizes deviation and learning curve.
Update after we have totally moved to YAML rule files: In addition to formatting the PromQL expressions, we also want to format the YAML files to have a fixed structure, while preserving comments for both PromQL expressions and the YAML file.
nvtkaszpir, alileza, mcgregor-stripe, jybp, thiagowfx and 1 more