Move AM discovery page from "Monitoring status" -> "Server status"

Seems to at least make more sense to me like that.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2024-09-09 14:32:27 +02:00
parent d2899000c0
commit 11f344e4d3

View file

@ -109,13 +109,6 @@ const monitoringStatusPages = [
element: <ServiceDiscoveryPage />,
inAgentMode: true,
},
{
title: "Alertmanager discovery",
path: "/discovered-alertmanagers",
icon: <IconBell style={navIconStyle} />,
element: <AlertmanagerDiscoveryPage />,
inAgentMode: false,
},
];
const serverStatusPages = [
@ -147,6 +140,13 @@ const serverStatusPages = [
element: <ConfigPage />,
inAgentMode: true,
},
{
title: "Alertmanager discovery",
path: "/discovered-alertmanagers",
icon: <IconBell style={navIconStyle} />,
element: <AlertmanagerDiscoveryPage />,
inAgentMode: false,
},
];
const allStatusPages = [...monitoringStatusPages, ...serverStatusPages];