export const columns = [
  {
    dataIndex: 'id',
    title: 'ID',
    width: 80,
    slotName: 'id',
  },
  {
    dataIndex: 'name',
    title: '名称',
    width: 150,
  },
  {
    dataIndex: 'service_identity',
    title: '服务标识',
    width: 180,
  },
  {
    dataIndex: 'type',
    title: '类型',
    width: 120,
  },
  {
    dataIndex: 'server_identity',
    title: '服务器标识',
    width: 150,
  },
  {
    dataIndex: 'enabled',
    title: '启用状态',
    width: 100,
    slotName: 'enabled',
  },
  {
    dataIndex: 'collect_method',
    title: '采集方式',
    width: 100,
    slotName: 'collect_method',
  },
  {
    dataIndex: 'collect_on',
    title: '数据采集',
    width: 100,
    slotName: 'data_collection',
  },
  {
    dataIndex: 'collect_interval',
    title: '采集间隔(秒)',
    width: 120,
  },
  {
    dataIndex: 'status',
    title: '运行状态',
    width: 100,
    slotName: 'status',
  },
  {
    dataIndex: 'response_time',
    title: '响应时间(ms)',
    width: 120,
  },
  {
    dataIndex: 'last_check_time',
    title: '最后检查时间',
    width: 180,
    slotName: 'last_check_time',
  },
  {
    dataIndex: 'continuous_errors',
    title: '连续错误次数',
    width: 120,
  },
  {
    dataIndex: 'actions',
    title: '操作',
    width: 200,
    fixed: 'right' as const,
    slotName: 'actions',
  },
]
