feat: Implement uptime monitoring data retention
Ensured data is cleared from uptime_data and ping_data collections based on retention settings. Added separate manual shrink database buttons for uptime and server monitoring retention in the data retention settings panel.
This commit is contained in:
@@ -9,6 +9,7 @@ import UserManagement from "@/components/settings/user-management";
|
||||
import { NotificationSettings } from "@/components/settings/notification-settings";
|
||||
import { AlertsTemplates } from "@/components/settings/alerts-templates";
|
||||
import { AboutSystem } from "@/components/settings/about-system";
|
||||
import DataRetentionSettings from "@/components/settings/data-retention/DataRetentionSettings";
|
||||
|
||||
const Settings = () => {
|
||||
// State for sidebar collapse functionality
|
||||
@@ -58,6 +59,7 @@ const Settings = () => {
|
||||
{activePanel === "users" && <UserManagement />}
|
||||
{activePanel === "notifications" && <NotificationSettings />}
|
||||
{activePanel === "templates" && <AlertsTemplates />}
|
||||
{activePanel === "data-retention" && <DataRetentionSettings />}
|
||||
{activePanel === "about" && <AboutSystem />}
|
||||
</div>
|
||||
</div>
|
||||
@@ -65,4 +67,4 @@ const Settings = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default Settings;
|
||||
export default Settings;
|
||||
Reference in New Issue
Block a user