Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cluster_health.js « show « clusters « projects « pages « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 382d39645a9f076088c5b6cb5b19a23e39e4a808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import monitoringApp from '~/monitoring/monitoring_app';

export default () => {
  const el = document.getElementById('prometheus-graphs');

  if (el && el.dataset) {
    monitoringApp({
      ...el.dataset,
      showLegend: false,
      showHeader: false,
      showPanels: false,
      forceSmallGraph: true,
      smallEmptyState: true,
      currentEnvironmentName: '',
      hasMetrics: true,
    });
  }
};