diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 17:34:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 17:34:42 +0300 |
commit | 9f46488805e86b1bc341ea1620b866016c2ce5ed (patch) | |
tree | f9748c7e287041e37d6da49e0a29c9511dc34768 /spec/fixtures/lib/gitlab/metrics/dashboard | |
parent | dfc92d081ea0332d69c8aca2f0e745cb48ae5e6d (diff) |
Add latest changes from gitlab-org/gitlab@13-0-stable-ee
Diffstat (limited to 'spec/fixtures/lib/gitlab/metrics/dashboard')
-rw-r--r-- | spec/fixtures/lib/gitlab/metrics/dashboard/development_metrics.yml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/development_metrics.yml b/spec/fixtures/lib/gitlab/metrics/dashboard/development_metrics.yml new file mode 100644 index 00000000000..083261a5574 --- /dev/null +++ b/spec/fixtures/lib/gitlab/metrics/dashboard/development_metrics.yml @@ -0,0 +1,39 @@ +panel_groups: + - group: 'Usage Variation' + panels: + - type: anomaly-chart + title: "Memory Usage Rate Anomalies" + y_label: "Memory Usage Rate" + metrics: + - id: container_memory_usage_bytes + query_range: avg(sum(rate(container_memory_usage_bytes[15m]))) /1024 + label: "Memory Usage Rate" + unit: "kB" + - id: container_memory_usage_bytes_upper + query_range: 80000 + label: "Memory Usage Rate Lower Limit" + unit: "kB" + - id: container_memory_usage_bytes_lower + query_range: 50000 + label: "Memory Usage Rate Upper Limit" + unit: "kB" + - group: System metrics (Kubernetes) + panels: + - title: 'Container CPU Usage by Environment (seconds)' + type: 'heatmap' + metrics: + - id: container_cpu_usage_by_env + query_range: 'sum(rate(container_cpu_usage_seconds_total{environment=~"coredns|production|kube|kube-controller"}[1h])) by (environment)' + step: 3600 + - title: 'Number of GitLab Runner requests by status' + type: 'heatmap' + metrics: + - id: number_of_runner_requests_by_status + query_range: 'sum(rate(gitlab_runner_api_request_statuses_total[60m])) by (status)' + step: 3600 + - title: '95 percentile of request durations per handler (seconds)' + type: 'heatmap' + metrics: + - id: 95_percentile_of_request_durations_per_handler + query_range: 'histogram_quantile(0.95, sum(rate(prometheus_http_request_duration_seconds_bucket[1h])) by (handler,le))' + step: 3600 |