This command is only available on Astro.
astro env metrics-export
astro env metrics-export get
Get a single Environment Manager metrics export.
Get a single metrics export 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.
Get a single Environment Manager metrics export.
astro env metrics-export get <id-or-key>
| Option | Description | Possible Values |
|---|---|---|
<id-or-key> | The ID or key of the metrics export to get. | Any valid metrics export ID or key |
--format | The output format. Defaults to table. | table, json, or yaml |
--include-secrets | Surface secret values in the output. Requires an Organization policy that allows it. | 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 |
# Get a Workspace metrics export by key
astro env metrics-export get prom_main --workspace-id <workspace-id>
Was this page helpful?