CZChenxi Zhang

Chenxi Zhang

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Chenxi Zhang has a total of 46 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    MicroWeaver: A Constraint-Guided Structure–Semantic Aware Approach to Automated Microservice Decomposition

    by Huitian Xue, Kairui Zhang, Chenxi Zhang, Zheng Li, Chuan Luo, Yilong Yang, Tianyu Wo, Chunming Hu, Yanliang Li, Yang Zhou, et al.

    Microservice architecture is a pivotal paradigm for refactoring monolithic systems to improve maintainability and evolvability. However, automated, explainable decomposition remains a difficult task, especially when balancing structural soundness with semantic consistency in complex legacy systems. We present MicroWeaver, an automated microservice decomposition approach that reconciles both structural and semantic characteristics. MicroWeaver combines static program analysis and dynamic tracing at runtime to construct a high-fidelity, class-level dependency model, and learns numerical embeddings that capture both the structural characteristics and semantic properties embodied in these dependencies. We introduce multiple constraints for representing core design principles (e.g., high cohesion, low coupling, etc.) and formulate the decomposition as a multi-objective optimization problem. MicroWeaver uses an LLM-agent-based optimization strategy to automatically navigate the solver towards a Pareto-optimal region that balances structural dependencies, semantic coherence and inter-service communication cost. We conduct comprehensive experiments on five real-world systems. Results show that MicroWeaver overcomes key limitations of clustering-based methods that ignore semantic context and LLM-based approaches that lack robust structural constraints, and thus attains competitive structural and semantic scores. MicroWeaver is used as a production-ready architectural refactoring framework in industrial settings. Its robust, multidimensional performance and high degree of interpretability furnish practitioners with actionable and comprehensive insights, thereby facilitating more informed and systematic refactoring processes.

  • Open Access

    Enhancing Trace-Based Root Cause Analysis for Microservice Systems via Code Change Understanding

    by Min Zhang, Chenxi Zhang, Senyu Xie, Shihong Chen, Lei Wu, Xin Peng

    Microservice architecture has become the dominant design pattern for modern web applications. However, the dynamic structure, complex inter-service invocations, and continuous updates of microservices make root cause analysis (RCA) particularly challenging. Existing RCA methods typically rely on runtime monitoring data such as traces and metrics, and adopt techniques including deep learning, graph analysis, and spectrum analysis. However, most of these methods overlook software changes, even though code and deployment updates are often the underlying causes of production failures. This paper introduces the idea of RCA left-shifting, which shifts part of the diagnostic effort to the development stage by proactively understanding change semantics before failures occur. Based on this insight, we propose DeltaRCA, a trace-based RCA approach that integrates large language model (LLM)-driven change impact analysis with spectrum-based root cause localization. DeltaRCA uses an LLM agent to identify semantically affected operations from code changes. This information is incorporated into a heterogeneous graph to guide the weight propagation process in spectrum-based fault localization. We evaluate DeltaRCA on two microservice benchmarks with 200 injected fault cases. The results show that DeltaRCA outperforms state-of-the-art methods, achieving 63% Top-1 and 79% Top-3 accuracy on average. Furthermore, ablation analysis demonstrates that incorporating change understanding significantly improves localization precision.

  • Open Access

    WERCA: Workflow-guided and Evidence-constrained Root Cause Analysis for DevOps Systems

    by Yi Zhang, Yonghang Wu, Xin Ma, Xinhang Yin, Bing Han, Yijian Zheng, Chenxi Zhang, Di Cui

  • Open Access

    TraceLLM: Evaluating and Exploring Large Language Models on Trace Analysis in Microservice-based Web Applications

    by Tong Zhou, Xin Peng, Jie Zhang, Chaofeng Sha, Chenxi Zhang, Zicheng Yuan, Senyu Xie

  • Open Access

    Automated assessment of the relationship between microservice architectures and performance

    by Alberto Avritzer, Andrea Janes, Helena Rodrigues, Yuanfang Cai, Teiji Schoyen, Ernst Pisch, Catia Trubiani, Andre B. Bondi, Daniel Sadoc Menasché, Chenxi Zhang


  • Open Access

    PromCopilot: Simplifying Prometheus Metric Querying in Cloud Native Online Service Systems via Large Language Models

    by Chenxi Zhang, Bicheng Zhang, Dingyu Yang, Xin Peng, Miao Chen, Senyu Xie, Gang Chen, Wei Bi, Wei Li

    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.


  • Open Access

    Trace-based Multi-Dimensional Root Cause Localization of Performance Issues in Microservice Systems

    by Chenxi Zhang, Zhen Dong, Xin Peng, Bicheng Zhang, Miao Chen

    Modern microservice systems have become increasingly complicated due to the dynamic and complex interactions and runtime environment. It leads to the system vulnerable to performance issues caused by a variety of reasons, such as the runtime environments, communications, coordinations, or implementations of services. Traces record the detailed execution process of a request through the system and have been widely used in performance issues diagnosis in microservice systems. By identifying the execution processes and attribute value combinations that are common in anomalous traces but rare in normal traces, engineers may localize the root cause of a performance issue into a smaller scope. However, due to the complex structure of traces and the large number of attribute combinations, it is challenging to find the root cause from the huge search space. In this paper, we propose TraceContrast, a trace-based multi-dimensional root cause localization approach. TraceContrast uses a sequence representation to describe the complex structure of a trace with attributes of each span. Based on the representation, it combines contrast sequential pattern mining and spectrum analysis to localize multi-dimensional root causes efficiently. Experimental studies on a widely used microservice benchmark show that TraceContrast outperforms existing approaches in both multi-dimensional and instance-dimensional root cause localization with significant accuracy advantages. Moreover, Trace-Contrast is efficient and its efficiency can be further improved by parallel execution.