@tsuga/cli 1.81.0 → 1.83.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.
Files changed (3) hide show
  1. package/README.md +3 -16
  2. package/dist/cli.js +94 -94
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -215,19 +215,6 @@ Showing 100 of 4212 (offset 0). Use --limit (max 1000) and --offset 100 for the
215
215
 
216
216
  For resources with server-side filters, narrowing the query beats paging through everything.
217
217
 
218
- ### Explaining a call with `--rationale`
219
-
220
- Every command accepts an optional `--rationale` flag to record why it is being run. It does not
221
- change the result; the text is sent as a request header on any API call the command makes, and
222
- recorded in the backend request log, which is useful for understanding agent behavior.
223
-
224
- ```bash
225
- tsuga logs patterns --rationale "exploring telemetry to investigate prod outage"
226
- ```
227
-
228
- `--rationale`, `--cluster` and `--operation-api-key` are shared flags: they may be given before
229
- or after the subcommand, and are inherited by every subcommand.
230
-
231
218
  ### Available resources
232
219
 
233
220
  `adaptive-notification-rules`, `cloud-resources`, `custom-roles`, `dashboard-folders`, `dashboards`, `ingestion-api-keys`, `investigations`, `log-routes`, `metric-routes`, `monitor-folders`, `monitors`, `notification-integrations`, `notification-rules`, `notification-silences`, `public-tokens`, `quality-reports`, `retention-policies`, `services`, `slos`, `tag-policies`, `teams`
@@ -320,9 +307,6 @@ tsuga logs search --from=-1h --query 'level:ERROR'
320
307
  tsuga logs search --from 1704067200 --to 1704153600 --query 'service:api'
321
308
  ```
322
309
 
323
- By default, logs are printed as a JSON array. Use `--fields` to project specific
324
- dot-paths from each log, and `-o tsv|csv` for tabular output.
325
-
326
310
  Field lists trim whitespace and skip empty comma-separated entries; an explicitly
327
311
  empty or comma-only `--fields` is rejected. Omitting it preserves complete JSON rows
328
312
  or the default TSV/CSV columns.
@@ -366,6 +350,9 @@ tsuga logs error-pattern-increases --from=-24h --team my-team --env prod
366
350
 
367
351
  ```bash
368
352
  tsuga traces search --from=-30m --query 'span_name:GET'
353
+
354
+ # TSV with default columns: startTime, duration, context.service.name, span.name, statusCode, traceId
355
+ tsuga traces search --from=-30m --query 'span_name:GET' -o tsv
369
356
  ```
370
357
 
371
358
  ### Search RUM events