@tsuga/cli 1.36.0 → 1.37.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 +9 -1
- package/dist/cli.js +74 -74
- 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
|
|