Giter Club home page Giter Club logo

kordon's Introduction

Kordon | Elasticsearch Metric Notifier

Kordon is simply aimed at having critical metrics capture, which is above your defined thresholds, and send alert(s) to slack channel. These critical metrics are cluster health status, CPU percentages of each node in cluster, JVM memory percentage of each node in cluster, indexing throttle status of each node in cluster for now however they are extensible regarding to your metric requirements. Configurations such as thresholds, slack webhook and so forth are stored in Couchbase as document that is consisting of key-value pair if any couchbase host is non-existing, default configurations will be set and then refreshed in every 3 minutes.

Before running application, please make sure to have your configurations set correctly. Configurations are found in src/configuration/application.ts. Configurations are customizable based on your settings

Getting Started

Step 1: Install NodeJS & NPM

NodeJS & NPM

Step 2: Get project

Clone this repository https://github.com/daidorian09/kordon.git

Step 3: Add global dependencies

npm i -g tsc ts-node tslint nodemon

Step 4: Add local dependencies

npm i -D

Step 5: Run in dev environment

npm run start:dev

Step 6: Check readiness or liveness endpoints

Open browser and go to http://localhost:7001/healthcheck/liveness

Step 7: Build for production

npm run build

Step 8: Run in production environment

npm start

Step 8(Optional): Build Docker image

docker build -t kordon:latest .

Step 9(Optional): Run dockerized version

docker run -p 7001:7001 --name kordon-app kordon:latest

Contributing

Any contributions or feature implementations are nicely welcomed

kordon's People

Contributors

daidorian09 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

fatih-yavuz

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.