Skip to content
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

Implement SLA functionality #63

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Implement SLA functionality #63

merged 1 commit into from
Aug 23, 2023

Conversation

OlhaKashyrina
Copy link
Contributor

  • add calculate_sla() function to models.py to calculate component unavailability on monthly basis for 6 months. Formula: ([number of minutes in month] - [number of minutes all outages open])/[number of minutes in month]
  • adjust get_history_by_months() function for reusability
  • implement the component availability view

- add `calculate_sla()` function to `models.py` to calculate component unavailability on monthly basis for 6 months. Formula: `([number of minutes in month] - [number of minutes all outages open])/[number of minutes in month]`
- adjust `get_history_by_months()` function for reusability
- implement the component availability view
@OlhaKashyrina OlhaKashyrina linked an issue Aug 7, 2023 that may be closed by this pull request
@gtema gtema added the gate Gate PR with Zuul label Aug 23, 2023
@otc-zuul
Copy link

otc-zuul bot commented Aug 23, 2023

Build succeeded.
https://zuul.otc-service.com/t/eco/buildset/96cf38d74ee44c699852a8a8b6eb30d4

✔️ otc-tox-docs SUCCESS in 6m 54s
✔️ otc-tox-pep8 SUCCESS in 4m 55s
✔️ stackmon-status-dashboard-upload-image SUCCESS in 3m 12s

@otc-zuul otc-zuul bot merged commit 54c94a6 into main Aug 23, 2023
@otc-zuul otc-zuul bot deleted the ui/sla branch August 23, 2023 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gate Gate PR with Zuul
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement SLA calculation
2 participants