Giter VIP home page Giter VIP logo

aiops2021's Introduction

zhuque_platform

zhuque_platform is anomaly detection platform . It is built with [Python][0] using the [Django Web Framework][1].

Installation

Quick start

Install all dependencies:

pip install -r requirements.txt

Run migrations:

python manage.py makemigrations
python manage.py migrate

运行脚本:

1.到根路径执行python manage.py shell, 然后python语法执行scripts下的的脚本
2.python manage.py runserver 0.0.0.0:8080 后台进入 账号密码admin admin123查看数据库表数据

时间序列参数训练: Rule表共有1909条告警规则 1.generate_kpi_rule.py 生成kpi的告警规则 2.generate_performance_rule.py 生成性能指标的告警规则 StatisticMetric表共有1909条时序统计量 1.generate_kpi_statistic.py 根据GeneratorStandardNsigma计算kpi指标的N和sigma 2.generate_performance_statistic.py 根据GeneratorStandardNsigma计算性能指标的N和sigma

风险事件检测模块:

1.参考test_risk_module.py案例,输入是一段时间窗口内的ts、instance、instance_type,输入是这段窗口内的风险事件,其中异常事件检测模型需要加载Rule和StatisticMetric表中的一些统计量

后续安排:

1.日志模板训练,同样生成时序metric,按照上述逻辑存储在Rule和StatisticMetric表中,难点是日志的清洗,以及是否需要人为标记
2.风险事件模块产生的风险事件保存至RiskEvents

aiops2021's People

Contributors

wangzhoufei111 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.