Bench-routes
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
Primary goals
- Monitoring web applications routes at scale.
- Querying the monitored data in an interactive UI that is minimalistic to learn.
- 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:
- Updating the dependencies:
make update
- Executing the application (assuming all dependencies are installed):
make run
- Run UI (assuming all dependencies in
dashboard/v1.1
are installed):make view-v1.1
- Building the application for the current OS:
make build
- Testing Golang code:
make test
- Complete testing include building for all OSs out there:
make test_complete
- Cleaning up the residual files:
make clean
- (optional) Check linting (assuming golangci-lint is installed):
make lint
Postman Usage
- Download Postman and Install it.
- Create a new collection.
To Check Service State
- Add request
- Select method GET
- Copy and Enter below request url
http://localhost:9990/service-state
- Send the request to url.
- This API returns the state of the services (active or passive) in real-time.
To Get Routes Summary
- Add request
- Select method GET
- Copy and Enter below request url
http://localhost:9990/routes-summary
- Send the request to url.
- 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
- Aquib Baig (aquibbaig97@gmail.com)
- Muskan Khedia (muskan.khedia2000@gmail.com)
- Harkishen Singh (harkishensingh909@gmail.com)
Communication
- Instant messaging: bench-routes/community
- Discussions (Recent): https://groups.google.com/forum/#!forum/bench-routes-discussion