Customizable dashboards

Introduced in GitLab 15.5 as an Experiment.

Customizable dashboards provide a dashboard structure that allows users to create their own dashboards and commit the structure to a repository.

This feature is available for Premium and Ultimate subscriptions.


To use customizable dashboards:

  1. Create your dashboard component.
  2. Render an instance of CustomizableDashboard.
  3. Pass a list of panels to render.

For example, a customizable dashboard for users over time:

import CustomizableDashboard from 'ee/vue_shared/components/customizable_dashboard/customizable_dashboard.vue';
import { s__ } from '~/locale';

export default {
  name: 'AnalyticsDashboard',
  components: {
  data() {
    return {
      panels: [
          component: 'CubeLineChart', // The name of the panel component.
          title: s__('ProductAnalytics|Users / Time'), // The title shown on the panel component.
          // Gridstack settings based upon
          // All values are grid row/column numbers up to 12.
          // We use the default 12 column grid
          gridAttributes: {
            height: 4,
            width: 6,
            minHeight: 4,
            minWidth: 6,
            xPos: 0,
            yPos: 0,
          // Options that are used to set bespoke values for each panel.
          // Available customizations are determined by the panel itself.
          customizations: {},
          // Chart options defined by the charting library being used by the panel.
          chartOptions: {
            xAxis: { name: __('Time'), type: 'time' },
            yAxis: { name: __('Counts') },
          // The data for the panel.
          // This could be imported or in this case, a query passed to be used by the panels API.
          // Each panel type determines how it handles this property.
          data: {
            query: {
              users: {
                measures: ['TrackedEvents.count'],
                dimensions: ['TrackedEvents.eventType'],

  <h1>{{ s__('ProductAnalytics|Analytics dashboard') }}</h1>
  <customizable-dashboard :panels="panels" />

The panels data can be retrieved from a file or API request, or imported through HTML data attributes.

For each panel, a component is defined. Each component is a component declaration and should be included in vue_shared/components/customizable_dashboard/panels_base.vue as a dynamic import, to keep the memory usage down until it is used.

For example:

components: {
  CubeLineChart: () => import('ee/product_analytics/dashboards/components/panels/cube_line_chart.vue')