MCPcopy Create free account
hub / github.com/coder/coder / GetMetrics

Method GetMetrics

cli/exp_scaletest.go:2208–2214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2206}
2207
2208func (r *runnableTraceWrapper) GetMetrics() map[string]any {
2209 c, ok := r.runner.(harness.Collectable)
2210 if !ok {
2211 return nil
2212 }
2213 return c.GetMetrics()
2214}
2215
2216func getScaletestWorkspaces(ctx context.Context, client *codersdk.Client, owner, template string) ([]codersdk.Workspace, int, error) {
2217 var (

Callers

nothing calls this directly

Calls 1

GetMetricsMethod · 0.65

Tested by

no test coverage detected