mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-22 18:06:35 +00:00
* feat: add dynamic table based on query * feat: add the list view for the traces explorer * feat: add the list view for the traces explorer * feat: add the list view for the traces explorer * feat: add the table view for the traces explorer * feat: add the table view for the traces explorer * feat: add the trace view for the traces explorer * feat: update the traces view tab for the traces explorer page * feat: update the traces view --------- Co-authored-by: Yevhen Shevchenko <y.shevchenko@seedium.io> Co-authored-by: Nazarenko19 <danil.nazarenko2000@gmail.com> Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
26 lines
665 B
TypeScript
26 lines
665 B
TypeScript
import { TabsProps } from 'antd';
|
|
import { PANEL_TYPES } from 'constants/queryBuilder';
|
|
import TimeSeriesView from 'container/TimeSeriesView';
|
|
import TracesView from 'container/TracesExplorer/TracesView';
|
|
import { DataSource } from 'types/common/queryBuilder';
|
|
|
|
interface GetTabsItemsProps {
|
|
isListViewDisabled: boolean;
|
|
}
|
|
|
|
export const getTabsItems = ({
|
|
isListViewDisabled,
|
|
}: GetTabsItemsProps): TabsProps['items'] => [
|
|
{
|
|
label: 'Traces',
|
|
key: PANEL_TYPES.TRACE,
|
|
children: <TracesView />,
|
|
disabled: isListViewDisabled,
|
|
},
|
|
{
|
|
label: 'Time Series',
|
|
key: PANEL_TYPES.TIME_SERIES,
|
|
children: <TimeSeriesView dataSource={DataSource.TRACES} />,
|
|
},
|
|
];
|