debian-mirror-gitlab/app/assets/javascripts/projects/pipelines/charts/constants.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
822 B
JavaScript
Raw Normal View History

2020-03-13 15:44:24 +05:30
export const CHART_CONTAINER_HEIGHT = 300;
export const INNER_CHART_HEIGHT = 200;
export const X_AXIS_LABEL_ROTATION = 45;
export const X_AXIS_TITLE_OFFSET = 60;
export const ONE_WEEK_AGO_DAYS = 7;
export const ONE_MONTH_AGO_DAYS = 31;
2021-03-11 19:13:27 +05:30
export const ONE_YEAR_AGO_DAYS = 365;
2020-03-13 15:44:24 +05:30
export const CHART_DATE_FORMAT = 'dd mmm';
2021-02-22 17:27:13 +05:30
export const DEFAULT = 'default';
export const PARSE_FAILURE = 'parse_failure';
export const LOAD_ANALYTICS_FAILURE = 'load_analytics_failure';
export const LOAD_PIPELINES_FAILURE = 'load_analytics_failure';
export const UNSUPPORTED_DATA = 'unsupported_data';
2023-01-13 00:05:48 +05:30
export const SNOWPLOW_LABEL = 'redis_hll_counters.analytics.analytics_total_unique_counts_monthly';
export const SNOWPLOW_SCHEMA = 'iglu:com.gitlab/gitlab_service_ping/jsonschema/1-0-0';
export const SNOWPLOW_DATA_SOURCE = 'redis_hll';