.metrics-dashboard.yml 946 B

12345678910111213141516171819
  1. # This file is a template, and might need editing before it works on your project.
  2. # Only one dashboard should be defined per file
  3. # More info: https://docs.gitlab.com/ee/operations/metrics/dashboards/yaml.html
  4. dashboard: 'Heatmap Panel Example'
  5. # For more information about the required properties of panel_groups
  6. # please visit: https://docs.gitlab.com/ee/operations/metrics/dashboards/yaml.html#panel-group-panel_groups-properties
  7. panel_groups:
  8. - group: 'Server Statistics'
  9. panels:
  10. - title: "Memory usage"
  11. # More information about heatmap panel types can be found here:
  12. # https://docs.gitlab.com/ee/operations/metrics/dashboards/panel_types.html#single-stat
  13. type: "single-stat"
  14. metrics:
  15. - query: '(node_memory_MemTotal_bytes - (node_memory_MemFree_bytes + node_memory_Buffers_bytes + node_memory_Cached_bytes)) / 1024 / 1024'
  16. unit: 'MB'
  17. label: "Used memory"