@tsuga/cli 1.46.0 → 1.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/dist/cli.js +172 -172
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -232,7 +232,7 @@ or after the subcommand, and are inherited by every subcommand.
|
|
|
232
232
|
> - `quality-reports` is read-only and supports `list` plus `examples <ID>`.
|
|
233
233
|
> - For `quality-reports list`, pass `--cluster <CLUSTER_ID>` (or set `TSUGA_CLUSTER_ID` / saved default) when the org has more than one cluster.
|
|
234
234
|
> - Pass `--team <TEAM_NAME>` to `quality-reports list` to scope the response to a single team by name (omits cluster-wide global rows).
|
|
235
|
-
> - `quality-reports examples <ID>` pages the examples stored for one row, with `--limit` / `--offset` and `-o json|tsv|csv`. Tabular output defaults to the `type,label` columns; `--fields` picks others (e.g. `link.to`).
|
|
235
|
+
> - `quality-reports examples <ID>` pages the examples stored for one row, with `--limit` / `--offset` and `-o json|tsv|csv`. JSON output is an array of example rows. Tabular output defaults to the `type,label` columns; `--fields` picks others (e.g. `link.to`).
|
|
236
236
|
> - `investigations` is beta: it requires an operation API key with the `investigations` permission and the API may change.
|
|
237
237
|
> - `public-tokens` manages the RUM public tokens configured in browser and mobile SDKs. It requires an operation API key with the **RUM public tokens** (`rum-public-token`) permission.
|
|
238
238
|
|
|
@@ -307,11 +307,15 @@ tsuga logs search --from=-1h --query 'level:ERROR'
|
|
|
307
307
|
tsuga logs search --from 1704067200 --to 1704153600 --query 'service:api'
|
|
308
308
|
```
|
|
309
309
|
|
|
310
|
-
By default,
|
|
311
|
-
dot-paths from each log, and `-o tsv|csv` for tabular output
|
|
310
|
+
By default, logs are printed as a JSON array. Use `--fields` to project specific
|
|
311
|
+
dot-paths from each log, and `-o tsv|csv` for tabular output.
|
|
312
|
+
|
|
313
|
+
Field lists trim whitespace and skip empty comma-separated entries; an explicitly
|
|
314
|
+
empty or comma-only `--fields` is rejected. Omitting it preserves complete JSON rows
|
|
315
|
+
or the default TSV/CSV columns.
|
|
312
316
|
|
|
313
317
|
```bash
|
|
314
|
-
# JSON projected to selected fields (preserves
|
|
318
|
+
# JSON array projected to selected fields (preserves nested objects)
|
|
315
319
|
tsuga logs search --from=-10m \
|
|
316
320
|
--fields timestamp,level,message,context.k8s.pod.name
|
|
317
321
|
|