123456789101112131415161718192021222324252627282930 |
- export const RULER_NOT_SUPPORTED_MSG = 'ruler not supported';
- export const RULE_LIST_POLL_INTERVAL_MS = 20000;
- export const ALERTMANAGER_NAME_QUERY_KEY = 'alertmanager';
- export const ALERTMANAGER_NAME_LOCAL_STORAGE_KEY = 'alerting-alertmanager';
- export const SILENCES_POLL_INTERVAL_MS = 20000;
- export const NOTIFICATIONS_POLL_INTERVAL_MS = 20000;
- export const TIMESERIES = 'timeseries';
- export const TABLE = 'table';
- export const STAT = 'stat';
- export enum Annotation {
- description = 'description',
- summary = 'summary',
- runbookURL = 'runbook_url',
- alertId = '__alertId__',
- dashboardUID = '__dashboardUid__',
- panelID = '__panelId__',
- }
- export const annotationLabels: Record<Annotation, string> = {
- [Annotation.description]: 'Description',
- [Annotation.summary]: 'Summary',
- [Annotation.runbookURL]: 'Runbook URL',
- [Annotation.dashboardUID]: 'Dashboard UID',
- [Annotation.panelID]: 'Panel ID',
- [Annotation.alertId]: 'Alert ID',
- };
|