This project is a simple web application that calculates the Service Level Objective (SLO) burn rate, error budgets, and downtime allocation based on user inputs. It's built using Svelte and styled with Tailwind CSS.
- Calculate SLO burn rate based on input parameters
- Real-time updates as user changes inputs
- Validation for SLO target percentage
- Responsive design
- Node.js (v14 or later recommended)
- npm (comes with Node.js)
-
Clone the repository:
git clone https://github.com/yourusername/slo-burn-rate-calculator.git cd slo-burn-rate-calculator
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:5173/
(or the port specified in your console output).
- Enter the length of SLO target in days.
- Input the percentage of error budget consumed.
- Specify the long window in hours.
- Set the SLO target percentage.
- The application will automatically calculate and display the burn rate.
- The short window (in minutes) is calculated based on the long window.
- The app will validate if the burn rate threshold is appropriate for your SLO target percentage.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is developed with love by open source enthusiasts. We believe in the power of community-driven development and welcome contributions from developers around the world. Your ideas, bug reports, and pull requests are greatly appreciated!
This project is open source and available under the GPL v3 License.
For more information about this project and other related work, please visit https://hec.works.
If you have any questions or feedback, please open an issue in the GitHub repository.