astro env metrics-export delete

This command is only available on Astro.

Delete a metrics export, identified by its ID or key.

Usage

$astro env metrics-export delete <id-or-key>

Options

OptionDescriptionPossible Values
<id-or-key>The ID or key of the metrics export to delete.Any valid metrics export ID or key
-y,--yesSkip the confirmation prompt.None
--workspace-idSet the Workspace scope. Mutually exclusive with --deployment-id. Defaults to your current Workspace from CLI context.Any valid Workspace ID
--deployment-idSet the Deployment scope. Mutually exclusive with --workspace-id.Any valid Deployment ID

Examples

$# Delete a Workspace metrics export by key, skipping the confirmation prompt
$astro env metrics-export delete prom_main --workspace-id <workspace-id> --yes