Skip to content

dt cost

Overview

This command provides cost aggregation views for job runs and budget management.

Synopsis

dt cost SUBCOMMAND [OPTIONS] [ARGUMENTS]

Available Subcommands

  • cost view - View daily costs aggregated by owner, type, environment and instance type
  • cost list-budgets - List budgets visible to you with budget cap, usage (USD), usage as a percent of budget (current UTC month), and prevent-overflow flag when you can read caps
  • cost add-budget - Create a budget (admin only). Optional ACL via --users, --groups, --others. Use -P/--prevent-overflow to enable cap enforcement.
  • cost get-budget - Show one budget including budget cap, usage, usage percent, and prevent-overflow flag
  • cost update-budget - Update a budget (admin only). Provide --amount and/or --prevent-overflow (at least one required).
  • cost get-budget-acl - Get ACL JSON for a budget. Read permission lets users see the budget cap and current usage. Operate permission lets users assign jobs to this budget.
  • cost set-budget-acl - Replace budget ACL from flags (admin only). If no ACL flags are passed, ACL is replaced with an empty object.
  • cost add-budget-acl - Merge entries into budget ACL (admin only). At least one of --users, --groups, --others is required.
  • cost remove-budget-acl - Remove ACL entries from a budget (admin only). At least one of --users, --groups, --others is required.
  • cost remove-budget - Remove a budget that has no jobs (admin only). The default budget cannot be removed.

SEE ALSO

← Back to dt