cx-profiling
Installation
SKILL.md
Profiling Skill
Use this skill to answer continuous-profiling questions — which services
burn the most CPU or memory, and which functions inside a service are
responsible — via the Coralogix profiling API. Requires the
profiles.cpu-profiles:Read permission.
CLI Commands
| Command | Purpose | Key flags |
|---|---|---|
cx profiling services |
Profiled services ranked by CPU+wall seconds (cpu) or allocated+heap bytes (memory) |
--category (required), --environment, --limit (default 20, max 100), --offset, --include-time-series |
cx profiling metadata <service> |
A service's language and which profile types have data | - |
cx profiling filters <service> |
Label keys a service's profiles can be filtered by, with their values | --profile-type (required), --filter, --max-values-per-key (default 50) |
cx profiling metrics <service> |
One profile type's usage over time, split by service, pod, or any label; highest totals first |
--profile-type (required), --sum-by (default service), --max-buckets (default 60), --limit (default 10), --filter |
cx profiling flame-graph <service> |
Decoded flame graph plus the top functions by self value | --profile-type (required), --filter, --top-functions (default 20), --min-node-ratio (default 0.01), --max-depth, --show-kernel |