MCPcopy Index your code
hub / github.com/NetManAIOps/TraceRCA

github.com/NetManAIOps/TraceRCA @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
60 symbols 247 edges 12 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

TraceRCA

Practical Root Cause Localization for Microservice Systems via Trace Analysis. IWQoS 2021

Dataset

The study data is public at - OneDrive: https://1drv.ms/u/s!Ao2DxaN2zku_bAUszKmCUiodw94?e=7ThI47 - Tsinghua Cloud https://cloud.tsinghua.edu.cn/d/8371855eddd64a8db23b/ (中国大陆可访问)

Implementation Code

The experiment workflow is controlled via the Makefile. The input and output of each step can be referred to the Makefile

  • run_selecting_features.py: Feature selection
  • run_anomaly_detection_invo.py: Anomaly detection based on the useful features
  • run_localization_association_rule_mining_20210516.py: Root-cause service ocalization
  • prepare_train_file_tmp.py is used to split the dataset into train and test datasets. Note that this step is not included in the Makefile.

Presentation Video

Cite

If the dataset is helpful, please cite the paper.

@inproceedings{li2021practical,
  title={Practical Root Cause Localization for Microservice Systems via Trace Analysis},
  author={Li, Zeyan and Chen, Junjie and Jiao, Rui and Zhao, Nengwen and Wang, Zhijun and Zhang, Shuwei and Wu, Yanjun and Jiang, Long and Yan, Leiqin and Wang, Zikai and others},
  booktitle={IEEE/ACM International Symposium on Quality of Service (IWQoS) 2021},
  year={2021},
  publisher = {{IEEE}}
}

Core symbols most depended-on inside this repo

top_k_recall
called by 4
run_localization_collect.py
traces_containing_pattern
called by 4
run_localization_association_rule_mining_20210516.py
abnormal_traces_containing_pattern
called by 3
run_localization_association_rule_mining_20210516.py
root_cause_intersection
called by 2
run_localization_collect.py
get_rank
called by 2
run_localization_collect.py
solve_PPR
called by 2
run_localization_association_rule_mining_20210516.py
extract_data
called by 2
run_anomaly_detection_trace.py
anomaly_detection
called by 2
run_anomaly_detection_trace.py

Shape

Function 31
Method 16
Route 10
Class 3

Languages

Python100%

Modules by API surface

run_localization_association_rule_mining_20210516.py22 symbols
run_localization_collect.py8 symbols
run_trace_encoding.py5 symbols
run_selecting_features.py5 symbols
run_anomaly_detection_invo.py5 symbols
run_anomaly_detection_trace.py4 symbols
run_dataset_summary.py3 symbols
run_anomaly_detection_prepare_model.py3 symbols
run_invo_encoding.py2 symbols
run_anomaly_detection_collect_result.py2 symbols
prepare_train_file_tmp.py1 symbols

For agents

$ claude mcp add TraceRCA \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact