coder / coder/internal

C210K: Scaletesting Grafana Dashboards

Open
#328 0 comments 0 reactions 1 assignee Claimed by @f0ssel View on GitHub
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Overview

We need to create new grafana dashboards for measuring monthly scaletest performance, defining pass/fail criteria, and identifying points of failure.

Key metrics to collect (from @johnstcn and @mafredri)
- Workspaces (coder prom)
- Basic resources: CPU, Disk, Mem (coder prom)
- Heap usage (coder prom)
- Number of goroutines (coder prom)
- HTTP Requests by path, status, duration (coder prom)
- Provisioners (coder prom)
- TCP performance [bytes in, bytes out] (kube)

### Requirements

Dashboards
- [ ] Coder Server
- [ ] Coder Proxy
- [ ] Coder Provisioners
- [ ] Workspace agents
- [ ] K8s

Nice to have tooling
- [ ] [Grafana annotations](https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/): to mark scaletest events
- [ ] [Template variables](https://grafana.com/docs/grafana/latest/dashboards/variables/): reusable resource queries

Metrics to summarize pass/fail
- [ ] API error rate over time -- HTTP response codes (coder prom)
[_key_ failure criteria]
- [ ] Pod restart counts (kube)
[_must_ be zero]
- [ ] Deviation of connected agents (coder prom)
- [ ] Acceptable CPU, memory thresholds (kube)

---

> _Don't sleep on heatmaps._
> _- Cian_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.