export const columns = [
  {
    dataIndex: 'id',
    title: 'ID',
    width: 80,
    slotName: 'id',
  },
  {
    dataIndex: 'unique_id',
    title: '唯一标识',
    width: 150,
  },
  {
    dataIndex: 'name',
    title: '名称',
    width: 150,
  },
  {
    dataIndex: 'database',
    title: '数据库',
    width: 120,
  },
  {
    dataIndex: 'version',
    title: '版本',
    width: 150,
  },
  {
    dataIndex: 'location',
    title: '位置信息',
    width: 150,
  },
  {
    dataIndex: 'tags',
    title: '标签',
    width: 120,
  },
  {
    dataIndex: 'ip',
    title: 'IP地址',
    width: 150,
  },
  {
    dataIndex: 'port',
    title: '端口',
    width: 100,
  },
  {
    dataIndex: 'sys_indicator',
    title: '系统指标',
    width: 200,
    slotName: 'sys_indicator',
  },
  {
    dataIndex: 'qps',
    title: '数据库指标 QPS',
    width: 180,
    slotName: 'qps',
  },
  {
    dataIndex: 'conn',
    title: '数据库指标 Conn',
    width: 150,
    slotName: 'conn',
  },
  {
    dataIndex: 'status',
    title: '状态',
    width: 100,
    slotName: 'status',
  },
  {
    dataIndex: 'actions',
    title: '操作',
    width: 180,
    fixed: 'right' as const,
    slotName: 'actions',
  },
]
