@oneuptime/cli 14.0.103 → 14.0.105
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 +22 -12
- package/build/dist/Index.js +94787 -70702
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -153,12 +153,13 @@ oneuptime team-member create --team-id <team-id> --user-email new-hire@example.c
|
|
|
153
153
|
|
|
154
154
|
### Utility Commands
|
|
155
155
|
|
|
156
|
-
| Command
|
|
157
|
-
|
|
|
158
|
-
| `oneuptime version`
|
|
159
|
-
| `oneuptime whoami`
|
|
160
|
-
| `oneuptime resources`
|
|
161
|
-
| `oneuptime deploy`
|
|
156
|
+
| Command | Description |
|
|
157
|
+
| ---------------------- | ------------------------------------------------------------------ |
|
|
158
|
+
| `oneuptime version` | Print CLI version |
|
|
159
|
+
| `oneuptime whoami` | Show current authentication info |
|
|
160
|
+
| `oneuptime resources` | List all available resource types |
|
|
161
|
+
| `oneuptime deploy` | Record a deploy, or another change, for charts and OneUptime AI |
|
|
162
|
+
| `oneuptime dbt upload` | Send a dbt project's artifacts to Data Observability after a build |
|
|
162
163
|
|
|
163
164
|
`oneuptime deploy` writes with a telemetry ingestion key, not an API key:
|
|
164
165
|
|
|
@@ -168,6 +169,14 @@ ONEUPTIME_TELEMETRY_INGESTION_KEY=xxx \
|
|
|
168
169
|
oneuptime deploy --service checkout --service-version 2.3.1 --commit "$GIT_SHA" --environment production
|
|
169
170
|
```
|
|
170
171
|
|
|
172
|
+
`oneuptime dbt upload` sends a dbt project's `manifest.json` and `run_results.json` after a build, with the same key:
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
ONEUPTIME_URL=https://oneuptime.com \
|
|
176
|
+
ONEUPTIME_TELEMETRY_INGESTION_KEY=xxx \
|
|
177
|
+
oneuptime dbt upload --target-path target
|
|
178
|
+
```
|
|
179
|
+
|
|
171
180
|
## Output Formats
|
|
172
181
|
|
|
173
182
|
| Format | Description |
|
|
@@ -212,12 +221,12 @@ An agent that runs commands can work with OneUptime through the CLI instead of t
|
|
|
212
221
|
|
|
213
222
|
## Environment Variables
|
|
214
223
|
|
|
215
|
-
| Variable | Description
|
|
216
|
-
| ----------------------------------- |
|
|
217
|
-
| `ONEUPTIME_API_KEY` | API key for authentication
|
|
218
|
-
| `ONEUPTIME_URL` | OneUptime instance URL
|
|
219
|
-
| `ONEUPTIME_TELEMETRY_INGESTION_KEY` | Telemetry ingestion key for `oneuptime deploy` |
|
|
220
|
-
| `NO_COLOR` | Disable colored output
|
|
224
|
+
| Variable | Description |
|
|
225
|
+
| ----------------------------------- | ------------------------------------------------------------------------- |
|
|
226
|
+
| `ONEUPTIME_API_KEY` | API key for authentication |
|
|
227
|
+
| `ONEUPTIME_URL` | OneUptime instance URL |
|
|
228
|
+
| `ONEUPTIME_TELEMETRY_INGESTION_KEY` | Telemetry ingestion key for `oneuptime deploy` and `oneuptime dbt upload` |
|
|
229
|
+
| `NO_COLOR` | Disable colored output |
|
|
221
230
|
|
|
222
231
|
## Configuration File
|
|
223
232
|
|
|
@@ -265,6 +274,7 @@ Some of them, by area:
|
|
|
265
274
|
| On-call | `on-call-policy`, `on-call-policy-schedule`, `escalation-rule` |
|
|
266
275
|
| Teams and access | `team`, `team-member`, `label`, `api-key` |
|
|
267
276
|
| Infrastructure | `host`, `kubernetes-cluster`, `network-device`, `service` |
|
|
277
|
+
| Cloud | `cloud-account`, `cloud-resource`, `cloud-budget` |
|
|
268
278
|
| Automation | `workflow`, `runbook`, `dashboard` |
|
|
269
279
|
| Telemetry | `log`, `metric`, `span`, `exception-instance`, `monitor-log`, `audit-log` |
|
|
270
280
|
|