mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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
This commit is contained in:
@@ -82,6 +82,26 @@ Timeout per job. Jobs may take longer to complete under higher concurrency limit
|
||||
|
||||
Output format specs in the format "<format>[:<path>]". Not specifying a path will default to stdout. Available formats: text, json.
|
||||
|
||||
### --scaletest-prometheus-address
|
||||
|
||||
| | |
|
||||
| ----------- | ------------------------------------------------ |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_SCALETEST_PROMETHEUS_ADDRESS</code> |
|
||||
| Default | <code>0.0.0.0:21112</code> |
|
||||
|
||||
Address on which to expose scaletest Prometheus metrics.
|
||||
|
||||
### --scaletest-prometheus-wait
|
||||
|
||||
| | |
|
||||
| ----------- | --------------------------------------------- |
|
||||
| Type | <code>duration</code> |
|
||||
| Environment | <code>$CODER_SCALETEST_PROMETHEUS_WAIT</code> |
|
||||
| Default | <code>5s</code> |
|
||||
|
||||
How long to wait before exiting in order to allow Prometheus metrics to be scraped.
|
||||
|
||||
### --tick-interval
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user