@tsuga/cli 1.36.0 → 1.38.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 +11 -2
  2. package/dist/cli.js +68 -68
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -220,7 +220,7 @@ tsuga logs patterns --rationale "exploring telemetry to investigate prod outage"
220
220
 
221
221
  ### Available resources
222
222
 
223
- `cloud-resources`, `dashboard-folders`, `dashboards`, `ingestion-api-keys`, `investigations`, `monitors`, `notification-integrations`, `notification-rules`, `notification-silences`, `quality-reports`, `retention-policies`, `log-routes`, `services`, `slos`, `tag-policies`, `teams`
223
+ `cloud-resources`, `dashboard-folders`, `dashboards`, `ingestion-api-keys`, `investigations`, `monitors`, `notification-integrations`, `notification-rules`, `notification-silences`, `public-tokens`, `quality-reports`, `retention-policies`, `log-routes`, `services`, `slos`, `tag-policies`, `teams`
224
224
 
225
225
  > Notes:
226
226
  >
@@ -230,6 +230,14 @@ tsuga logs patterns --rationale "exploring telemetry to investigate prod outage"
230
230
  > - For `quality-reports list`, pass `--cluster <CLUSTER_ID>` (or set `TSUGA_CLUSTER_ID` / saved default) when the org has more than one cluster.
231
231
  > - Pass `--team <TEAM_NAME>` to `quality-reports list` to scope the response to a single team by name (omits cluster-wide global rows).
232
232
  > - `investigations` is beta: it requires an operation API key with the `investigations` permission and the API may change.
233
+ > - `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.
234
+
235
+ ```bash
236
+ tsuga public-tokens create --generate-skeleton > app.json
237
+ # edit app.json
238
+ tsuga public-tokens create -f app.json | jq -r .token
239
+ tsuga public-tokens list | jq -r '.[0].token'
240
+ ```
233
241
 
234
242
  ### Generating a request skeleton
235
243
 
@@ -463,10 +471,11 @@ Explore Kubernetes resources observed across the organization, inferred from you
463
471
  tsuga kubernetes pods --search my-service
464
472
  tsuga kubernetes clusters
465
473
  tsuga kubernetes nodes --search ip-10-0
474
+ tsuga kubernetes events --search my-pod
466
475
  tsuga kubernetes pod-details --k8s-cluster prod --k8s-namespace default --pod-name my-pod-abc123
467
476
  ```
468
477
 
469
- Available resources: `pods`, `clusters`, `namespaces`, `nodes`, `deployments`, `statefulsets`, `daemonsets` (list, with an optional `--search`), and `pod-details`, `pod-manifest`, `deployment-details` (single-resource lookups, with required identifying flags).
478
+ Available resources: `pods`, `clusters`, `namespaces`, `nodes`, `deployments`, `statefulsets`, `daemonsets`, `events` (list, with an optional `--search`), and `pod-details`, `pod-manifest`, `deployment-details` (single-resource lookups, with required identifying flags).
470
479
 
471
480
  ## Grok
472
481