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
chore: add prometheus monitoring of workspace traffic generation (#7583)
- Exposes reads/writes from scaletest traffic generation (default: 0.0.0.0:21112)
- Adds self-hosted prometheus with remote_write to loadtest terraform
- Adds convenience script to run a traffic generation test
1. Run `coder_init.sh <coder_url>` to setup an initial user and a pre-configured Kubernetes
33
33
template. It will also download the Coder CLI from the Coder instance locally.
34
34
35
-
1. Do whatever you need to do with the Coder instance.
35
+
1. Do whatever you need to do with the Coder instance:
36
36
37
-
> To run Coder commands against the instance, you can use `coder_shim.sh <command>`.
37
+
> Note: To run Coder commands against the instance, you can use `coder_shim.sh <command>`.
38
38
> You don't need to run `coder login` yourself.
39
39
40
+
- To create workspaces, run `./coder_shim.sh scaletest create-workspaces --template="kubernetes" --count=N`
41
+
- To generate workspace traffic, run `./coder_trafficgen.sh <name of loadtest from your Terraform vars>`. This will keep running until you delete the pod `coder-scaletest-workspace-traffic`.
42
+
40
43
1. When you are finished, you can run `terraform destroy -var-file=override.tfvars`.
0 commit comments