@temps-sdk/cli 0.1.38 → 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/README.md +14 -0
- package/dist/index.js +63877 -40097
- package/dist/skills/temps/SKILL.md +18 -9
- package/dist/skills/temps/evals/evals.json +23 -6
- package/dist/skills/temps/howtos/agent-handoff.md +106 -0
- package/dist/skills/temps/howtos/ci-automation.md +2 -3
- package/dist/skills/temps/howtos/curated-services.md +69 -0
- package/dist/skills/temps/howtos/deploy-application.md +8 -1
- package/dist/skills/temps/howtos/edge-rules.md +135 -0
- package/dist/skills/temps/howtos/managed-services.md +4 -4
- package/dist/skills/temps/howtos/projects-and-monorepos.md +2 -1
- package/dist/skills/temps/references/cli-runtime.md +10 -18
- package/dist/skills/temps/references/commands/INDEX.md +11 -0
- package/dist/skills/temps/references/commands/access.md +4 -0
- package/dist/skills/temps/references/commands/agents.md +731 -0
- package/dist/skills/temps/references/commands/ai.md +2638 -9
- package/dist/skills/temps/references/commands/alarms.md +129 -0
- package/dist/skills/temps/references/commands/analytics.md +1199 -2
- package/dist/skills/temps/references/commands/apikeys.md +50 -1
- package/dist/skills/temps/references/commands/audit.md +1 -0
- package/dist/skills/temps/references/commands/backups.md +312 -0
- package/dist/skills/temps/references/commands/blob.md +169 -0
- package/dist/skills/temps/references/commands/cloud.md +73 -0
- package/dist/skills/temps/references/commands/cluster.md +223 -0
- package/dist/skills/temps/references/commands/configure.md +7 -0
- package/dist/skills/temps/references/commands/containers.md +45 -0
- package/dist/skills/temps/references/commands/context.md +6 -0
- package/dist/skills/temps/references/commands/custom-domains.md +32 -0
- package/dist/skills/temps/references/commands/data.md +11 -13
- 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/deploy.md +2 -0
- package/dist/skills/temps/references/commands/deployments.md +560 -0
- package/dist/skills/temps/references/commands/dns-provider.md +63 -0
- package/dist/skills/temps/references/commands/domains.md +105 -0
- package/dist/skills/temps/references/commands/drop.md +2 -0
- package/dist/skills/temps/references/commands/edge-rules.md +218 -0
- package/dist/skills/temps/references/commands/email-domains.md +1 -0
- package/dist/skills/temps/references/commands/email-providers.md +64 -1
- package/dist/skills/temps/references/commands/emails.md +91 -0
- package/dist/skills/temps/references/commands/env-pull.md +2 -0
- package/dist/skills/temps/references/commands/env-push.md +2 -0
- package/dist/skills/temps/references/commands/environments.md +695 -2
- package/dist/skills/temps/references/commands/errors.md +1134 -61
- package/dist/skills/temps/references/commands/facets.md +6 -0
- package/dist/skills/temps/references/commands/flags.md +179 -0
- package/dist/skills/temps/references/commands/funnels.md +22 -2
- package/dist/skills/temps/references/commands/incidents.md +22 -0
- package/dist/skills/temps/references/commands/init.md +2 -0
- package/dist/skills/temps/references/commands/instances.md +6 -0
- package/dist/skills/temps/references/commands/instantiations.md +4 -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/link.md +2 -0
- package/dist/skills/temps/references/commands/load-balancer.md +2 -0
- package/dist/skills/temps/references/commands/login.md +9 -1
- package/dist/skills/temps/references/commands/logs.md +405 -10
- package/dist/skills/temps/references/commands/mcp-servers.md +4 -0
- package/dist/skills/temps/references/commands/mcp.md +8 -1
- package/dist/skills/temps/references/commands/migrate.md +26 -0
- package/dist/skills/temps/references/commands/monitors.md +456 -0
- package/dist/skills/temps/references/commands/network-policy.md +147 -0
- package/dist/skills/temps/references/commands/nodes.md +209 -2
- package/dist/skills/temps/references/commands/notifications.md +173 -2
- package/dist/skills/temps/references/commands/open.md +2 -0
- package/dist/skills/temps/references/commands/otel-forward.md +16 -0
- package/dist/skills/temps/references/commands/otel.md +436 -0
- package/dist/skills/temps/references/commands/platform.md +57 -0
- package/dist/skills/temps/references/commands/plugin.md +106 -1
- package/dist/skills/temps/references/commands/presets.md +2 -0
- package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
- package/dist/skills/temps/references/commands/project-groups.md +72 -4
- package/dist/skills/temps/references/commands/projects.md +509 -4
- package/dist/skills/temps/references/commands/providers.md +533 -1
- package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
- package/dist/skills/temps/references/commands/revenue.md +223 -0
- package/dist/skills/temps/references/commands/rollback.md +2 -0
- package/dist/skills/temps/references/commands/sandbox.md +790 -10
- package/dist/skills/temps/references/commands/secrets.md +19 -6
- package/dist/skills/temps/references/commands/server.md +107 -0
- package/dist/skills/temps/references/commands/services.md +836 -5
- package/dist/skills/temps/references/commands/session-replay.md +8 -0
- 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/skills.md +6 -0
- package/dist/skills/temps/references/commands/start.md +1 -0
- package/dist/skills/temps/references/commands/status-pages.md +376 -9
- package/dist/skills/temps/references/commands/status.md +2 -0
- package/dist/skills/temps/references/commands/surveys.md +165 -0
- package/dist/skills/temps/references/commands/teams.md +28 -0
- package/dist/skills/temps/references/commands/templates.md +22 -2
- package/dist/skills/temps/references/commands/tokens.md +106 -0
- package/dist/skills/temps/references/commands/traces.md +207 -0
- package/dist/skills/temps/references/commands/traefik-discovery.md +10 -0
- package/dist/skills/temps/references/commands/tunnels.md +141 -0
- package/dist/skills/temps/references/commands/up.md +2 -0
- package/dist/skills/temps/references/commands/users.md +127 -0
- package/dist/skills/temps/references/commands/vault.md +662 -0
- package/dist/skills/temps/references/commands/webhooks.md +10 -0
- package/dist/skills/temps/references/commands/workflow.md +2 -0
- package/dist/skills/temps/references/commands/workflows.md +563 -0
- package/dist/skills/temps/references/observability/analytics.md +2 -2
- package/dist/skills/temps/references/workflows/platform-operations.md +46 -36
- package/dist/skills/temps/scripts/generate_command_references.py +5 -3
- package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
- package/dist/skills/temps/scripts/test_validate_skill.py +25 -66
- package/dist/skills/temps/scripts/validate_skill.py +29 -43
- package/package.json +9 -3
- package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
|
@@ -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 |
|
|
@@ -10,6 +10,10 @@ View platform and server information
|
|
|
10
10
|
|
|
11
11
|
**Subcommands:**
|
|
12
12
|
|
|
13
|
+
- `operations` (`ops`) - List recent and in-flight operations: deployments, rollbacks, promotions, restores, backups, autofixes
|
|
14
|
+
- `maturity` - Show the compatibility promise (stable, beta, experimental) for every feature
|
|
15
|
+
- `geo` - Look up the location of an IP address in the server's geolocation database
|
|
16
|
+
- `file` - Print a file from the server's static directory (or save it with -o)
|
|
13
17
|
- `info` - Get platform information
|
|
14
18
|
- `features` - Show which capabilities the server process actually provides
|
|
15
19
|
- `access` - Get access and networking information
|
|
@@ -18,6 +22,55 @@ View platform and server information
|
|
|
18
22
|
- `update` - Check for and apply temps releases on the server
|
|
19
23
|
- `alert-rules` - Inspect and retune the control-plane's own monitoring alert rules
|
|
20
24
|
|
|
25
|
+
### `platform operations` (alias: `ops`)
|
|
26
|
+
|
|
27
|
+
List recent and in-flight operations: deployments, rollbacks, promotions, restores, backups, autofixes
|
|
28
|
+
|
|
29
|
+
**Options:**
|
|
30
|
+
|
|
31
|
+
| Flag | Description | Default | Required |
|
|
32
|
+
|------|-------------|---------|----------|
|
|
33
|
+
| `--status <status>` | Which ones: running, waiting, finished, all (default: the server's) | - | No |
|
|
34
|
+
| `--kind <kind>` | Only one kind: deployment, rollback, promotion, restore, backup, autofix | - | No |
|
|
35
|
+
| `--project <id>` | Only this project ID | - | No |
|
|
36
|
+
| `--page <n>` | Page (default 1) | - | No |
|
|
37
|
+
| `--page-size <n>` | Operations per page (max 100) | - | No |
|
|
38
|
+
| `--json` | Output in JSON format | - | No |
|
|
39
|
+
|
|
40
|
+
### `platform maturity`
|
|
41
|
+
|
|
42
|
+
Show the compatibility promise (stable, beta, experimental) for every feature
|
|
43
|
+
|
|
44
|
+
**Options:**
|
|
45
|
+
|
|
46
|
+
| Flag | Description | Default | Required |
|
|
47
|
+
|------|-------------|---------|----------|
|
|
48
|
+
| `--json` | Output in JSON format | - | No |
|
|
49
|
+
|
|
50
|
+
### `platform geo`
|
|
51
|
+
|
|
52
|
+
Look up the location of an IP address in the server's geolocation database
|
|
53
|
+
|
|
54
|
+
**Usage:** `platform geo <ip> [options]`
|
|
55
|
+
|
|
56
|
+
**Options:**
|
|
57
|
+
|
|
58
|
+
| Flag | Description | Default | Required |
|
|
59
|
+
|------|-------------|---------|----------|
|
|
60
|
+
| `--json` | Output in JSON format | - | No |
|
|
61
|
+
|
|
62
|
+
### `platform file`
|
|
63
|
+
|
|
64
|
+
Print a file from the server's static directory (or save it with -o)
|
|
65
|
+
|
|
66
|
+
**Usage:** `platform file <path> [options]`
|
|
67
|
+
|
|
68
|
+
**Options:**
|
|
69
|
+
|
|
70
|
+
| Flag | Description | Default | Required |
|
|
71
|
+
|------|-------------|---------|----------|
|
|
72
|
+
| `-o, --output <file>` | Write it to a file instead of stdout | - | No |
|
|
73
|
+
|
|
21
74
|
### `platform info`
|
|
22
75
|
|
|
23
76
|
Get platform information
|
|
@@ -91,6 +144,8 @@ Ask the release API for the newest version on this channel now
|
|
|
91
144
|
|
|
92
145
|
Show or set the release channel: stable, beta, nightly, or "auto" to follow the installed version
|
|
93
146
|
|
|
147
|
+
**Usage:** `platform update channel [channel] [options]`
|
|
148
|
+
|
|
94
149
|
**Options:**
|
|
95
150
|
|
|
96
151
|
| Flag | Description | Default | Required |
|
|
@@ -133,6 +188,8 @@ List the alert rules watching this node (proxy health, socket exhaustion)
|
|
|
133
188
|
|
|
134
189
|
Retune, enable, or disable an alert rule on this node
|
|
135
190
|
|
|
191
|
+
**Usage:** `platform alert-rules set <rule-id> [options]`
|
|
192
|
+
|
|
136
193
|
**Options:**
|
|
137
194
|
|
|
138
195
|
| Flag | Description | Default | Required |
|