Coder Social home page Coder Social logo

graphite-anomaly-detector's People

Contributors

mihaibivol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

graphite-anomaly-detector's Issues

Create CLI tool for genereting report

Deliverables

CLI tool that generates a report and saves a csv with needed data
Desired usage
./generate_report hosts [params]

params:
-l=limit: Limit data request count per host to parameter. Default: 500
-p=pattern: Generate reports for metrics that match glob pattern. Default: all
-t=timeout: Timeout bethween requests on the same host. Default: 1 second
-o=filename: Output file
-u: Upload csv to Google Drive with the credentials specified in config.py

TODO:

  • Implement commandline arguments
  • Get all metrics from hosts that match pattern
  • Implement limit per host
  • Retrieve timeseries for host
  • Test with dummy detector class
  • Implement output file
  • Implement upload to Drive

API Caller for Graphite

  • Create executable that calls the API for one target and logs the results
  • Create executable that tests all the Graphite metrics for a given host

Add heuristics to SpikeDetector

Deliverables

A spike detector that yields tuples (timestamp, priority) where priority is a float bethween 0 and 1 meaning the priority of the spike.

TODO

  • Retrieve spikes that are really high but were smoothed
  • Determine a priority for spikes that were smoothed
  • Determine spikes on smoothed series
  • Make sure that no duplicate spikes are found

Develop anomaly detector

  • Create basic detector class
  • Add a score to each anomaly detected
  • Add logging mechanism
  • Add view mechanism
  • Test with null values
  • Create unit tests for data
  • Test with #2

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.