Skip to content

Commit

Permalink
Merge branch 'Heatmap_metrics' into 'master'
Browse files Browse the repository at this point in the history
Seed metrics dashboard with example heatmap charts

See merge request gitlab-org/gitlab!29323
  • Loading branch information
bluegod committed May 1, 2020
2 parents 4e75712 + 1c61c5f commit 1035ddd
Showing 1 changed file with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,23 @@ panel_groups:
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

0 comments on commit 1035ddd

Please sign in to comment.