Skip to content

sre-take-home-exercise-python Assessment - Rahul Sanjay Panchal #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

RahulSP-4601
Copy link

  1. Implemented a Python-based endpoint availability monitor as part of the Site Reliability Engineering assessment.

  2. The script periodically checks the health of HTTP endpoints and calculates cumulative availability by domain.

  3. Added functionality to:

  • Handle YAML configuration for endpoints.
  • Check response status (200-299) and response time (≤500ms) for availability.
  • Ignore port numbers when calculating domain availability.
  1. Implemented proper error handling for failed requests.

  2. Updated .gitignore to exclude the venv/ directory and cleaned up previous commits.

  3. Enhanced the code to report availability every 15 seconds and print domain-wise availability percentages.

  4. Created a comprehensive README.md with setup instructions, features, and usage details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant