数据与研究

cx-cost-optimization

coralogix/cx-cli

Use this skill when the user asks to "check data usage", "list TCO policies", "reduce Coralogix costs", "optimize observability spend", "lower our logging bill", "data budget exceeded", "TCO policy", "retention tier", "archive storage", "ingestion costs", "frequent search vs archive", "why is our bill so high", "spending too much on logs", "data retention settings", "cost analysis", "usage breakdown", "optimize log volume", "control data ingestion", "archive cold data", "billing units", "plan consumption", "daily plan", "overage", "PAYG", "usage anomaly", "usage trend", "cx_data_usage_units", or wants to investigate, analyze, or reduce Coralogix data costs.

  • 3579 次安装
  • 229 星标
  • 收录于

安装命令

npx skills add https://github.com/coralogix/cx-cli --skill cx-cost-optimization

SKILL.md

Cost Optimization Skill

Use this skill when investigating or reducing Coralogix data costs. It covers the full cost management lifecycle: measuring current spend, reviewing TCO policies, adjusting retention periods, and configuring archive storage for cold data.


CLI Commands

Command Subcommands Purpose
cx usage summary, daily, logs-count, spans-count, export-status, capabilities, query Measure current data consumption and billable usage
cx tco list, get, create, update, delete, reorder, test, settings, settings-update Manage TCO (Total Cost of Ownership) policies
cx retentions list, update, activate, status Manage data retention periods
cx archive logs get, set Configure logs archive target
cx archive metrics get, create, update, enable, disable, validate Configure metrics archive storage
cx metrics query <promql> (positional), --time Query billing and usage metrics via PromQL (instant)
cx metrics query-range <promql> (positional), --start/--end Query billing and usage metrics via PromQL (range)