@tsuga/cli 1.1.1 → 1.2.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 +11 -2
- package/dist/cli.js +58 -58
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ All authentication lives under `tsuga auth`.
|
|
|
55
55
|
For interactive use, log in as a user with a browser authorization flow:
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
#
|
|
58
|
+
# Opens your browser to an authorization URL, or prints the URL if it can't be opened.
|
|
59
59
|
tsuga auth login
|
|
60
60
|
|
|
61
61
|
# Print the saved user access token
|
|
@@ -193,7 +193,7 @@ tsuga logs patterns --rationale "exploring telemetry to investigate prod outage"
|
|
|
193
193
|
|
|
194
194
|
### Available resources
|
|
195
195
|
|
|
196
|
-
`cloud-resources`, `dashboards`, `ingestion-api-keys`, `investigations`, `monitors`, `notification-rules`, `notification-silences`, `quality-reports`, `retention-policies`, `routes`, `services`, `tag-policies`, `teams`
|
|
196
|
+
`cloud-resources`, `dashboards`, `ingestion-api-keys`, `investigations`, `monitors`, `notification-rules`, `notification-silences`, `quality-reports`, `retention-policies`, `routes`, `services`, `slos`, `tag-policies`, `teams`
|
|
197
197
|
|
|
198
198
|
> Notes:
|
|
199
199
|
>
|
|
@@ -307,6 +307,15 @@ tsuga logs error-pattern-increases --from -24h --team my-team --env prod
|
|
|
307
307
|
tsuga traces search --from -30m --query 'span_name:GET'
|
|
308
308
|
```
|
|
309
309
|
|
|
310
|
+
### Summarize a trace
|
|
311
|
+
|
|
312
|
+
Aggregates groups of similar spans into synthetic summary spans (marked with
|
|
313
|
+
`spanAttributes.aggregation.is_summary`) for a compact view of large traces:
|
|
314
|
+
|
|
315
|
+
```bash
|
|
316
|
+
tsuga traces summarize --trace-id 78c99c5bb1e4a30297fa134b9dbec64f --from -30m
|
|
317
|
+
```
|
|
318
|
+
|
|
310
319
|
### Metrics
|
|
311
320
|
|
|
312
321
|
```bash
|