From cb636bec7197943df63b0dcc2e8d3c61dbad9549 Mon Sep 17 00:00:00 2001 From: BillyD1 Date: Sat, 31 Jul 2021 21:33:22 +0000 Subject: [PATCH] Add new file --- .metrics-dashboard.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .metrics-dashboard.yml diff --git a/.metrics-dashboard.yml b/.metrics-dashboard.yml new file mode 100644 index 0000000..151f51e --- /dev/null +++ b/.metrics-dashboard.yml @@ -0,0 +1,18 @@ +# This file is a template, and might need editing before it works on your project. +# Only one dashboard should be defined per file +# More info: https://docs.gitlab.com/ee/operations/metrics/dashboards/yaml.html +dashboard: 'Heatmap Panel Example' + +# For more information about the required properties of panel_groups +# please visit: https://docs.gitlab.com/ee/operations/metrics/dashboards/yaml.html#panel-group-panel_groups-properties +panel_groups: + - group: 'Server Statistics' + panels: + - title: "Memory usage" + # More information about heatmap panel types can be found here: + # https://docs.gitlab.com/ee/operations/metrics/dashboards/panel_types.html#single-stat + type: "single-stat" + metrics: + - query: '(node_memory_MemTotal_bytes - (node_memory_MemFree_bytes + node_memory_Buffers_bytes + node_memory_Cached_bytes)) / 1024 / 1024' + unit: 'MB' + label: "Used memory" -- GitLab