This command is only available on Astro.
astro env metrics-export
astro env metrics-export delete
Delete an Environment Manager metrics export.
Delete a metrics export, identified by its ID or key.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Delete an Environment Manager metrics export.
astro env metrics-export delete <id-or-key>
| Option | Description | Possible Values |
|---|---|---|
<id-or-key> | The ID or key of the metrics export to delete. | Any valid metrics export ID or key |
-y,--yes | Skip the confirmation prompt. | None |
--workspace-id | Set the Workspace scope. Mutually exclusive with --deployment-id. Defaults to your current Workspace from CLI context. | Any valid Workspace ID |
--deployment-id | Set the Deployment scope. Mutually exclusive with --workspace-id. | Any valid Deployment ID |
# Delete a Workspace metrics export by key, skipping the confirmation prompt
astro env metrics-export delete prom_main --workspace-id <workspace-id> --yes
Was this page helpful?