-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add uptime stats of the portal itself to the Dashboard #214
Comments
Not trivial. We need to check whether Uptime Kuma already monitors the AP. If not, we need to figure out which component to perform health checks on - backend? frontend? both combined? |
Feasibility analysisCurrently, there is no feasible way to display the Portal uptime consistently and correctly in the portal itself. ProblemThe portal cannot fetch the online status from Uptime Kuma when the portal itself is offline. Thus, it cannot save the data and it cannot calculate the uptime. Uptime Kuma unfortunately does not provide any historical data to its external API, so this is not an option either. Possible solution 1 (not recommended)Create a completely new service that is deployed independently. This service would take over the portal's current uptime calculation methods and provide historical data via an API. The portal could just fetch the ready-to-display data and display it on the Dashboard. Possible solution 2Instead of Uptime Kuma, a better service like Prometheus could be used for uptime monitoring, that would provide historical data to the portal. This would enable the portal to just display the data instead of needing to calculate component uptime by itself. This solves the issue with the portal needing to monitor its own uptime. Possible solution 3 (recommended)Disregard this idea as it requires too much work for close to zero benefit. SummaryRegardless of the approach chosen, completion of this task is dependent on the operator providing us with solid historical uptime data. A component cannot monitor itself. |
Planned for implementation for milestone "AP White Label - Product Iteration 2". |
Might this help? https://github.com/MedAziz11/Uptime-Kuma-Web-API |
Unfortunately we do not control the external Uptime Kuma instance that is hosted by Orbiter. I also don't think we intend to use this service in the future on our sides and will most probably adjust the AP to be compatible with more widespread and potent Uptime monitoring services |
Okay, let's follow best practice approaches. What do you think about: |
@kamilczaja aligned with @SebastianOpriel , @yylian that we will not tackle it in Q4/2024. |
As Uptime Kuma is used as a separate service, the dashboard shall show its own historic uptime. It shall also be added to the CSV Report.
The text was updated successfully, but these errors were encountered: