Enhanced alerting and scheduling in Bench-routes
- Mentors
- Harkishen, Aquib Baig
- Organization
- Bench-Routes
The project comprises of three major ideas Renewing configuartion, Revamping the design pattern and adding Scheduler and Writing Querier package & API Integration.
- Renewing configuartion BenchRoutes require API configuration from the user for monitoring the endpoints. The configuration is actually parsed from a file config.yml. We are required to make a new config design and a new parser package that will parse the new config design.
- Revamping the design pattern and adding Scheduler Bench-route monitor API endpoints by launching go-routines for each-endpoints with different workers concurrently. However, there are multiple problems with this system.We need to redesign the architecture of scraping the metrics with a dedicated scheduler for scheduling the go-routines.
- Writing Querier package & API Integration Since the base architecture of BenchRoute will be changed due to the last two ideas, the earlier APIs need to be changed with new APIs according to the client requirements. Also, a new TSDB has been integrated with the new Designs, hence querying data from TSDB requires a new Querier package.