cx-cost-optimization

Installation
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 Measure current data consumption
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)

Key flags:

Related skills
Installs
147
GitHub Stars
101
First Seen
9 days ago