Skip to content

The source code for "Unsupervised Anomaly Detection on Microservice Traces through Graph VAE" in WWW2023.

Notifications You must be signed in to change notification settings

NetManAIOps/TraceVAE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TraceVAE

This is the source code for "Unsupervised Anomaly Detection on Microservice Traces through Graph VAE".

Usage

  1. pip3 install -r requirements.txt.
  2. Convert the dataset with python3 -m tracegnn.cli.data_process preprocess -i [input_path] -o [dataset_path]. The sample dataset is under sample_dataset. (Note: This sample dataset only shows data format and usage, and cannot be used to evaluate model performance. Please replace it with your dataset.) sample:
python3 -m tracegnn.cli.data_process preprocess -i sample_dataset -o sample_dataset
  1. Train the model with bash train.sh [dataset_path]:
bash train.sh sample_dataset
  1. Evaluate the model with bash teset.sh [model_path] [dataset_path]. The default model path is under results/train/models/final.pt:
bash test.sh results/train/models/final.pt sample_dataset

About

The source code for "Unsupervised Anomaly Detection on Microservice Traces through Graph VAE" in WWW2023.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published