mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-23 18:36:16 +00:00
35 lines
819 B
TypeScript
35 lines
819 B
TypeScript
|
|
import { Tabs } from 'antd';
|
||
|
|
import AllAlertRules from 'container/ListAlertRules';
|
||
|
|
// import MapAlertChannels from 'container/MapAlertChannels';
|
||
|
|
import TriggeredAlerts from 'container/TriggeredAlerts';
|
||
|
|
import React from 'react';
|
||
|
|
const { TabPane } = Tabs;
|
||
|
|
|
||
|
|
const AllAlertList = (): JSX.Element => {
|
||
|
|
return (
|
||
|
|
<Tabs destroyInactiveTabPane defaultActiveKey="Alert Rules">
|
||
|
|
<TabPane tabKey="Alert Rules" tab="Alert Rules" key="Alert Rules">
|
||
|
|
<AllAlertRules />
|
||
|
|
</TabPane>
|
||
|
|
|
||
|
|
<TabPane
|
||
|
|
tabKey="Triggered Alerts"
|
||
|
|
key="Triggered Alerts"
|
||
|
|
tab="Triggered Alerts"
|
||
|
|
>
|
||
|
|
<TriggeredAlerts />
|
||
|
|
</TabPane>
|
||
|
|
|
||
|
|
{/* <TabPane
|
||
|
|
tabKey="Map Alert Channels"
|
||
|
|
key="Map Alert Channels"
|
||
|
|
tab="Map Alert Channels"
|
||
|
|
>
|
||
|
|
<MapAlertChannels />
|
||
|
|
</TabPane> */}
|
||
|
|
</Tabs>
|
||
|
|
);
|
||
|
|
};
|
||
|
|
|
||
|
|
export default AllAlertList;
|