Skip to content

New metrics dashboard#2578

Merged
alexjustesen merged 52 commits into2.xfrom
feat/metrics-dashboard
Feb 4, 2026
Merged

New metrics dashboard#2578
alexjustesen merged 52 commits into2.xfrom
feat/metrics-dashboard

Conversation

@alexjustesen
Copy link
Owner

@alexjustesen alexjustesen commented Dec 18, 2025

📃 Description

This PR implements the new metrics dashboard.

🪵 Changelog

➕ Added

✏️ Changed

  • when a benchmark fails for a KPI the point on the speed and ping charts will have a "ringing" animation

🔧 Fixed

📷 Screenshots

Dark mode Light mode
Screenshot_20-12-2025_121927_localhost Screenshot_20-12-2025_121951_localhost
image

@alexjustesen alexjustesen self-assigned this Dec 18, 2025
@alexjustesen alexjustesen added the feature New feature or request label Dec 18, 2025
@homelab-alpha
Copy link
Contributor

Hi alexjustesen,

I was impatient to see how the new metrics dashboard would look using my dataset, so I converted the production database to SQLite and explored the new metrics dashboard.

Overall, the daily charts look great. The weekly speed chart is starting to feel a bit cluttered, and the monthly speed chart is unfortunately difficult to read at a glance.

I’ve attached screenshots of the daily, weekly, and monthly charts for reference.

screenshots Daily (click to expand)

new_metrics_dashboard_daily_part_1 new_metrics_dashboard_daily_part_2

screenshots Weekly (click to expand)

new_metrics_dashboard_weekly_part_1 new_metrics_dashboard_weekly_part_2

screenshots Monthly (click to expand)

new_metrics_dashboard_monthly_part_1 new_metrics_dashboard_monthly_part_2

I hope this information is helpful. If this causes any inconvenience, please let me know.

@alexjustesen
Copy link
Owner Author

Really helpful, I haven't gotten to testing more than a week yet. I sort of figured that benchmark points would be useless at longer ranges so I'm going to be removing that.

@alexjustesen
Copy link
Owner Author

@homelab-alpha feel free to poke around from the latest commit, few things changed.

  1. Points are now hidden when the date range is > 8 days
  2. Vertical bars are shown when a Result has a status of Failed
  3. Added packet loss chart
  4. Sections are now sortable
  5. DEFAULT_CHART_RANGE config works again

@homelab-alpha
Copy link
Contributor

homelab-alpha commented Dec 22, 2025

Hi @alexjustesen,

Thanks for blinding me with light mode in the middle of the night 😉. You made changes to the dark and light modes, but it seems that the system mode is no longer present. Was this intentional, or was it accidentally not added back?

I have a few points that might be handled differently or made clearer.

  • The calendar option is oké, but I’m not sure if this is the right format. Maybe you could take inspiration from how UniFi implemented this (see screenshots Reference: Calendar view from UniFi).

  • The new packet loss graph looks good. However, when there is a lot of packet loss, the graph becomes somewhat cluttered due to the large number of points (see screenshots Monthly).

  • All graphs display time blocks, but the time blocks are inconsistent across the graphs (see screenshots Weekly). This issue appears in most graphs. I have highlighted the sections in orange.

    Time block weekly dates and times:

    • Dec 15 12:05 AM
    • Dec 16 02:05 AM
    • Dec 17 01:05 AM
    • Dec 17 10:14 AM
    • Dec 18 04:05 AM
    • Dec 19 06:05 AM
    • Dec 20 08:05 AM
    • Dec 21 10:05 AM
  • The message There are failed speed test in this date ranges. In my opinion, this should only be visible when you are logged in as a user or admin, and not on the public dashboard.

Reference: Calendar view from UniFi (click to expand)

example_calendar_option_unifi

Day (Dec 22 - Dec 22) (click to expand)

new_metrics_dashboard_day_dec_22_part_1 new_metrics_dashboard_day_dec_22_part_2

Daily (click to expand)

new_metrics_dashboard_daily_part_1 new_metrics_dashboard_daily_part_2

Weekly (click to expand)

new_metrics_dashboard_weekly_part_1 new_metrics_dashboard_weekly_part_2

Monthly (click to expand)

new_metrics_dashboard_monthly_part_1 new_metrics_dashboard_monthly_part_2


Edit:

  • Added a reference screenshot from the UniFi calendar.
  • Removed the Home Assistant suggestion, as the UniFi suggestion better aligns with the project.

@alexjustesen
Copy link
Owner Author

Thanks for blinding me with light mode in the middle of the night 😉.

Got to watch out for flash bangs, I'm testing a different light/dark mode picker. It was supposed to default to the system but didn't

@pixo2000
Copy link

really looking foreward to seeing the failed speedtests in the graph. will there also be an indicator for the packet loss?

Ty for coding this awesome tool 🔥

@alexjustesen alexjustesen marked this pull request as ready for review February 4, 2026 18:22
@alexjustesen alexjustesen merged commit a68c9e7 into 2.x Feb 4, 2026
1 of 9 checks passed
@alexjustesen alexjustesen deleted the feat/metrics-dashboard branch February 4, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment