Giter Club home page Giter Club logo

monika-alert-simulator's Introduction

Monika Alert Simulator

Monika Alert Simulator is a utility tool for Monika, developed to simulate incidents and recovery alerts based on the user-provided thresholds. The tool is designed to help you test and understand how Monika handle different alert scenarios, enhancing your ability to manage and resolve incidents.

Written in NodeJS, the Monika Alert Simulator offers a set of APIs that interact with Monika to trigger specific conditions.

How to Use

  1. Clone the Repository
git clone https://github.com/hyperjumptech/monika-alert-simulator.git
  1. Navigate to the Project Directory
cd monika-alert-simulator
  1. Install Dependencies
npm install
  1. Run the Simulator
npm start
  1. Open http://localhost:8000

API Documentations

After you run the simulator, you can access the Swagger API Documentations by visiting http://localhost:8000/docs

Examples

To test how the API works, there are Monika configuration examples in the examples folder.

  1. Testing the delayed response: examples/monika-sample-1-delay.yml
  2. Testing the incorrect status code: examples/monika-sample-1-status.yml
  3. Testing multiple probes: examples/monika-sample-2.yml
  4. Testing the chaining request feature: examples/monika-sample-3.yml
  5. Testing the incorrect response body: examples/monika-sample-4-error.yml

You can run the configurations above by running monika -c <path_to_monika_configuration

License

Monika Alert Simulator is licensed under MIT.

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.