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

[Feature] Adding scheduled latency tests #1689

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

svenvg93
Copy link
Contributor

@svenvg93 svenvg93 commented Sep 2, 2024

📃 Description

Another way to monitor your internet connection, in addition to using speed tests, is by measuring latency. This pull request introduces the ability to measure latency and display the results.

to close: #826

🪵 Changelog

➕ Added

  • Add a RecentLatencyChartWidget to show the results of the test
    • Left Axis show the average ms
    • Right Axis show the percentage of packet loss
  • Add RunScheduledLatencyTests to execute the tests based on the schedule
  • Add ExecuteLatencyTest to do the testing and send the results the database
  • Add the database migration to store the results
  • Add a Settings Page
    • Enable the latency tests
    • Set the ping count
    • Set the cron job
    • Change the view from list (full) or grid (half)
    • Add Targets with an Display name and URL
  • Add Latency page to show the charts for each Display name set in the settings.
  • Add a Description for the targets in the title header.

Todo

📷 Screenshots

Charts:
List view;
image

Grid View;
image

Settings:
image

@svenvg93
Copy link
Contributor Author

svenvg93 commented Sep 29, 2024

@alexjustesen Before I work on the last to do points. Is this how you like to see the latency/uptime monitoring?
Another idea I had was to do pre-defined targets to major CDNs like Cloudflare, AWS, Google, Fastly etc

@Kristoffeh
Copy link
Contributor

@alexjustesen Before I work on the last to do points. Is this how you like to see the latency/uptime monitoring? Another idea I had was to do pre-defined targets to major CDNs like Cloudflare, AWS, Google, Fastly etc

This is impressive, all of these are great changes. Its probably a good idea to have pre-defined targets, but allowing users to remove/customize them themself.

@svenvg93
Copy link
Contributor Author

svenvg93 commented Oct 14, 2024

This is impressive, all of these are great changes. Its probably a good idea to have pre-defined targets, but allowing users to remove/customize them themself.

That might be an option as well yess.

Note to self; find some good anycast endpoints to test against IF going this way.

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.

Display and record scheduled ping results
2 participants