mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-29 16:14:42 +00:00
51 lines
824 B
TypeScript
51 lines
824 B
TypeScript
import {
|
|
BarChartOutlined,
|
|
AlignLeftOutlined,
|
|
DeploymentUnitOutlined,
|
|
LineChartOutlined,
|
|
SettingOutlined,
|
|
ApiOutlined,
|
|
} from "@ant-design/icons";
|
|
import ROUTES from "constants/routes";
|
|
|
|
const menus: SidebarMenu[] = [
|
|
{
|
|
Icon: BarChartOutlined,
|
|
to: ROUTES.APPLICATION,
|
|
name: "Metrics",
|
|
},
|
|
{
|
|
Icon: AlignLeftOutlined,
|
|
to: ROUTES.TRACES,
|
|
name: "Traces",
|
|
},
|
|
{
|
|
to: ROUTES.SERVICE_MAP,
|
|
name: "Service Map",
|
|
Icon: DeploymentUnitOutlined,
|
|
},
|
|
{
|
|
Icon: LineChartOutlined,
|
|
to: ROUTES.USAGE_EXPLORER,
|
|
name: "Usage Explorer",
|
|
},
|
|
{
|
|
Icon: SettingOutlined,
|
|
to: ROUTES.SETTINGS,
|
|
name: "Settings",
|
|
},
|
|
{
|
|
Icon: ApiOutlined,
|
|
to: ROUTES.INSTRUMENTATION,
|
|
name: "Add instrumentation",
|
|
},
|
|
];
|
|
|
|
interface SidebarMenu {
|
|
to: string;
|
|
name: string;
|
|
Icon: typeof ApiOutlined;
|
|
}
|
|
|
|
export default menus;
|