[PR #5467] [MERGED] feat(metrics): extend history bucket options to include 12h, 24h, and 48h intervals #5889

Closed
opened 2026-11-02 04:04:48 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/5467
Author: @shazzreab
Created: 6/21/2026
Status: ✅ Merged
Merged: 6/21/2026
Merged by: @MHSanaei

Base: main ← Head: main


📝 Commits (1)

  • b8fab6c feat(metrics): extend history bucket options to include 12h, 24h, and 48h intervals

📊 Changes

3 files changed (+16 additions, -11 deletions)

View changed files

📝 frontend/src/pages/index/SystemHistoryModal.tsx (+3 -0)
📝 internal/web/service/metric_history.go (+4 -5)
📝 internal/web/service/server.go (+9 -6)

📄 Description

Summary

Extend the system history chart range up to 48 hours by adding 12h, 24h, and 48h options.

Why

Closes #5463

Type of change

  • Bug fix
  • New feature
  • Refactoring (no behavior change)
  • Documentation
  • Tests only
  • Build / CI / tooling
  • Other

Areas affected

  • Frontend (UI / panel pages)
  • Backend (API endpoints, login, settings)
  • Xray config generation
  • Subscription (share links / Clash / JSON)
  • Statistics / traffic counters
  • Database / migrations
  • Install / upgrade script
  • Docker image
  • Multi-node (sub-nodes)
  • Telegram bot

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/5467 **Author:** [@shazzreab](https://github.com/shazzreab) **Created:** 6/21/2026 **Status:** ✅ Merged **Merged:** 6/21/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`b8fab6c`](https://github.com/MHSanaei/3x-ui/commit/b8fab6c1a8900297a5cd8e2c6c6a443db610f794) feat(metrics): extend history bucket options to include 12h, 24h, and 48h intervals ### 📊 Changes **3 files changed** (+16 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/pages/index/SystemHistoryModal.tsx` (+3 -0) 📝 `internal/web/service/metric_history.go` (+4 -5) 📝 `internal/web/service/server.go` (+9 -6) </details> ### 📄 Description ## Summary Extend the system history chart range up to 48 hours by adding 12h, 24h, and 48h options. ## Why Closes #5463 ## Type of change - [ ] Bug fix - [x] New feature - [ ] Refactoring (no behavior change) - [ ] Documentation - [ ] Tests only - [ ] Build / CI / tooling - [ ] Other ## Areas affected - [x] Frontend (UI / panel pages) - [x] Backend (API endpoints, login, settings) - [ ] Xray config generation - [ ] Subscription (share links / Clash / JSON) - [x] Statistics / traffic counters - [ ] Database / migrations - [ ] Install / upgrade script - [ ] Docker image - [ ] Multi-node (sub-nodes) - [ ] Telegram bot --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:04:48 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5889
No description provided.