feat: add bounded process metrics and private monitoring endpoint
This commit is contained in:
@@ -37,6 +37,9 @@ export ORBIT_TEST_MYSQL_DSN="root:$TASK_DB_PASSWORD@tcp(127.0.0.1:$TASK_DB_PORT)
|
||||
"$TASK_GO" test -race -count=1 -run Integration -v ./internal/storage/mysql
|
||||
|
||||
"$TASK_GO" build -o "$TASK_TEST_DIR/orbit" ./cmd/orbit
|
||||
# Exercise metrics on every integration process, using a fresh private port.
|
||||
export ORBIT_METRICS_ADDR=127.0.0.1:0
|
||||
ORBIT_TEST_SERVER_BINARY="$TASK_TEST_DIR/orbit" "$TASK_GO" test -race -count=1 -run '^TestIntegrationMetricsProcess$' -v ./cmd/orbit
|
||||
ORBIT_TEST_SERVER_BINARY="$TASK_TEST_DIR/orbit" "$TASK_GO" test -race -count=1 -run '^TestIntegrationWorkflowRuntimeProcess$' -v ./internal/storage/mysql
|
||||
"$TASK_GO" build -o "$TASK_TEST_DIR/orbit-migrate" ./cmd/orbit-migrate
|
||||
"$TASK_GO" build -o "$TASK_TEST_DIR/orbit-admin" ./cmd/orbit-admin
|
||||
|
||||
Reference in New Issue
Block a user