63 lines
3.1 KiB
JavaScript
63 lines
3.1 KiB
JavaScript
// Dashboard "skeleton", groups, panels, metrics, query variables
|
|
export const REQUEST_METRICS_DASHBOARD = 'REQUEST_METRICS_DASHBOARD';
|
|
export const RECEIVE_METRICS_DASHBOARD_SUCCESS = 'RECEIVE_METRICS_DASHBOARD_SUCCESS';
|
|
export const RECEIVE_METRICS_DASHBOARD_FAILURE = 'RECEIVE_METRICS_DASHBOARD_FAILURE';
|
|
export const UPDATE_VARIABLE_VALUE = 'UPDATE_VARIABLE_VALUE';
|
|
export const UPDATE_VARIABLE_METRIC_LABEL_VALUES = 'UPDATE_VARIABLE_METRIC_LABEL_VALUES';
|
|
|
|
export const REQUEST_DASHBOARD_STARRING = 'REQUEST_DASHBOARD_STARRING';
|
|
export const RECEIVE_DASHBOARD_STARRING_SUCCESS = 'RECEIVE_DASHBOARD_STARRING_SUCCESS';
|
|
export const RECEIVE_DASHBOARD_STARRING_FAILURE = 'RECEIVE_DASHBOARD_STARRING_FAILURE';
|
|
|
|
export const SET_CURRENT_DASHBOARD = 'SET_CURRENT_DASHBOARD';
|
|
|
|
// Annotations
|
|
export const RECEIVE_ANNOTATIONS_SUCCESS = 'RECEIVE_ANNOTATIONS_SUCCESS';
|
|
export const RECEIVE_ANNOTATIONS_FAILURE = 'RECEIVE_ANNOTATIONS_FAILURE';
|
|
|
|
// Dashboard validation warnings
|
|
export const RECEIVE_DASHBOARD_VALIDATION_WARNINGS_SUCCESS =
|
|
'RECEIVE_DASHBOARD_VALIDATION_WARNINGS_SUCCESS';
|
|
export const RECEIVE_DASHBOARD_VALIDATION_WARNINGS_FAILURE =
|
|
'RECEIVE_DASHBOARD_VALIDATION_WARNINGS_FAILURE';
|
|
|
|
// Git project deployments
|
|
export const REQUEST_DEPLOYMENTS_DATA = 'REQUEST_DEPLOYMENTS_DATA';
|
|
export const RECEIVE_DEPLOYMENTS_DATA_SUCCESS = 'RECEIVE_DEPLOYMENTS_DATA_SUCCESS';
|
|
export const RECEIVE_DEPLOYMENTS_DATA_FAILURE = 'RECEIVE_DEPLOYMENTS_DATA_FAILURE';
|
|
|
|
// Environments
|
|
export const REQUEST_ENVIRONMENTS_DATA = 'REQUEST_ENVIRONMENTS_DATA';
|
|
export const RECEIVE_ENVIRONMENTS_DATA_SUCCESS = 'RECEIVE_ENVIRONMENTS_DATA_SUCCESS';
|
|
export const RECEIVE_ENVIRONMENTS_DATA_FAILURE = 'RECEIVE_ENVIRONMENTS_DATA_FAILURE';
|
|
|
|
// Metric data points
|
|
export const REQUEST_METRIC_RESULT = 'REQUEST_METRIC_RESULT';
|
|
export const RECEIVE_METRIC_RESULT_SUCCESS = 'RECEIVE_METRIC_RESULT_SUCCESS';
|
|
export const RECEIVE_METRIC_RESULT_FAILURE = 'RECEIVE_METRIC_RESULT_FAILURE';
|
|
|
|
// Parameters and other information
|
|
export const SET_TIME_RANGE = 'SET_TIME_RANGE';
|
|
export const SET_ALL_DASHBOARDS = 'SET_ALL_DASHBOARDS';
|
|
export const SET_ENDPOINTS = 'SET_ENDPOINTS';
|
|
export const SET_INITIAL_STATE = 'SET_INITIAL_STATE';
|
|
export const SET_GETTING_STARTED_EMPTY_STATE = 'SET_GETTING_STARTED_EMPTY_STATE';
|
|
export const SET_SHOW_ERROR_BANNER = 'SET_SHOW_ERROR_BANNER';
|
|
export const SET_PANEL_GROUP_METRICS = 'SET_PANEL_GROUP_METRICS';
|
|
export const SET_ENVIRONMENTS_FILTER = 'SET_ENVIRONMENTS_FILTER';
|
|
export const SET_EXPANDED_PANEL = 'SET_EXPANDED_PANEL';
|
|
|
|
// Panel preview
|
|
export const REQUEST_PANEL_PREVIEW = 'REQUEST_PANEL_PREVIEW';
|
|
export const RECEIVE_PANEL_PREVIEW_SUCCESS = 'RECEIVE_PANEL_PREVIEW_SUCCESS';
|
|
export const RECEIVE_PANEL_PREVIEW_FAILURE = 'RECEIVE_PANEL_PREVIEW_FAILURE';
|
|
|
|
export const REQUEST_PANEL_PREVIEW_METRIC_RESULT = 'REQUEST_PANEL_PREVIEW_METRIC_RESULT';
|
|
export const RECEIVE_PANEL_PREVIEW_METRIC_RESULT_SUCCESS =
|
|
'RECEIVE_PANEL_PREVIEW_METRIC_RESULT_SUCCESS';
|
|
export const RECEIVE_PANEL_PREVIEW_METRIC_RESULT_FAILURE =
|
|
'RECEIVE_PANEL_PREVIEW_METRIC_RESULT_FAILURE';
|
|
|
|
export const SET_PANEL_PREVIEW_TIME_RANGE = 'SET_PANEL_PREVIEW_TIME_RANGE';
|
|
export const SET_PANEL_PREVIEW_IS_SHOWN = 'SET_PANEL_PREVIEW_IS_SHOWN';
|