Giter Site home page Giter Site logo

microirc's Introduction

MicroIRC

MicroIRC: Instance-level Root Cause Localization for Microservice Systems

MicroIRC is an instance-level root cause localization method for microservice systems. The utilization of microservice architecture is gaining popularity in the development of Web applications. However, identifying the root cause of a failure can be challenging due to the complexity of interconnected microservices, long service invocation links, dynamic changes in service states, and the abundance of service deployment nodes. Furthermore, as each microservice may have multiple instances, it can be difficult to identify the instance-level failure promptly and effectively when microservice topologies and failure types change dynamically. To address this issue, we propose MicroIRC (Instance-level Root Cause Localization for Microservices), a novel metrics-based approach that localizes root causes at the instance level while exhibiting robustness to adapt to new types of anomalies. We begin by training a graph neural network to fit different root cause types based on extracted time series features of microservice system metrics. Next, we construct a heterogeneous weighted topology (HWT) of microservice systems and execute a personalized random walk to identify root cause candidates. These candidates and real-time metrics within the anomaly time window are then fed into the original graph neural network, generating a ranked root cause list. Remarkably, it exhibits robustness in scenarios involving multiple instances and new failure types.

Framework

image

Folder Introduction

data

contains dataset C in the main branch and dataset E in the topoChange branch.

model

store MetricSage multi-level parameter settings' models

metric_sage

code of MetricSage GCN

Getting Started

Environment

python 3.10

Clone the Repo

git clone https://github.com/WHU-AISE/MicroIRC.git

TopoChange

The branch topoChange contains the extension of MetricSage for dynamic changes in topology and dataset E.

git checkout topoChange

Install Dependencies

pip install -r requirements.txt

Run

python MicroIRC.py

microirc's People

Contributors

zyh2333 avatar henryzhao avatar

Stargazers

p0tpourri avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.