- Notifications
You must be signed in to change notification settings - Fork1k
feat: add cli command scaletest dynamic-parameters#20034
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
metrics:=dynamicparameters.NewMetrics(reg,"concurrent_evaluations") | ||
fori,part:=rangepartitions { | ||
forj:=0;j<part.ConcurrentEvaluations;j++ { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
nit:
forj:=0;j<part.ConcurrentEvaluations;j++ { | |
forj:=rangepart.ConcurrentEvaluations { |
} | ||
th:=harness.NewTestHarness(harness.ConcurrentExecutionStrategy{}, harness.ConcurrentExecutionStrategy{}) | ||
reg:=prometheus.NewRegistry() |
ethanndicksonOct 1, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
You mentioned leaving out the tracing & timeout flags for refactoring, but don't forget about the prometheus flags & running the server for the metrics on port21112
.
Uh oh!
There was an error while loading.Please reload this page.
be1b513
to9fa1ed0
Compare9fa1ed0
to1c3e589
Compare65335bc
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
part ofcoder/internal#912
Adds CLI command
coder exp scaletest dynamic-parameters
I've left out the configuration of tracing and timeouts for now. I think I want to do some refactoring of the scaletest CLI to make handling those flags take up less boiler plate.
I will add tracing and timeout flags in a follow up PR.