All files / ee/app/assets/javascripts/dora/components/static_data deployment_frequency.js

100% Statements 5/5
100% Branches 0/0
100% Functions 0/0
100% Lines 5/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29          2x   2x   2x                       2x       2x      
import { helpPagePath } from '~/helpers/help_page_helper';
import { s__ } from '~/locale';
 
export * from './shared';
 
export const averageSeriesName = s__('DORA4Metrics|Average (last %{days}d)');
 
export const CHART_TITLE = s__('DORA4Metrics|Deployment frequency');
 
export const areaChartOptions = {
  xAxis: {
    name: s__('DORA4Metrics|Date'),
    type: 'category',
  },
  yAxis: {
    name: s__('DORA4Metrics|Predicted number of deployments'),
    type: 'value',
    minInterval: 1,
  },
};
 
export const chartDescriptionText = s__(
  'DORA4Metrics|The chart displays the frequency of deployments to production environment(s) that are based on the %{linkStart}deployment_tier%{linkEnd} value.',
);
 
export const chartDocumentationHref = helpPagePath('user/analytics/ci_cd_analytics.html', {
  anchor: 'deployment-frequency-charts',
});