CLI reference
kusaw telemetry
Show and control opt-in metadata telemetry
kusaw telemetry
Show and control opt-in metadata telemetry
Usage
kusaw telemetry [flags]Flags
| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for telemetry |
Subcommands
kusaw telemetry off
Disable telemetry and discard unsent batches
kusaw telemetry off [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for off |
Example:
kusaw telemetry offkusaw telemetry on
Enable telemetry after the endpoint and both env vars are set
kusaw telemetry on [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for on |
Example:
kusaw telemetry onkusaw telemetry preview
Print the next telemetry batch with secrets redacted
kusaw telemetry preview [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for preview |
Example:
kusaw telemetry previewkusaw telemetry schema
Print the factory-telemetry/1 JSON Schema
kusaw telemetry schema [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for schema |
Example:
kusaw telemetry schemakusaw telemetry status
Show telemetry config and whether it is sending
kusaw telemetry status [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for status |
Example:
kusaw telemetry statusExit codes
| Code | Name | Description |
|---|---|---|
| 0 | ok | Success. |
| 1 | error | Runtime error. |
| 2 | usage | Usage or validation error. |
| 3 | rejected | Control request rejected; the error string is printed verbatim. |
| 4 | not picked up | Control request not picked up within the wait time while serve runs. |
Example
kusaw telemetry status