Format a PromQL query
One step with Prometheus. We can help you get access.
Look something up
Format a PromQL query
Use Prometheus: its Prometheus Query API lets you format a PromQL query in a single step (GET /format_query). capabilities.work can help you get signed up and connected.
- How do I make a PromQL expression readable with proper indentation?
- Can I pretty-print a PromQL query?
Say it to your AI assistant
- Format the PromQL expression {query}.
- Pretty-print {query} with proper spacing.
For your developer
GET /format_query in Prometheus Query API. Full spec on APIs.io.