From Natural Language to PromQL: A Catalog-Driven Framework with Dynamic Temporal Resolution for Cloud-Native Observability
arXiv cs.AI / 4/16/2026
💬 OpinionDeveloper Stack & InfrastructureIdeas & Deep AnalysisTools & Practical UsageModels & Research
Key Points
- The paper introduces a catalog-driven framework that converts natural-language questions into executable PromQL queries to reduce the query-authoring barrier for observability users.
- It combines a statically curated catalog of ~2,000 metrics with runtime discovery of hardware- and GPU-vendor-specific signals to support cloud-native environments.
- A multi-stage query pipeline classifies intent, routes metrics by category, and applies multi-dimensional semantic scoring to improve accuracy of the generated PromQL.
- The framework includes dynamic temporal resolution that interprets varied natural-language time expressions and maps them to the correct PromQL duration syntax.
- Integrated with the Model Context Protocol (MCP), the system enables tool-augmented LLM interactions across providers and was deployed on production Kubernetes clusters for AI inference workloads with ~1.1s end-to-end latency via the catalog path.

