PromCopilot: Simplifying Prometheus Metric Querying in Cloud Native Online Service Systems via Large Language Models
Not on the map. Why?
Abstract (arXiv)
With the increasing complexity of modern online service systems, understanding the state and behavior of the systems is essential for ensuring their reliability and stability. Therefore, metric monitoring systems are widely used and become an important infrastructure in online service systems. Engineers usually interact with metrics data by manually writing domain-specific language (DSL) queries to achieve various analysis objectives. However, writing these queries can be challenging and time-consuming, as it requires engineers to have high programming skills and understand the context of the system. In this paper, we focus on PromQL, which is the metric query DSL provided by the widely used metric monitoring system Prometheus. We aim to simplify metrics querying by enabling engineers to interact with metrics data in Prometheus through natural language, and we call this task text-to-PromQL. Building upon the insight, this paper proposes PromCopilot, a Large Language Model-based text-to-PromQL framework. PromCopilot first uses a knowledge graph to describe the complex context of a cloud native online service system. Then, through the synergistic reasoning of LLMs and the knowledge graph, PromCopilot transforms engineers' natural language questions into PromQL queries. To evaluate PromCopilot, we manually construct the first text-to-PromQL benchmark dataset which contains 280 metric query questions. The experiment results show that PromCopilot is effective in text-to-PromQL. When using GPT-4 as the backbone LLM, PromCopilot achieves an accuracy of 69.1% in translating natural language questions to PromQL queries when using. To the best of our knowledge, this paper is the first study of text-to-PromQL, and PromCopilot pioneered the DSL generation framework for metric querying and analysis.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). First posted on arXiv 5 Mar 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026Natural Language Interfaces for Spatial and Temporal Databases: A Comprehensive Overview of Methods, Taxonomy, and Future Directionscited by 0
- 2026From Natural Language to PromQL: A Catalog-Driven Framework with Dynamic Temporal Resolution for Cloud-Native Observabilitycited by 0
- 2026TQTS-Bench: A Multi-Syntax Benchmark for Text-to-Query over Time-Series Databasescited by 0
- 2026TQTS-Bench: A Multi-Syntax Benchmark for Text-to-Query over Time-Series Databases28 Sep 2026
- 2026Natural Language Interfaces for Spatial and Temporal Databases: A Comprehensive Overview of Methods, Taxonomy, and Future Directions24 Mar 2026
- 2026From Natural Language to PromQL: A Catalog-Driven Framework with Dynamic Temporal Resolution for Cloud-Native Observability15 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2025Enhancing the Capabilities of Large Language Models for API calls through Knowledge Graphs
- 2025Live API-Bench: 2500+ Live APIs for Testing Multi-Step Tool Calling
- 2025In-N-Out: A Parameter-Level API Graph Dataset for Tool Agents
- 2026CirrusBench: Evaluating LLM-based Agents Beyond Correctness in Real-World Cloud Service Environments
- 2026RedParrot: Accelerating NL-to-DSL for Business Analytics via Query Semantic Caching
- 2024Towards Automated Data Sciences with Natural Language and SageCopilot: Practices and Lessons Learned
- 2024WorkflowLLM: Enhancing Workflow Orchestration Capability of Large Language Models
- 2025NEFMind: Parameter-Efficient Fine-Tuning of Open-Source LLMs for Telecom APIs Automation