51 lines
824 B
TypeScript
Raw Normal View History

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;