export const columns = [
  {
    dataIndex: 'id',
    title: 'ID',
    width: 80,
    slotName: 'id',
  },
  {
    dataIndex: 'unique_id',
    title: '唯一标识',
    width: 150,
  },
  {
    dataIndex: 'name',
    title: '名称',
    width: 150,
  },
  {
    dataIndex: 'middleware',
    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: 'sys_indicator',
    title: '系统指标',
    width: 150,
    slotName: 'cpu',
  },
  {
    dataIndex: 'middleware_indicator',
    title: '中间件指标',
    width: 150,
    slotName: 'middleware_indicator',
  },
  {
    dataIndex: 'status',
    title: '状态',
    width: 100,
    slotName: 'status',
  },
  {
    dataIndex: 'actions',
    title: '操作',
    width: 180,
    fixed: 'right' as const,
    slotName: 'actions',
  },
]
