mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-08 15:52:15 +08:00
初始化3.0.0版本
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import React from 'react';
|
||||
import { MetricType } from '@src/api';
|
||||
import TopicHealthCheck from '@src/components/CardBar/TopicHealthCheck';
|
||||
import DashboardDragChart from '@src/components/DashboardDragChart';
|
||||
import { AppContainer } from 'knowdesign';
|
||||
import DBreadcrumb from 'knowdesign/lib/extend/d-breadcrumb';
|
||||
|
||||
const TopicDashboard = () => {
|
||||
const [global] = AppContainer.useGlobalValue();
|
||||
return (
|
||||
<>
|
||||
<div className="breadcrumb" style={{ marginBottom: '10px' }}>
|
||||
<DBreadcrumb
|
||||
breadcrumbs={[
|
||||
{ label: '多集群管理', aHref: '/' },
|
||||
{ label: global?.clusterInfo?.name, aHref: `/cluster/${global?.clusterInfo?.id}` },
|
||||
{ label: 'Topic', aHref: `` },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<TopicHealthCheck />
|
||||
<DashboardDragChart type={MetricType.Topic} />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default TopicDashboard;
|
||||
Reference in New Issue
Block a user