export const columns = [
  {
    dataIndex: 'id',
    title: 'ID',
    width: 80,
    slotName: 'id',
  },
  {
    dataIndex: 'service_identity',
    title: '服务标识',
    width: 150,
  },
  {
    dataIndex: 'name',
    title: '服务名称',
    width: 150,
  },
  {
    dataIndex: 'type',
    title: '中间件类型',
    width: 120,
  },
  {
    dataIndex: 'server_identity',
    title: '服务器标识',
    width: 150,
  },
  {
    dataIndex: 'enabled',
    title: '启用状态',
    width: 100,
    slotName: 'enabled',
  },
  {
    dataIndex: 'agent_config',
    title: 'Agent配置',
    width: 120,
    slotName: 'agent_config',
  },
  {
    dataIndex: 'collect_on',
    title: '数据采集',
    width: 100,
    slotName: 'data_collection',
  },
  {
    dataIndex: 'status',
    title: '状态',
    width: 100,
    slotName: 'status',
  },
  {
    dataIndex: 'response_time',
    title: '响应时间(ms)',
    width: 120,
  },
  {
    dataIndex: 'uptime',
    title: '运行时长',
    width: 120,
    slotName: 'uptime',
  },
  {
    dataIndex: 'last_check_time',
    title: '最后检查时间',
    width: 180,
    slotName: 'last_check_time',
  },
  {
    dataIndex: 'actions',
    title: '操作',
    width: 180,
    fixed: 'right' as const,
    slotName: 'actions',
  },
]
