You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scaletest/README.md
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -88,3 +88,22 @@ A number of utility scripts are provided in `lib`, and are used by `scaletest.sh
88
88
-`coder_workspacetraffic.sh`: Runs traffic generation against the loadtest cluster and creates
89
89
a monitoring manifest for the traffic generation pod. This pod will restart automatically
90
90
after the traffic generation has completed.
91
+
92
+
## Grafana Dashboard
93
+
94
+
A sample Grafana dashboard is provided in `scaletest_dashboard.json`. This dashboard is intended
95
+
to be imported into an existing Grafana instance. It provides a number of useful metrics:
96
+
97
+
-**Control Plane Resources**: CPU, memory, and network usage for the Coder deployment, as well as the number of pod restarts.
98
+
-**Database**: Rows inserted/updated/deleted/returned, active connections, and transactions per second. Fine-grained `sqlQuerier` metrics are provided for Coder's database as well, broken down my query method.
99
+
-**HTTP requests**: Number of HTTP requests per second, broken down by status code and path.
100
+
-**Workspace Resources**: CPU, memory, and network usage for all workspaces.
101
+
-**Workspace Agents**: Workspace agent network usage, connection latency, and number of active connections.
102
+
-**Workspace Traffic**: Statistics related to workspace traffic generation.
103
+
-**Internals**: Provisioner job timings, concurrency, workspace builds, and AuthZ duration.
104
+
105
+
A subset of these metrics may be useful for a production deployment, but some are only useful
106
+
for load testing.
107
+
108
+
> **Note:** in particular, `sqlQuerier` metrics produce a large number of time series and may cause
0 commit comments