Coder Social home page Coder Social logo

yyukai / overwatch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imdada/overwatch

0.0 1.0 0.0 2.68 MB

Overwatch is a general RPC monitoring system.

License: BSD 3-Clause "New" or "Revised" License

Shell 0.76% Java 3.01% TypeScript 88.00% JavaScript 0.78% CSS 3.39% HTML 4.05%

overwatch's Introduction

Overwatch

See demo here | or here

Overwatch is a general RPC monitoring system for distributed systems, utilizing D3 force layout as main diagram.

Overwatch provides an overview of the current state of the entire system, making it super easy for system administrators to understand the ongoing RPC events and pinpoint the source of failure in the system.

Unlike common monitoring systems, a well-designed graph (with D3 force layout) is used to visualize data.

  • every circle represents a system
  • every line represents a dependency between two systems
  • rpm = requests per minute, fpm = failure per minute
  • circle size indicates rpm of the system
  • line dash density indicates rpm between two systems
  • circle color indicates the health of the system in the last 1 minute
  • two additional ring outside the circle inicates the health of the system in the past 5 minutes and 15 minutes

Installation

Download release version (not available yet...)

Or use install.sh to build from source

Dependencies

  • NodeJS / NPM
  • RDBMS (MySQL is recommended)
  • Redis (Optional)

Getting Started

After proper installation, you have to

  1. modify config files server/app/config.json & web/src/environments/environment.ts

  2. start server: under server run

$ npm start
  1. build & serve web content: under web run

for testing:

$ npm start

then visit localhost:4200

for production:

$ npm run build

then serve static directory web/dist with Nginx (or whatever)


Submiting Statistics

Send individual server stats via Socket.IO client

This is recommended for testing.

Demo: SocketIODemo.java

Send individual server stats via Redis pub/sub

This is recommended for small-scale systems to publish stats.

Demo: RedisDemo.java

Send aggregated server stats via REST

This is the recommended method for large & complex systems to publish aggregated stats.

Demo: rest-demo.sh

Licensing

Please see LICENSE for more info.

Contributing

Please see CONTRIBUTING for more info.

overwatch's People

Contributors

qiaox avatar

Watchers

 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.