-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Feat: Use UptimeCalculator
for PingChart
#4264
Feat: Use UptimeCalculator
for PingChart
#4264
Conversation
Realized the Ideally we'd have a |
a64a473
to
0fa825d
Compare
3b4cdf2
to
abb0b83
Compare
abb0b83
to
f1eabbe
Compare
Rebased on master, did a quick test and seems to work okay. Still have a couple of issues:
|
@louislam have you thought about how to store past maintenance information? I'm leaning towards adding a new column in the stats tables, so that it's indexable. However, if we think about having many other values to keep track of in the future, it may be better to have an "extras" column, then json encode the values. |
Yes, I think it is a good idea to have a column for extra stats. |
4cba539
to
a59d5fd
Compare
Maintenance should now also be shown. Branch will be rebased again once #4406 is merged. |
Fix: Do not aggregate too few datapoints
bb70830
to
7688a04
Compare
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my point of view, this is mergable. (tested and this works as intended)
@louislam would you like to review this too?
I guess that is a no on an additional review. |
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:
Description
Depends on #4267
Depends on #4406
Resolves #2251 as the jitter is now "printed"
Update PingChart to use data from the new
UptimeCalculator
.heartbeatList
, and instead store the received data in a separate data structure.stat_minutely
tables seems wasteful.Type of change
Please delete any options that are not relevant.
Checklist
Screenshots (if any)