@temps-sdk/cli 0.2.0-beta.1 → 0.2.0-beta.2
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/dist/index.js +68378 -53718
- package/dist/skills/temps/SKILL.md +1 -0
- package/dist/skills/temps/howtos/agent-handoff.md +106 -0
- package/dist/skills/temps/references/commands/INDEX.md +6 -0
- package/dist/skills/temps/references/commands/agents.md +731 -0
- package/dist/skills/temps/references/commands/ai.md +2636 -11
- package/dist/skills/temps/references/commands/alarms.md +125 -0
- package/dist/skills/temps/references/commands/analytics.md +1001 -3
- package/dist/skills/temps/references/commands/apikeys.md +48 -1
- package/dist/skills/temps/references/commands/audit.md +1 -0
- package/dist/skills/temps/references/commands/backups.md +306 -0
- package/dist/skills/temps/references/commands/blob.md +169 -0
- package/dist/skills/temps/references/commands/cloud.md +59 -0
- package/dist/skills/temps/references/commands/cluster.md +223 -0
- package/dist/skills/temps/references/commands/containers.md +45 -0
- package/dist/skills/temps/references/commands/custom-domains.md +32 -0
- package/dist/skills/temps/references/commands/data.md +1 -0
- package/dist/skills/temps/references/commands/deploy-image.md +3 -1
- package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
- package/dist/skills/temps/references/commands/deployments.md +559 -0
- package/dist/skills/temps/references/commands/dns-provider.md +63 -0
- package/dist/skills/temps/references/commands/domains.md +104 -0
- package/dist/skills/temps/references/commands/email-domains.md +1 -0
- package/dist/skills/temps/references/commands/email-providers.md +59 -1
- package/dist/skills/temps/references/commands/emails.md +91 -0
- package/dist/skills/temps/references/commands/environments.md +447 -2
- package/dist/skills/temps/references/commands/errors.md +563 -3
- package/dist/skills/temps/references/commands/flags.md +76 -0
- package/dist/skills/temps/references/commands/funnels.md +22 -2
- package/dist/skills/temps/references/commands/incidents.md +18 -0
- package/dist/skills/temps/references/commands/ip-access.md +96 -1
- package/dist/skills/temps/references/commands/kv.md +184 -0
- package/dist/skills/temps/references/commands/load-balancer.md +2 -0
- package/dist/skills/temps/references/commands/login.md +4 -1
- package/dist/skills/temps/references/commands/logs.md +272 -0
- package/dist/skills/temps/references/commands/migrate.md +17 -0
- package/dist/skills/temps/references/commands/monitors.md +386 -0
- package/dist/skills/temps/references/commands/network-policy.md +27 -0
- package/dist/skills/temps/references/commands/nodes.md +155 -2
- package/dist/skills/temps/references/commands/notifications.md +149 -0
- package/dist/skills/temps/references/commands/otel.md +436 -0
- package/dist/skills/temps/references/commands/platform.md +53 -0
- package/dist/skills/temps/references/commands/plugin.md +76 -0
- package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
- package/dist/skills/temps/references/commands/project-groups.md +31 -0
- package/dist/skills/temps/references/commands/projects.md +452 -6
- package/dist/skills/temps/references/commands/providers.md +519 -0
- package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
- package/dist/skills/temps/references/commands/revenue.md +219 -0
- package/dist/skills/temps/references/commands/sandbox.md +699 -9
- package/dist/skills/temps/references/commands/secrets.md +3 -0
- package/dist/skills/temps/references/commands/server.md +107 -0
- package/dist/skills/temps/references/commands/services.md +830 -5
- package/dist/skills/temps/references/commands/settings.md +346 -0
- package/dist/skills/temps/references/commands/shield.md +354 -0
- package/dist/skills/temps/references/commands/status-pages.md +103 -3
- package/dist/skills/temps/references/commands/teams.md +14 -0
- package/dist/skills/temps/references/commands/templates.md +14 -0
- package/dist/skills/temps/references/commands/tokens.md +106 -0
- package/dist/skills/temps/references/commands/traces.md +149 -0
- package/dist/skills/temps/references/commands/tunnels.md +2 -0
- package/dist/skills/temps/references/commands/users.md +111 -0
- package/dist/skills/temps/references/commands/vault.md +662 -0
- package/dist/skills/temps/references/commands/webhooks.md +4 -0
- package/dist/skills/temps/references/commands/workflows.md +347 -0
- package/dist/skills/temps/scripts/generate_command_references.py +5 -3
- package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
- package/package.json +3 -2
|
@@ -4,6 +4,24 @@
|
|
|
4
4
|
|
|
5
5
|
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
6
|
|
|
7
|
+
## Contents
|
|
8
|
+
|
|
9
|
+
- [`notifications list`](#notifications-list-alias-ls)
|
|
10
|
+
- [`notifications add`](#notifications-add)
|
|
11
|
+
- [`notifications update`](#notifications-update)
|
|
12
|
+
- [`notifications enable`](#notifications-enable)
|
|
13
|
+
- [`notifications disable`](#notifications-disable)
|
|
14
|
+
- [`notifications show`](#notifications-show)
|
|
15
|
+
- [`notifications remove`](#notifications-remove-alias-rm)
|
|
16
|
+
- [`notifications test`](#notifications-test)
|
|
17
|
+
- [`notifications routes`](#notifications-routes)
|
|
18
|
+
- [`notifications create-cloudflare-provider`](#notifications-create-cloudflare-provider)
|
|
19
|
+
- [`notifications update-cloudflare-provider`](#notifications-update-cloudflare-provider)
|
|
20
|
+
- [`notifications create-email-provider`](#notifications-create-email-provider)
|
|
21
|
+
- [`notifications create-webhook-provider`](#notifications-create-webhook-provider)
|
|
22
|
+
- [`notifications update-webhook-provider`](#notifications-update-webhook-provider)
|
|
23
|
+
- [`notifications reveal-provider-config`](#notifications-reveal-provider-config)
|
|
24
|
+
|
|
7
25
|
## `notifications` (alias: `notify`)
|
|
8
26
|
|
|
9
27
|
Manage notification providers (Slack, Email, Webhook, Telegram, etc.)
|
|
@@ -19,6 +37,12 @@ Manage notification providers (Slack, Email, Webhook, Telegram, etc.)
|
|
|
19
37
|
- `remove` (`rm`) - Remove a notification provider
|
|
20
38
|
- `test` - Send a test notification
|
|
21
39
|
- `routes` - Manage severity-based notification routes (which providers receive which severities)
|
|
40
|
+
- `create-cloudflare-provider` - Create a new Cloudflare Email Sending notification provider
|
|
41
|
+
- `update-cloudflare-provider` - Update a Cloudflare Email Sending notification provider
|
|
42
|
+
- `create-email-provider` - Create a new Email notification provider
|
|
43
|
+
- `create-webhook-provider` - Create a new Webhook notification provider
|
|
44
|
+
- `update-webhook-provider` - Update a Webhook notification provider
|
|
45
|
+
- `reveal-provider-config` - Reveal notification provider config
|
|
22
46
|
|
|
23
47
|
### `notifications list` (alias: `ls`)
|
|
24
48
|
|
|
@@ -29,6 +53,8 @@ List configured notification providers
|
|
|
29
53
|
| Flag | Description | Default | Required |
|
|
30
54
|
|------|-------------|---------|----------|
|
|
31
55
|
| `--json` | Output in JSON format | - | No |
|
|
56
|
+
| `--sort-by <value>` | Sort column (default created_at) | - | No |
|
|
57
|
+
| `--sort-order <value>` | Sort direction (one of: asc, desc) | - | No |
|
|
32
58
|
|
|
33
59
|
### `notifications add`
|
|
34
60
|
|
|
@@ -166,6 +192,8 @@ Manage severity-based notification routes (which providers receive which severit
|
|
|
166
192
|
- `create` - Create a notification route
|
|
167
193
|
- `update` - Update a notification route
|
|
168
194
|
- `remove` (`rm`) - Remove a notification route
|
|
195
|
+
- `get-delivery-coverage` - Check whether a notification of the given severity would be delivered
|
|
196
|
+
- `test` - Send a test notification through a route to each of its providers
|
|
169
197
|
|
|
170
198
|
#### `notifications routes list` (alias: `ls`)
|
|
171
199
|
|
|
@@ -176,6 +204,8 @@ List notification routes
|
|
|
176
204
|
| Flag | Description | Default | Required |
|
|
177
205
|
|------|-------------|---------|----------|
|
|
178
206
|
| `--json` | Output in JSON format | - | No |
|
|
207
|
+
| `--sort-by <value>` | Sort column (default created_at) | - | No |
|
|
208
|
+
| `--sort-order <value>` | Sort direction (one of: asc, desc) | - | No |
|
|
179
209
|
|
|
180
210
|
#### `notifications routes show`
|
|
181
211
|
|
|
@@ -231,3 +261,122 @@ Remove a notification route
|
|
|
231
261
|
| `--id <id>` | Route ID | - | Yes |
|
|
232
262
|
| `-f, --force` | Skip confirmation | - | No |
|
|
233
263
|
| `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
|
|
264
|
+
|
|
265
|
+
#### `notifications routes get-delivery-coverage`
|
|
266
|
+
|
|
267
|
+
Check whether a notification of the given severity would be delivered
|
|
268
|
+
|
|
269
|
+
**Options:**
|
|
270
|
+
|
|
271
|
+
| Flag | Description | Default | Required |
|
|
272
|
+
|------|-------------|---------|----------|
|
|
273
|
+
| `--severity <value>` | Severity of the notification to check: debug, info, warning, error, critical or emergency [required] | - | No |
|
|
274
|
+
| `--json` | Output in JSON format | - | No |
|
|
275
|
+
|
|
276
|
+
#### `notifications routes test`
|
|
277
|
+
|
|
278
|
+
Send a test notification through a route to each of its providers
|
|
279
|
+
|
|
280
|
+
**Usage:** `notifications routes test <id> [options]`
|
|
281
|
+
|
|
282
|
+
**Options:**
|
|
283
|
+
|
|
284
|
+
| Flag | Description | Default | Required |
|
|
285
|
+
|------|-------------|---------|----------|
|
|
286
|
+
| `--json` | Output in JSON format | - | No |
|
|
287
|
+
|
|
288
|
+
### `notifications create-cloudflare-provider`
|
|
289
|
+
|
|
290
|
+
Create a new Cloudflare Email Sending notification provider
|
|
291
|
+
|
|
292
|
+
**Options:**
|
|
293
|
+
|
|
294
|
+
| Flag | Description | Default | Required |
|
|
295
|
+
|------|-------------|---------|----------|
|
|
296
|
+
| `--config <json>` | Configuration for a Cloudflare Email Sending notification provider (JSON) [required] | - | No |
|
|
297
|
+
| `--enabled` | Body field enabled | - | No |
|
|
298
|
+
| `--no-enabled` | Set enabled to false | - | No |
|
|
299
|
+
| `--name <value>` | Body field name [required] | - | No |
|
|
300
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
301
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
302
|
+
| `--json` | Output in JSON format | - | No |
|
|
303
|
+
|
|
304
|
+
### `notifications update-cloudflare-provider`
|
|
305
|
+
|
|
306
|
+
Update a Cloudflare Email Sending notification provider
|
|
307
|
+
|
|
308
|
+
**Usage:** `notifications update-cloudflare-provider <id> [options]`
|
|
309
|
+
|
|
310
|
+
**Options:**
|
|
311
|
+
|
|
312
|
+
| Flag | Description | Default | Required |
|
|
313
|
+
|------|-------------|---------|----------|
|
|
314
|
+
| `--config <json>` | Configuration for a Cloudflare Email Sending notification provider (JSON) [required] | - | No |
|
|
315
|
+
| `--enabled` | Body field enabled | - | No |
|
|
316
|
+
| `--no-enabled` | Set enabled to false | - | No |
|
|
317
|
+
| `--name <value>` | Body field name | - | No |
|
|
318
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
319
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
320
|
+
| `--json` | Output in JSON format | - | No |
|
|
321
|
+
|
|
322
|
+
### `notifications create-email-provider`
|
|
323
|
+
|
|
324
|
+
Create a new Email notification provider
|
|
325
|
+
|
|
326
|
+
**Options:**
|
|
327
|
+
|
|
328
|
+
| Flag | Description | Default | Required |
|
|
329
|
+
|------|-------------|---------|----------|
|
|
330
|
+
| `--config <json>` | Request-side SMTP config (JSON) [required] | - | No |
|
|
331
|
+
| `--enabled` | Body field enabled | - | No |
|
|
332
|
+
| `--no-enabled` | Set enabled to false | - | No |
|
|
333
|
+
| `--name <value>` | Body field name [required] | - | No |
|
|
334
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
335
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
336
|
+
| `--json` | Output in JSON format | - | No |
|
|
337
|
+
|
|
338
|
+
### `notifications create-webhook-provider`
|
|
339
|
+
|
|
340
|
+
Create a new Webhook notification provider
|
|
341
|
+
|
|
342
|
+
**Options:**
|
|
343
|
+
|
|
344
|
+
| Flag | Description | Default | Required |
|
|
345
|
+
|------|-------------|---------|----------|
|
|
346
|
+
| `--config <json>` | Configuration for a generic webhook notification provider (JSON) [required] | - | No |
|
|
347
|
+
| `--enabled` | Body field enabled | - | No |
|
|
348
|
+
| `--no-enabled` | Set enabled to false | - | No |
|
|
349
|
+
| `--name <value>` | Body field name [required] | - | No |
|
|
350
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
351
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
352
|
+
| `--json` | Output in JSON format | - | No |
|
|
353
|
+
|
|
354
|
+
### `notifications update-webhook-provider`
|
|
355
|
+
|
|
356
|
+
Update a Webhook notification provider
|
|
357
|
+
|
|
358
|
+
**Usage:** `notifications update-webhook-provider <id> [options]`
|
|
359
|
+
|
|
360
|
+
**Options:**
|
|
361
|
+
|
|
362
|
+
| Flag | Description | Default | Required |
|
|
363
|
+
|------|-------------|---------|----------|
|
|
364
|
+
| `--config <json>` | Configuration for a generic webhook notification provider (JSON) [required] | - | No |
|
|
365
|
+
| `--enabled` | Body field enabled | - | No |
|
|
366
|
+
| `--no-enabled` | Set enabled to false | - | No |
|
|
367
|
+
| `--name <value>` | Body field name | - | No |
|
|
368
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
369
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
370
|
+
| `--json` | Output in JSON format | - | No |
|
|
371
|
+
|
|
372
|
+
### `notifications reveal-provider-config`
|
|
373
|
+
|
|
374
|
+
Reveal notification provider config
|
|
375
|
+
|
|
376
|
+
**Usage:** `notifications reveal-provider-config <id> <field> [options]`
|
|
377
|
+
|
|
378
|
+
**Options:**
|
|
379
|
+
|
|
380
|
+
| Flag | Description | Default | Required |
|
|
381
|
+
|------|-------------|---------|----------|
|
|
382
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -4,6 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
6
|
|
|
7
|
+
## Contents
|
|
8
|
+
|
|
9
|
+
- [`otel ingest-errors`](#otel-ingest-errors)
|
|
10
|
+
- [`otel pipeline-history`](#otel-pipeline-history)
|
|
11
|
+
- [`otel alerts`](#otel-alerts)
|
|
12
|
+
- [`otel get-cloud-backfill-status`](#otel-get-cloud-backfill-status)
|
|
13
|
+
- [`otel dashboards`](#otel-dashboards)
|
|
14
|
+
- [`otel genai`](#otel-genai)
|
|
15
|
+
- [`otel has-traces`](#otel-has-traces)
|
|
16
|
+
- [`otel get-health`](#otel-get-health)
|
|
17
|
+
- [`otel insights`](#otel-insights)
|
|
18
|
+
- [`otel logs`](#otel-logs)
|
|
19
|
+
- [`otel get-pipeline-stats`](#otel-get-pipeline-stats)
|
|
20
|
+
- [`otel get-quota`](#otel-get-quota)
|
|
21
|
+
- [`otel observe`](#otel-observe)
|
|
22
|
+
|
|
7
23
|
## `otel`
|
|
8
24
|
|
|
9
25
|
Inspect the OTLP ingest pipeline itself — throughput, drops and failure reasons (server-wide, not project-scoped; see "temps metrics" to query ingested application metrics)
|
|
@@ -12,6 +28,17 @@ Inspect the OTLP ingest pipeline itself — throughput, drops and failure reason
|
|
|
12
28
|
|
|
13
29
|
- `ingest-errors` - Show why ingest batches were dropped, grouped by signal and failure reason
|
|
14
30
|
- `pipeline-history` - Show pipeline counter trends over time (received/stored/dropped per signal)
|
|
31
|
+
- `alerts` - Alerts commands
|
|
32
|
+
- `get-cloud-backfill-status` - Status of the most recent Temps Cloud telemetry backfill for a project
|
|
33
|
+
- `dashboards` - Dashboards commands
|
|
34
|
+
- `genai` - Genai commands
|
|
35
|
+
- `has-traces` - Whether a project has ever received at least one trace span
|
|
36
|
+
- `get-health` - Get health summaries for a project
|
|
37
|
+
- `insights` - Insights commands
|
|
38
|
+
- `logs` - Logs commands
|
|
39
|
+
- `get-pipeline-stats` - Get OTel pipeline statistics (admin/system view)
|
|
40
|
+
- `get-quota` - Get storage quota for a project
|
|
41
|
+
- `observe` - Observe commands
|
|
15
42
|
|
|
16
43
|
### `otel ingest-errors`
|
|
17
44
|
|
|
@@ -36,3 +63,412 @@ Show pipeline counter trends over time (received/stored/dropped per signal)
|
|
|
36
63
|
| `--start-time <iso>` | Explicit window start (RFC 3339) — overrides --period | - | No |
|
|
37
64
|
| `--end-time <iso>` | Explicit window end (RFC 3339) — overrides --period | - | No |
|
|
38
65
|
| `--json` | Output in JSON format | - | No |
|
|
66
|
+
|
|
67
|
+
### `otel alerts`
|
|
68
|
+
|
|
69
|
+
Alerts commands
|
|
70
|
+
|
|
71
|
+
**Subcommands:**
|
|
72
|
+
|
|
73
|
+
- `list` - List alert rules for a project (newest first, paginated)
|
|
74
|
+
- `create` - Create a new alert rule for a project
|
|
75
|
+
- `preview` - Backtest an anomaly detector over a time range without saving a rule
|
|
76
|
+
- `delete` - Delete an alert rule
|
|
77
|
+
- `get` - Fetch a single alert rule by id
|
|
78
|
+
- `update` - Update an alert rule's fields
|
|
79
|
+
|
|
80
|
+
#### `otel alerts list`
|
|
81
|
+
|
|
82
|
+
List alert rules for a project (newest first, paginated)
|
|
83
|
+
|
|
84
|
+
**Options:**
|
|
85
|
+
|
|
86
|
+
| Flag | Description | Default | Required |
|
|
87
|
+
|------|-------------|---------|----------|
|
|
88
|
+
| `--project-id <n>` | Project ID [required] | - | No |
|
|
89
|
+
| `--page <n>` | Page number (default: 1) | - | No |
|
|
90
|
+
| `--page-size <n>` | Page size (default: 20, max: 100) | - | No |
|
|
91
|
+
| `--json` | Output in JSON format | - | No |
|
|
92
|
+
|
|
93
|
+
#### `otel alerts create`
|
|
94
|
+
|
|
95
|
+
Create a new alert rule for a project
|
|
96
|
+
|
|
97
|
+
**Options:**
|
|
98
|
+
|
|
99
|
+
| Flag | Description | Default | Required |
|
|
100
|
+
|------|-------------|---------|----------|
|
|
101
|
+
| `--aggregation <value>` | One of 'avg\|sum\|min\|max\|count\|rate\|p50\|p90\|p95\|p99' [required] | - | No |
|
|
102
|
+
| `--detection-config <json>` | The detector: a discriminated union keyed by 'kind' (JSON) [required] | - | No |
|
|
103
|
+
| `--dynamic-alerts` | When true (and 'group_by' is set) fire one independent alarm per breaching series | - | No |
|
|
104
|
+
| `--no-dynamic-alerts` | Set dynamic_alerts to false | - | No |
|
|
105
|
+
| `--enabled` | Body field enabled [required] | - | No |
|
|
106
|
+
| `--no-enabled` | Set enabled to false | - | No |
|
|
107
|
+
| `--for-duration-secs <n>` | Body field for_duration_secs [required] | - | No |
|
|
108
|
+
| `--group-by <value>` | Label keys to break the metric down by, e.g. '["endpoint","region"]' (repeatable) | - | No |
|
|
109
|
+
| `--grouped-notification-threshold <n>` | When more than this many series transition to firing in the same tick, only the first gets the expensive... | - | No |
|
|
110
|
+
| `--label-filters <json>` | AND-combined label equality filters: '[["key","value"],…]' (JSON) | - | No |
|
|
111
|
+
| `--max-series <n>` | Cardinality cap for dynamic alerting: at most this many series (top by '\|value\|') | - | No |
|
|
112
|
+
| `--metric-name <value>` | The OTel metric to watch | - | No |
|
|
113
|
+
| `--name <value>` | Body field name [required] | - | No |
|
|
114
|
+
| `--project-id <n>` | Body field project_id [required] | - | No |
|
|
115
|
+
| `--severity <value>` | One of 'info\|warning\|critical' [required] | - | No |
|
|
116
|
+
| `--source <json>` | What the rule watches: the metric above (the default), or the number of log lines matching a saved search... (JSON) | - | No |
|
|
117
|
+
| `--window-secs <n>` | Body field window_secs [required] | - | No |
|
|
118
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
119
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
120
|
+
| `--json` | Output in JSON format | - | No |
|
|
121
|
+
|
|
122
|
+
#### `otel alerts preview`
|
|
123
|
+
|
|
124
|
+
Backtest an anomaly detector over a time range without saving a rule
|
|
125
|
+
|
|
126
|
+
**Options:**
|
|
127
|
+
|
|
128
|
+
| Flag | Description | Default | Required |
|
|
129
|
+
|------|-------------|---------|----------|
|
|
130
|
+
| `--aggregation <value>` | One of 'avg\|sum\|min\|max\|count\|rate\|p50\|p90\|p95\|p99' [required] | - | No |
|
|
131
|
+
| `--detection-config <json>` | The detector to backtest. 'static' and 'anomaly' are supported — the kinds the evaluator actually runs (JSON) [required] | - | No |
|
|
132
|
+
| `--end-time <value>` | RFC 3339; defaults to now | - | No |
|
|
133
|
+
| `--metric-name <value>` | Body field metric_name [required] | - | No |
|
|
134
|
+
| `--project-id <n>` | Body field project_id [required] | - | No |
|
|
135
|
+
| `--start-time <value>` | RFC 3339; defaults to 7 days before 'end_time' | - | No |
|
|
136
|
+
| `--window-secs <n>` | Body field window_secs [required] | - | No |
|
|
137
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
138
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
139
|
+
| `--json` | Output in JSON format | - | No |
|
|
140
|
+
|
|
141
|
+
#### `otel alerts delete`
|
|
142
|
+
|
|
143
|
+
Delete an alert rule
|
|
144
|
+
|
|
145
|
+
**Usage:** `otel alerts delete <id> [options]`
|
|
146
|
+
|
|
147
|
+
**Options:**
|
|
148
|
+
|
|
149
|
+
| Flag | Description | Default | Required |
|
|
150
|
+
|------|-------------|---------|----------|
|
|
151
|
+
| `--project-id <n>` | Owning project ID (scopes the delete) [required] | - | No |
|
|
152
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
153
|
+
| `--json` | Output in JSON format | - | No |
|
|
154
|
+
|
|
155
|
+
#### `otel alerts get`
|
|
156
|
+
|
|
157
|
+
Fetch a single alert rule by id
|
|
158
|
+
|
|
159
|
+
**Usage:** `otel alerts get <id> [options]`
|
|
160
|
+
|
|
161
|
+
**Options:**
|
|
162
|
+
|
|
163
|
+
| Flag | Description | Default | Required |
|
|
164
|
+
|------|-------------|---------|----------|
|
|
165
|
+
| `--project-id <n>` | Owning project ID (scopes the lookup) [required] | - | No |
|
|
166
|
+
| `--json` | Output in JSON format | - | No |
|
|
167
|
+
|
|
168
|
+
#### `otel alerts update`
|
|
169
|
+
|
|
170
|
+
Update an alert rule's fields
|
|
171
|
+
|
|
172
|
+
**Usage:** `otel alerts update <id> [options]`
|
|
173
|
+
|
|
174
|
+
**Options:**
|
|
175
|
+
|
|
176
|
+
| Flag | Description | Default | Required |
|
|
177
|
+
|------|-------------|---------|----------|
|
|
178
|
+
| `--project-id <n>` | Owning project ID (scopes the update) [required] | - | No |
|
|
179
|
+
| `--aggregation <value>` | Body field aggregation | - | No |
|
|
180
|
+
| `--detection-config <json>` | The typed detector definition stored (as jsonb) in 'metric_alert_rules.detection_config' (JSON) | - | No |
|
|
181
|
+
| `--dynamic-alerts` | Toggles per-series ("dynamic") alerting (absent = leave unchanged) | - | No |
|
|
182
|
+
| `--no-dynamic-alerts` | Set dynamic_alerts to false | - | No |
|
|
183
|
+
| `--enabled` | Body field enabled | - | No |
|
|
184
|
+
| `--no-enabled` | Set enabled to false | - | No |
|
|
185
|
+
| `--for-duration-secs <n>` | Body field for_duration_secs | - | No |
|
|
186
|
+
| `--group-by <value>` | Replaces the group_by keys wholesale when present (absent = leave unchanged) (repeatable) | - | No |
|
|
187
|
+
| `--grouped-notification-threshold <n>` | Updates the notification-grouping threshold (absent = leave unchanged) | - | No |
|
|
188
|
+
| `--label-filters <json>` | Replaces the label filters wholesale when present (absent = leave unchanged) (JSON) | - | No |
|
|
189
|
+
| `--max-series <n>` | Updates the dynamic-alerting cardinality cap (absent = leave unchanged) | - | No |
|
|
190
|
+
| `--metric-name <value>` | Body field metric_name | - | No |
|
|
191
|
+
| `--name <value>` | Body field name | - | No |
|
|
192
|
+
| `--severity <value>` | Body field severity | - | No |
|
|
193
|
+
| `--source <json>` | What series a rule is evaluated on (ADR 108 D1) (JSON) | - | No |
|
|
194
|
+
| `--window-secs <n>` | Body field window_secs | - | No |
|
|
195
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
196
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
197
|
+
| `--json` | Output in JSON format | - | No |
|
|
198
|
+
|
|
199
|
+
### `otel get-cloud-backfill-status`
|
|
200
|
+
|
|
201
|
+
Status of the most recent Temps Cloud telemetry backfill for a project
|
|
202
|
+
|
|
203
|
+
**Options:**
|
|
204
|
+
|
|
205
|
+
| Flag | Description | Default | Required |
|
|
206
|
+
|------|-------------|---------|----------|
|
|
207
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
208
|
+
| `--json` | Output in JSON format | - | No |
|
|
209
|
+
|
|
210
|
+
### `otel dashboards`
|
|
211
|
+
|
|
212
|
+
Dashboards commands
|
|
213
|
+
|
|
214
|
+
**Subcommands:**
|
|
215
|
+
|
|
216
|
+
- `list` - List dashboards for a project (newest first, paginated)
|
|
217
|
+
- `create` - Create a new dashboard for a project
|
|
218
|
+
- `delete` - Delete a dashboard
|
|
219
|
+
- `get` - Fetch a single dashboard by id
|
|
220
|
+
- `update` - Update a dashboard's name and/or layout
|
|
221
|
+
|
|
222
|
+
#### `otel dashboards list`
|
|
223
|
+
|
|
224
|
+
List dashboards for a project (newest first, paginated)
|
|
225
|
+
|
|
226
|
+
**Options:**
|
|
227
|
+
|
|
228
|
+
| Flag | Description | Default | Required |
|
|
229
|
+
|------|-------------|---------|----------|
|
|
230
|
+
| `--project-id <n>` | Project ID [required] | - | No |
|
|
231
|
+
| `--page <n>` | Page number (default: 1) | - | No |
|
|
232
|
+
| `--page-size <n>` | Page size (default: 20, max: 100) | - | No |
|
|
233
|
+
| `--json` | Output in JSON format | - | No |
|
|
234
|
+
|
|
235
|
+
#### `otel dashboards create`
|
|
236
|
+
|
|
237
|
+
Create a new dashboard for a project
|
|
238
|
+
|
|
239
|
+
**Options:**
|
|
240
|
+
|
|
241
|
+
| Flag | Description | Default | Required |
|
|
242
|
+
|------|-------------|---------|----------|
|
|
243
|
+
| `--layout <json>` | The typed layout persisted (as JSONB) in 'metric_dashboards.layout' (JSON) [required] | - | No |
|
|
244
|
+
| `--name <value>` | Body field name [required] | - | No |
|
|
245
|
+
| `--project-id <n>` | Body field project_id [required] | - | No |
|
|
246
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
247
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
248
|
+
| `--json` | Output in JSON format | - | No |
|
|
249
|
+
|
|
250
|
+
#### `otel dashboards delete`
|
|
251
|
+
|
|
252
|
+
Delete a dashboard
|
|
253
|
+
|
|
254
|
+
**Usage:** `otel dashboards delete <id> [options]`
|
|
255
|
+
|
|
256
|
+
**Options:**
|
|
257
|
+
|
|
258
|
+
| Flag | Description | Default | Required |
|
|
259
|
+
|------|-------------|---------|----------|
|
|
260
|
+
| `--project-id <n>` | Owning project ID (scopes the delete) [required] | - | No |
|
|
261
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
262
|
+
| `--json` | Output in JSON format | - | No |
|
|
263
|
+
|
|
264
|
+
#### `otel dashboards get`
|
|
265
|
+
|
|
266
|
+
Fetch a single dashboard by id
|
|
267
|
+
|
|
268
|
+
**Usage:** `otel dashboards get <id> [options]`
|
|
269
|
+
|
|
270
|
+
**Options:**
|
|
271
|
+
|
|
272
|
+
| Flag | Description | Default | Required |
|
|
273
|
+
|------|-------------|---------|----------|
|
|
274
|
+
| `--project-id <n>` | Owning project ID (scopes the lookup) [required] | - | No |
|
|
275
|
+
| `--json` | Output in JSON format | - | No |
|
|
276
|
+
|
|
277
|
+
#### `otel dashboards update`
|
|
278
|
+
|
|
279
|
+
Update a dashboard's name and/or layout
|
|
280
|
+
|
|
281
|
+
**Usage:** `otel dashboards update <id> [options]`
|
|
282
|
+
|
|
283
|
+
**Options:**
|
|
284
|
+
|
|
285
|
+
| Flag | Description | Default | Required |
|
|
286
|
+
|------|-------------|---------|----------|
|
|
287
|
+
| `--project-id <n>` | Owning project ID (scopes the update) [required] | - | No |
|
|
288
|
+
| `--layout <json>` | The typed layout persisted (as JSONB) in 'metric_dashboards.layout' (JSON) | - | No |
|
|
289
|
+
| `--name <value>` | Body field name | - | No |
|
|
290
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
291
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
292
|
+
| `--json` | Output in JSON format | - | No |
|
|
293
|
+
|
|
294
|
+
### `otel genai`
|
|
295
|
+
|
|
296
|
+
Genai commands
|
|
297
|
+
|
|
298
|
+
**Subcommands:**
|
|
299
|
+
|
|
300
|
+
- `query-traces` - Query GenAI trace summaries — traces containing spans with 'gen_ai.*' attributes
|
|
301
|
+
- `get-trace` - Get GenAI span details for a specific trace
|
|
302
|
+
|
|
303
|
+
#### `otel genai query-traces`
|
|
304
|
+
|
|
305
|
+
Query GenAI trace summaries — traces containing spans with 'gen_ai.*' attributes
|
|
306
|
+
|
|
307
|
+
**Options:**
|
|
308
|
+
|
|
309
|
+
| Flag | Description | Default | Required |
|
|
310
|
+
|------|-------------|---------|----------|
|
|
311
|
+
| `--project-id <n>` | Project ID [required] | - | No |
|
|
312
|
+
| `--service-name <value>` | Filter by service name | - | No |
|
|
313
|
+
| `--gen-ai-system <value>` | Filter by AI system (openai, anthropic, etc.) | - | No |
|
|
314
|
+
| `--gen-ai-model <value>` | Filter by model (gpt-6.2-sol, claude-sonnet-5-5, etc.) | - | No |
|
|
315
|
+
| `--start-time <value>` | Start time (RFC 3339) | - | No |
|
|
316
|
+
| `--end-time <value>` | End time (RFC 3339) | - | No |
|
|
317
|
+
| `--limit <n>` | Max traces to return (default: 50, max: 100) | - | No |
|
|
318
|
+
| `--offset <n>` | Offset for pagination | - | No |
|
|
319
|
+
| `--json` | Output in JSON format | - | No |
|
|
320
|
+
|
|
321
|
+
#### `otel genai get-trace`
|
|
322
|
+
|
|
323
|
+
Get GenAI span details for a specific trace
|
|
324
|
+
|
|
325
|
+
**Usage:** `otel genai get-trace <trace-id> [options]`
|
|
326
|
+
|
|
327
|
+
**Options:**
|
|
328
|
+
|
|
329
|
+
| Flag | Description | Default | Required |
|
|
330
|
+
|------|-------------|---------|----------|
|
|
331
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
332
|
+
| `--start-time <value>` | Window start (RFC 3339); pair with end_time, max 31 days | - | No |
|
|
333
|
+
| `--end-time <value>` | Window end (RFC 3339); pair with start_time, max 31 days | - | No |
|
|
334
|
+
| `--json` | Output in JSON format | - | No |
|
|
335
|
+
|
|
336
|
+
### `otel has-traces`
|
|
337
|
+
|
|
338
|
+
Whether a project has ever received at least one trace span
|
|
339
|
+
|
|
340
|
+
**Options:**
|
|
341
|
+
|
|
342
|
+
| Flag | Description | Default | Required |
|
|
343
|
+
|------|-------------|---------|----------|
|
|
344
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
345
|
+
| `--json` | Output in JSON format | - | No |
|
|
346
|
+
|
|
347
|
+
### `otel get-health`
|
|
348
|
+
|
|
349
|
+
Get health summaries for a project
|
|
350
|
+
|
|
351
|
+
**Options:**
|
|
352
|
+
|
|
353
|
+
| Flag | Description | Default | Required |
|
|
354
|
+
|------|-------------|---------|----------|
|
|
355
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
356
|
+
| `--environment-id <n>` | Filter by environment ID | - | No |
|
|
357
|
+
| `--json` | Output in JSON format | - | No |
|
|
358
|
+
|
|
359
|
+
### `otel insights`
|
|
360
|
+
|
|
361
|
+
Insights commands
|
|
362
|
+
|
|
363
|
+
**Subcommands:**
|
|
364
|
+
|
|
365
|
+
- `list` - List anomaly insights for a project
|
|
366
|
+
|
|
367
|
+
#### `otel insights list`
|
|
368
|
+
|
|
369
|
+
List anomaly insights for a project
|
|
370
|
+
|
|
371
|
+
**Options:**
|
|
372
|
+
|
|
373
|
+
| Flag | Description | Default | Required |
|
|
374
|
+
|------|-------------|---------|----------|
|
|
375
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
376
|
+
| `--status <value>` | Filter by status (active, resolved) | - | No |
|
|
377
|
+
| `--limit <n>` | Max insights to return (default: 20, max: 100) | - | No |
|
|
378
|
+
| `--offset <n>` | Offset for pagination | - | No |
|
|
379
|
+
| `--json` | Output in JSON format | - | No |
|
|
380
|
+
|
|
381
|
+
### `otel logs`
|
|
382
|
+
|
|
383
|
+
Logs commands
|
|
384
|
+
|
|
385
|
+
**Subcommands:**
|
|
386
|
+
|
|
387
|
+
- `query` - Query log records with optional filters
|
|
388
|
+
|
|
389
|
+
#### `otel logs query`
|
|
390
|
+
|
|
391
|
+
Query log records with optional filters
|
|
392
|
+
|
|
393
|
+
**Options:**
|
|
394
|
+
|
|
395
|
+
| Flag | Description | Default | Required |
|
|
396
|
+
|------|-------------|---------|----------|
|
|
397
|
+
| `--project-id <n>` | Project ID [required] | - | No |
|
|
398
|
+
| `--severity <value>` | Filter by severity (TRACE, DEBUG, INFO, WARN, ERROR, FATAL) | - | No |
|
|
399
|
+
| `--service-name <value>` | Filter by service name | - | No |
|
|
400
|
+
| `--search <value>` | Full-text search in log body (ILIKE) | - | No |
|
|
401
|
+
| `--attribute-key <value>` | Exact attribute key; pair with attribute_value | - | No |
|
|
402
|
+
| `--attribute-value <value>` | Exact string or numeric text, preserving int64 precision | - | No |
|
|
403
|
+
| `--attribute-type <value>` | Optional native declared type; older records without type metadata do not match (one of: string, boolean, integer, double, array, object, bytes) | - | No |
|
|
404
|
+
| `--attribute-op <value>` | Default eq; numeric types also support lt/lte/gt/gte (one of: eq, ne, lt, lte, gt, gte) | - | No |
|
|
405
|
+
| `--trace-id <value>` | Filter by correlated trace ID | - | No |
|
|
406
|
+
| `--start-time <value>` | Start time (RFC 3339) | - | No |
|
|
407
|
+
| `--end-time <value>` | End time (RFC 3339) | - | No |
|
|
408
|
+
| `--limit <n>` | Max logs to return (default: 100, max: 1000) | - | No |
|
|
409
|
+
| `--offset <n>` | Offset for pagination | - | No |
|
|
410
|
+
| `--json` | Output in JSON format | - | No |
|
|
411
|
+
|
|
412
|
+
### `otel get-pipeline-stats`
|
|
413
|
+
|
|
414
|
+
Get OTel pipeline statistics (admin/system view)
|
|
415
|
+
|
|
416
|
+
**Options:**
|
|
417
|
+
|
|
418
|
+
| Flag | Description | Default | Required |
|
|
419
|
+
|------|-------------|---------|----------|
|
|
420
|
+
| `--json` | Output in JSON format | - | No |
|
|
421
|
+
|
|
422
|
+
### `otel get-quota`
|
|
423
|
+
|
|
424
|
+
Get storage quota for a project
|
|
425
|
+
|
|
426
|
+
**Options:**
|
|
427
|
+
|
|
428
|
+
| Flag | Description | Default | Required |
|
|
429
|
+
|------|-------------|---------|----------|
|
|
430
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
431
|
+
| `--json` | Output in JSON format | - | No |
|
|
432
|
+
|
|
433
|
+
### `otel observe`
|
|
434
|
+
|
|
435
|
+
Observe commands
|
|
436
|
+
|
|
437
|
+
**Subcommands:**
|
|
438
|
+
|
|
439
|
+
- `observability-list-events` - List a merged page of observability events for a project
|
|
440
|
+
- `observability-full-event` - Fetch the un-truncated form of one event by '(kind, id)'
|
|
441
|
+
|
|
442
|
+
#### `otel observe observability-list-events`
|
|
443
|
+
|
|
444
|
+
List a merged page of observability events for a project
|
|
445
|
+
|
|
446
|
+
**Options:**
|
|
447
|
+
|
|
448
|
+
| Flag | Description | Default | Required |
|
|
449
|
+
|------|-------------|---------|----------|
|
|
450
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
451
|
+
| `--kinds <value>` | Comma-separated kinds: 'request,span,error,revenue' | - | No |
|
|
452
|
+
| `--from <value>` | Inclusive lower bound on event timestamp (ISO 8601, 'Z' suffix) | - | No |
|
|
453
|
+
| `--to <value>` | Inclusive upper bound on event timestamp | - | No |
|
|
454
|
+
| `--deployment-id <n>` | Query parameter deployment_id | - | No |
|
|
455
|
+
| `--environment-id <n>` | Query parameter environment_id | - | No |
|
|
456
|
+
| `--search <value>` | Free-text substring matched against per-kind summary fields (request path / error class / revenue event_type) | - | No |
|
|
457
|
+
| `--limit <n>` | Page size (default 50, max 200) | - | No |
|
|
458
|
+
| `--hide-bots` | When 'true', exclude bot/crawler request rows | - | No |
|
|
459
|
+
| `--no-hide-bots` | Set hide_bots to false | - | No |
|
|
460
|
+
| `--json` | Output in JSON format | - | No |
|
|
461
|
+
|
|
462
|
+
#### `otel observe observability-full-event`
|
|
463
|
+
|
|
464
|
+
Fetch the un-truncated form of one event by '(kind, id)'
|
|
465
|
+
|
|
466
|
+
**Usage:** `otel observe observability-full-event <kind> <event-id> [options]`
|
|
467
|
+
|
|
468
|
+
**Options:**
|
|
469
|
+
|
|
470
|
+
| Flag | Description | Default | Required |
|
|
471
|
+
|------|-------------|---------|----------|
|
|
472
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
473
|
+
| `--ts <value>` | The row's event timestamp as returned by the list endpoint | - | No |
|
|
474
|
+
| `--json` | Output in JSON format | - | No |
|