Purpose
Run TCP healthcheck for tempo monitoring workflows.
Location
monitoring/tempo/healthcheck.sh
Preconditions
- Required tools:
bash, optionallyncortimeout - Required permissions: network access to target endpoint
- Required environment variables: none
Arguments
| Flag | Required | Default | Description |
|---|---|---|---|
--target HOST |
No | 127.0.0.1 |
Target host |
--port N |
No | stack default | Target port |
--timeout N |
No | 3 |
Timeout seconds |
--json |
No | false |
Emit JSON output |
--strict |
No | false |
Exit non-zero when unhealthy |
Usage
monitoring/tempo/healthcheck.sh --target 127.0.0.1 --strict
Output
- Exit codes:
0success,1failed strict healthcheck,2invalid arguments.