/bench-routes

Bench-routes is a highly scalable API monitoring and performance analysis tool, that monitors in regular intervals the state of the server.

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Bench-routes

Linux build Mac build Go Report Card Gitter

Modern web applications can have routes ranging from a few to millions in numbers. This makes it tough to discover then condition and state of the such application at any given point. Bench-routes monitors the routes of a web application and helps you know about the current state of each route, along with various related performance metrics.

Dataflow

Screenshot from 2020-03-21 20-09-00

Primary goals

  1. Monitoring web applications routes at scale.
  2. Querying the monitored data in an interactive UI that is minimalistic to learn.
  3. Reporting in case of any abnormalities.

For installation instructions, please head-over to INSTALL.md.

Use of MakeFile in bench-routes

We use make for building and executing the program.

Follow the commands to make the development process easier:

  1. Updating the dependencies: make update
  2. Executing the application (assuming all dependencies are installed): make run
  3. Run UI (assuming all dependencies in dashboard/v1.1 are installed): make view-v1.1
  4. Building the application for the current OS: make build
  5. Testing Golang code: make test
  6. Complete testing include building for all OSs out there: make test_complete
  7. Cleaning up the residual files: make clean
  8. (optional) Check linting (assuming golangci-lint is installed): make lint

Postman Usage

  1. Download Postman and Install it.
  2. Create a new collection.

To Check Service State

  1. Add request
  2. Select method GET
  3. Copy and Enter below request url
    http://localhost:9990/service-state
  4. Send the request to url.
  5. This API returns the state of the services (active or passive) in real-time.

To Get Routes Summary

  1. Add request
  2. Select method GET
  3. Copy and Enter below request url
    http://localhost:9990/routes-summary
  4. Send the request to url.
  5. This API returns the list of all URLs/Routes that are being monitored for testing using the application.

For more information, regarding the APIs. Visit Bench-Routes.

👬 Active maintainers

Communication

Supported by

JetBrains