import { DEFAULT_RELATIVE_TIME_RANGE } from './constants';

export default [
  {
    label: 'monitoringDashboard.monitoringDashboardPage.refresh.off',
    value: 0,
  },
  {
    label: 'monitoringDashboard.monitoringDashboardPage.refresh.every5Seconds',
    value: 5,
  },
  {
    label: 'monitoringDashboard.monitoringDashboardPage.refresh.every10Seconds',
    value: 10,
  },
  {
    label: 'monitoringDashboard.monitoringDashboardPage.refresh.every15Seconds',
    value: 15,
  },
  {
    label: 'monitoringDashboard.monitoringDashboardPage.refresh.every30Seconds',
    value: 30,
  },
  {
    label: 'monitoringDashboard.monitoringDashboardPage.refresh.every1Minute',
    value: 60,
  },
  {
    label: 'monitoringDashboard.monitoringDashboardPage.refresh.every5Minutes',
    value: 300,
  },
  {
    label: 'monitoringDashboard.monitoringDashboardPage.refresh.every15Minutes',
    value: 900,
  },
  {
    label: 'monitoringDashboard.monitoringDashboardPage.refresh.every30Minutes',
    value: DEFAULT_RELATIVE_TIME_RANGE,
  },
  {
    label: 'monitoringDashboard.monitoringDashboardPage.refresh.every1Hour',
    value: 3600,
  },
  {
    label: 'monitoringDashboard.monitoringDashboardPage.refresh.every2Hours',
    value: 7200,
  },
  {
    label: 'monitoringDashboard.monitoringDashboardPage.refresh.every1Day',
    value: 86400,
  },
];
