Submitted:
30 June 2026
Posted:
01 July 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
1.1. Related Work
1.1.1. Chaos Engineering Frameworks
1.1.2. Synthetic Workload Generation
1.1.3. Anomaly Detection and RCA in Microservices
1.1.4. LLM Agents for Autonomous Diagnostics
2. Materials and Methods
2.1. SynthChaos Pipeline Architecture
2.2. Constraint Specification and LLM Fault Generation
2.3. TimeVAE Workload Profile Sampler
| Profile Type | Base RPS | Peak RPS | Duration | Adversarial Conditioning Weight | Profile Type |
|---|---|---|---|---|---|
| Steady-state | 200 | 200 | 600 s | 0.0 (none) | Steady-state |
| Spike | 100 | 2,000 (20×) | Burst 45 s | 0.2 (partial) | Spike |
| Sawtooth | 50 | 800 | Ramp 300 s | 0.2 (partial) | Sawtooth |
| Adversarial | 600 → ~0 → ramp | 600 | 90 s burst | 1.0 (fault-conditioned) | Adversarial |
2.4. Testbed: Hardware, Software, and Topology
2.5. Experimental Design
2.5.1. Fault Injection Parameters
| Fault Category | LitmusChaos Experiment | Parameters | Duration |
|---|---|---|---|
| CPU Throttle | pod-cpu-hog | CPU cores = 2, utilization = 90% | 120 s |
| Network Partition | pod-network-loss | Packet loss = 100%, egress only | 60 s |
| Pod Eviction | pod-delete | Force = true, interval = 10 s | 3 deletions |
| Memory Pressure | pod-memory-hog | Memory fill = 80% of pod limit | 90 s |
2.5.2. Baseline Conditions
2.6. Evaluation Metrics and Statistical Protocol
3. Results
3.1. Per-Run Data Sample
| Run | Rep | MTTD (s) | Precision | Recall | F1 | RCA | Coverage Bucket |
|---|---|---|---|---|---|---|---|
| 1 | 1 | 36.2 | 0.910 | 0.820 | 0.864 | Yes | cpu/high/adv |
| 2 | 1 | 39.8 | 0.890 | 0.790 | 0.837 | Yes | cpu/high/adv |
| 3 | 1 | 35.1 | 0.920 | 0.840 | 0.879 | Yes | cpu/med/adv |
| 4 | 1 | 41.2 | 0.870 | 0.770 | 0.817 | No | cpu/high/adv |
| 5 | 1 | 37.5 | 0.900 | 0.810 | 0.852 | Yes | cpu/high/spike |
| 6 | 2 | 38.9 | 0.880 | 0.800 | 0.839 | Yes | cpu/high/adv |
| 7 | 2 | 36.7 | 0.910 | 0.830 | 0.868 | Yes | cpu/med/sawtooth |
| 8 | 2 | 40.1 | 0.890 | 0.780 | 0.832 | Yes | cpu/high/adv |
| 9 | 2 | 37.3 | 0.900 | 0.820 | 0.857 | Yes | cpu/high/steady |
| 10 | 2 | 42.6 | 0.860 | 0.760 | 0.807 | No | cpu/high/adv |
| 11 | 3 | 35.8 | 0.920 | 0.850 | 0.884 | Yes | cpu/med/adv |
| 12 | 3 | 38.4 | 0.890 | 0.800 | 0.843 | Yes | cpu/high/adv |
| 13 | 3 | 36.9 | 0.910 | 0.830 | 0.868 | Yes | cpu/high/spike |
| 14 | 3 | 40.7 | 0.880 | 0.790 | 0.832 | Yes | cpu/low/adv |
| 15 | 3 | 37.1 | 0.900 | 0.810 | 0.852 | No | cpu/high/adv |
| 16 | 4 | 39.3 | 0.890 | 0.800 | 0.843 | Yes | cpu/high/sawtooth |
| 17 | 4 | 36.4 | 0.910 | 0.840 | 0.874 | Yes | cpu/high/adv |
| 18 | 4 | 38.8 | 0.900 | 0.820 | 0.857 | Yes | cpu/med/adv |
| 19 | 4 | 41.5 | 0.870 | 0.770 | 0.817 | No | cpu/high/spike |
| 20 | 4 | 37.9 | 0.910 | 0.830 | 0.868 | Yes | cpu/high/adv |
| Cell mean (n=60) | — | 38.5 ± 2.1 | 0.898 ± 0.018 | 0.808 ± 0.026 | 0.851 ± 0.021 | 80.0% | — |
3.2. Coverage Entropy
| Condition | Mean H (bits) | SD | 95% CI | Δ vs. HC | U | p (Bonferroni) | Cliff's δ | Effect |
|---|---|---|---|---|---|---|---|---|
| Handcrafted | 3.21 | 0.04 | [3.17, 3.25] | — | — | — | — | — |
| Random sampling | 4.18 | 0.12 | [4.07, 4.29] | +30.2% | 23 | <0.001 | 0.84 | Large |
| Unconstrained LLM | 3.89 | 0.31 | [3.60, 4.18] | +21.2% | 142 | 0.006 | 0.52 | Large |
| SynthChaos | 3.96 | 0.09 | [3.87, 4.05] | +23.4% | 4,812 | <0.001 | 0.71 | Large |
3.3. Mean Time to Detect
| Fault Category | Handcrafted | Random | Unconstrained LLM | SynthChaos | 95% CI (SC) | p vs. HC | Cliff's δ |
|---|---|---|---|---|---|---|---|
| CPU Throttle | 47.3 ± 8.1 s | 44.6 ± 9.4 s | 51.2 ± 14.7 s | 38.9 ± 6.2 s | [37.6, 40.2] | <0.001 | 0.63 |
| Network Partition | 23.1 ± 4.3 s | 22.8 ± 5.1 s | 28.4 ± 9.8 s | 19.6 ± 3.8 s | [18.8, 20.4] | <0.001 | 0.71 |
| Pod Eviction | 12.4 ± 2.9 s | 12.1 ± 3.2 s | 14.7 ± 6.1 s | 10.8 ± 2.4 s | [10.3, 11.3] | 0.002 | 0.48 |
| Memory Pressure | 61.7 ± 11.2 s | 58.3 ± 12.6 s | 67.9 ± 19.3 s | 50.1 ± 8.7 s | [48.2, 52.0] | <0.001 | 0.74 |
| Overall mean | 36.1 ± 6.6 s | 34.5 ± 7.6 s | 40.6 ± 12.5 s | 29.9 ± 5.3 s | [29.1, 30.7] | <0.001 | 0.68 |

3.4. Anomaly Detection Precision, Recall, and F1
| Fault Category | Handcrafted | Random | Unconstrained LLM | SynthChaos | 95% CI (SC) | p vs. HC | Cliff's δ | |
|---|---|---|---|---|---|---|---|---|
| Handcrafted | 0.847 | [0.831, 0.863] | 0.731 | [0.712, 0.750] | 0.785 | [0.769, 0.801] | — | — |
| Random | 0.801 | [0.783, 0.819] | 0.762 | [0.744, 0.780] | 0.781 | [0.764, 0.798] | 0.614 n.s. | 0.09 |
| Unconstrained LLM | 0.778 | [0.759, 0.797] | 0.694 | [0.673, 0.715] | 0.734 | [0.715, 0.753] | <0.001 | −0.47 |
| SynthChaos | 0.871 | [0.856, 0.886] | 0.803 | [0.786, 0.820] | 0.836 | [0.821, 0.851] | 0.003 | 0.42 |
| Fault Category | Precision | Recall | F1 | Δ F1 vs. HC |
|---|---|---|---|---|
| CPU Throttle | 0.884 ± 0.031 | 0.812 ± 0.044 | 0.847 ± 0.036 | +0.063 |
| Network Partition | 0.901 ± 0.027 | 0.843 ± 0.038 | 0.871 ± 0.031 | +0.058 |
| Pod Eviction | 0.823 ± 0.041 | 0.751 ± 0.052 | 0.785 ± 0.045 | +0.037 |
| Memory Pressure | 0.876 ± 0.034 | 0.806 ± 0.047 | 0.840 ± 0.039 | +0.071 |
| Micro-average | 0.871 | 0.803 | 0.836 | +0.051 |
3.5. Multi-Modal Observability Contribution
| Modality | Macro F1 | 95% CI | Δ vs. Trace-only | p vs. Trace-only | Cliff's δ |
|---|---|---|---|---|---|
| Trace structure only | 0.412 | [0.391, 0.433] | — | — | — |
| Logs only | 0.694 | [0.675, 0.713] | +68.4% | <0.001 | 0.87 |
| Metrics only | 0.831 | [0.814, 0.848] | +101.7% | <0.001 | 0.93 |
| Traces + Logs | 0.698 | [0.679, 0.717] | +69.4% | <0.001 | 0.87 |
| Traces + Metrics | 0.833 | [0.817, 0.849] | +102.2% | <0.001 | 0.93 |
| Logs + Metrics | 0.836 | [0.821, 0.851] | +102.9% | <0.001 | 0.94 |
| Traces + Logs + Metrics | 0.841 | [0.826, 0.856] | +104.1% | <0.001 | 0.94 |

3.6. Root Cause Analysis Accuracy
| Predicted → | productcatalog | recommendation | payment | Other/None | Recall |
|---|---|---|---|---|---|
| True: productcatalog | 57 | 4 | 2 | 17 | 71.3% |
| True: recommendation | 3 | 53 | 5 | 19 | 66.3% |
| True: payment | 2 | 6 | 49 | 23 | 61.3% |
| Precision | 91.9% | 84.1% | 87.5% | — | Top-1 Accuracy: 67.3% |
| Fault Category | Handcrafted (BARO) | Unconstrained LLM | SynthChaos (BARO) | Δ SC vs. HC | p-value |
|---|---|---|---|---|---|
| CPU Throttle | 74.2% | 38.3% | 72.5% | −1.7% | 0.43 n.s. |
| Network Partition | 81.7% | 41.7% | 78.3% | −3.4% | 0.31 n.s. |
| Pod Eviction | 68.3% | 28.3% | 65.0% | −3.3% | 0.38 n.s. |
| Memory Pressure | 55.8% | 33.3% | 53.3% | −2.5% | 0.52 n.s. |
| Overall | 70.0% | 35.5% | 67.3% | −2.7% | 0.11 n.s. |
3.7. Scenario Generation Validity Rates
| Condition | Generated | Syntactically Valid | Semantically Valid * | Constraint-Compliant | Usable | Overhead |
|---|---|---|---|---|---|---|
| Handcrafted | 240 | 240 (100%) | 240 (100%) | 240 (100%) | 240 (100%) | 0% |
| Random | 294 | 251 (85.4%) | 251 (100%) | 240 (95.6%) | 240 (81.6%) | 22.5% |
| Unconstrained LLM | 278 | 245 (88.1%) | 219 (89.4%) | 204 (93.2%) | 204 (73.4%) | 15.8% |
| SynthChaos | 246 | 246 (100%) | 244 (99.2%) | 242 (98.4%) | 240 (97.6%) | 2.5% |
4. Discussion
4.1. Constraint Mechanisms Are the Essential Contribution
4.2. The Detection–RCA Coupling Vulnerability
4.3. Scalability and Cost Projections
4.4. Hallucination Risk in Safety-Critical Deployments

4.5. Limitations
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| AI | Artificial Intelligence |
| BARO | Bayesian Online Change Point Detection for RCA |
| BOCPD | Bayesian Online Change Point Detection |
| CFG | Context-Free Grammar |
| CNCF | Cloud Native Computing Foundation |
| CoF | Chain-of-Fault (reasoning prompting) |
| LLM | Large Language Model |
| MTTD | Mean Time to Detect |
| RCA | Root Cause Analysis |
| RPS | Requests Per Second |
| SRE | Site Reliability Engineer |
| TCN | Temporal Convolutional Network |
| VAE | Variational Autoencoder |
References
- Hochstein, L. Chaos Engineering: Why Breaking Things Should Be Practiced. IEEE Softw. 2016, 33, 35–39. [Google Scholar] [CrossRef]
- Basiri, A.; Behnam, N.; de Rooij, R.; Hochstein, L.; Kosewski, L.; Reynolds, J.; Rosenthal, C. Chaos Engineering. IEEE Softw. 2016, 33, 35–41. [Google Scholar] [CrossRef]
- LitmusChaos Contributors. LitmusChaos: Cloud-Native Chaos Engineering Framework. CNCF Incubating Project, 2024. Available online: https://litmuschaos.io (accessed on 29 June 2026).
- Gremlin, Inc. Gremlin Enterprise Chaos Engineering Platform, 2024. Available online: https://www.gremlin.com (accessed on 29 June 2026).
- Luo, Z.; et al. ChaosEater: LLM-Automated Chaos Engineering for Kubernetes Systems. arXiv 2025, arXiv:2501.11107. [Google Scholar] [CrossRef]
- Luo, Z.; et al. ChaosEater: Extended Evaluation. arXiv 2025, arXiv:2511.07865. [Google Scholar] [CrossRef]
- Huang, L.; et al. A Survey on Hallucination in Large Language Models. arXiv 2023, arXiv:2311.05232. [Google Scholar] [CrossRef]
- Zhang, Y.; et al. Siren's Song in the AI Ocean: A Survey on Hallucination in LLMs. arXiv 2023, arXiv:2309.01219. [Google Scholar] [CrossRef]
- Wang, H.; et al. Flow-of-Action: SOP-Constrained LLM Agents for Autonomous RCA in Microservices. arXiv 2025, arXiv:2502.08224. [Google Scholar] [CrossRef]
- Anonymous. Multi-Modal Anomaly Detection in Microservice Systems: Modality Ablation. arXiv 2026, arXiv:2605.24283. [Google Scholar] [CrossRef]
- Anonymous. BARO: Bayesian Online Change Point Detection for Microservice RCA. arXiv 2024, arXiv:2405.09330. [Google Scholar] [CrossRef]
- Anonymous. CHESS: Chaos Engineering for Self-adaptive Systems. arXiv 2023, arXiv:2303.07283. [Google Scholar] [CrossRef]
- Anonymous. OXN: Observability-Configurable Fault Injection for Microservices. arXiv 2024, arXiv:2407.09644. [Google Scholar] [CrossRef]
- Leland, W.E.; Taqqu, M.S.; Willinger, W.; Wilson, D.V. On the Self-Similar Nature of Ethernet Traffic. IEEE/ACM Trans. Netw. 1994, 2, 1–15. [Google Scholar] [CrossRef]
- Desai, A.; Freeman, C.; Wang, Z.; Beaver, I. TimeVAE: A Variational Auto-Encoder for Multivariate Time Series Generation. arXiv 2021, arXiv:1907.04155. [Google Scholar] [CrossRef]
- Tashiro, Y.; et al. CSDI: Conditional Score-based Diffusion Models for Probabilistic Time Series Imputation. NeurIPS 2021, 24804–24816. [Google Scholar] [CrossRef]
- Anonymous. LLM-Based Synthetic Microservice Call Graph Trace Generation. arXiv 2025, arXiv:2502.17439. [Google Scholar] [CrossRef]
- Anonymous. Anomaly Detection and Root Cause Analysis in Microservices: A Survey. arXiv 2026, arXiv:2606.09942. [Google Scholar] [CrossRef]
- Wei, J.; et al. Chain-of-Thought Prompting Elicits Reasoning in LLMs. NeurIPS 2022, 24824–24837. [Google Scholar] [CrossRef]
- Vijayakumar, A.K.; et al. Diverse Beam Search. arXiv 2016, arXiv:1610.02424. [Google Scholar] [CrossRef]
- Romano, J.; et al. Appropriate Statistics for Ordinal Level Data. In Proceedings of the Annual Meeting of the Florida AIR, Cocoa Beach, FL, USA, 2006. [Google Scholar]


| Parameter | Value | Notes |
|---|---|---|
| Base model (primary) | Claude Sonnet 4.6 | All 240-run primary evaluation |
| Base model (ablation) | GPT-4-Turbo (2024-04) | Comparison condition only |
| Temperature | 0.4 | Below default to reduce variance |
| Top-p | 0.92 | Nucleus sampling |
| Max output tokens | 2,048 | Sufficient for single ChaosExperiment YAML |
| Grammar CFG | LitmusChaos YAML CFG v3.10 | 847 production rules |
| CoF-reasoning turns | 1 pre-manifest pass | ~300 tokens average |
| Max regeneration attempts | 3 | Before fallback to random sampling |
| Mean tokens / scenario | 1,247 ± 183 | Measured across primary evaluation |
| Mean cost / scenario | USD 0.0031 ± 0.0008 | 2026-Q2 API pricing |
| Benchmark | Traces | Series Length | Scrape Rate | Fault-Labeled | Normal | Split (train/val/test) |
|---|---|---|---|---|---|---|
| Online Boutique v0.9.1 | 5,200 | 600 s @ 1 Hz | 15 s | 1,820 (35%) | 3,380 (65%) | 4,160/520/520 |
| SockShop | 4,800 | 600 s @ 1 Hz | 15 s | 1,680 (35%) | 3,120 (65%) | 3,840/480/480 |
| TrainTicket | 4,000 | 600 s @ 1 Hz | 15 s | 1,400 (35%) | 2,600 (65%) | 3,200/400/400 |
| Total | 14,000 | — | — | 4,900 (35%) | 9,100 (65%) | 11,200/1,400/1,400 |
| Online Boutique v0.9.1 | 5,200 | 600 s @ 1 Hz | 15 s | 1,820 (35%) | 3,380 (65%) | 4,160/520/520 |
| Hyperparameter | Value |
|---|---|
| Architecture | Temporal convolutional encoder/decoder (TCN) |
| Latent dimension | 32 |
| Encoder | 4 × TCN block (128 filters, kernel 3, dilations 1/2/4/8) |
| Decoder | 4 × TCN block (128 filters, kernel 3, dilations 8/4/2/1) |
| Batch size | 64 |
| Optimizer | AdamW (lr = 1 × 10⁻³, weight decay = 1 × 10⁻⁴) |
| LR schedule | Cosine annealing, T_max = 100 epochs |
| KL annealing | Linear warm-up 0 → 1.0 over epochs 1–20 |
| Training epochs | 120 (early-stop patience = 15 on val ELBO) |
| Final val ELBO | −0.412 ± 0.008 (mean ± SD, 5 seeds) |
| Final val reconstruction MSE | 0.0073 ± 0.0004 |
| Training hardware | NVIDIA A100 40 GB; 4 h 17 min |
| Component | Specification |
|---|---|
| Cluster | 6-node Kubernetes v1.30.2 (3 control plane, 3 worker) |
| Node CPU | Intel Xeon Gold 6338 — 8 vCPU allocated |
| Node RAM | 32 GB DDR4 |
| Node storage | 500 GB NVMe SSD |
| Container runtime | containerd 1.7.18 |
| Service mesh | Istio 1.21.3 (ambient mesh) |
| Metrics | Prometheus 2.52.0 (15 s scrape interval) |
| Logging | Loki 3.0.0 |
| Tracing | Jaeger 1.57.0 (OTLP receiver) |
| Visualization | Kiali 1.86.0 |
| Chaos engine | LitmusChaos 3.10.0 |
| Application | Online Boutique v0.9.1 (12 services, 47 pods steady state) |
| Load generator | Locust 2.26.0 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).