Loading...
Loading...
Query Coralogix's Service Catalog (APM v2 entities) with the `cx service-catalog` CLI — discover entity types, list known entities, check their schema, and pull aggregated or timeseries data for services, databases, operations, JVMs, and Kubernetes pods. Use when the user asks to "list services", "what entity types exist", "show me service latency", "check error rate for a service", "which pods are using the most memory", "database operation performance", "JVM GC pauses", "service health over time", "compare services by latency", "what columns are available for this entity type", "service catalog schema", or wants to explore APM entities and their metrics.
npx skill4agent add coralogix/cx-cli cx-service-catalog| Command | Purpose | Key flags |
|---|---|---|
| List entity types this account has data for | - |
| Columns/labels schema for one entity type | - |
| Known entities of one type (e.g. service names) | - |
| Aggregated column data across every entity of a type | |
| Column data for one named entity (drilldown) | |
-o json-o agentsservicedatabaseoperationdatabase-operationjvmjvm-gck8s-podtransactionENTITY_TYPE_K8S_POD--start--endnownow-1h--columncx service-catalog schema <entity-type>--filter label=value1,value2--aggregationtable--limit--sort-column--sort-ordertimeseries--limit--sort-column--sort-ordertabletimeseriesentity-dataentitiescheckout/api/entity-types<entity-type>schema--columnentitiesentity-idcx service-catalog entity-types -o jsoncx service-catalog schema service -o jsoncx service-catalog entities service -o jsonschemaentitiescx service-catalog data <entity-type> --start now-1h --end now \
--column <column-id> --column <column-id> -o json
cx service-catalog entity-data <entity-type> <entity-id> --start now-1h --end now \
--column <column-id> -o jsonservicek8s-pod<column-id><filterable-label><groupable-label><entity-id>schemaentitiescx service-catalog schema service -o json # discover column ids first
cx service-catalog data service --start now-1h --end now \
--column <column-id> --aggregation table \
--sort-column <column-id> --sort-order desc --limit 5 -o jsoncx service-catalog schema service -o json # discover filterable_labels first
cx service-catalog data service --start now-1h --end now \
--column <column-id> --column <column-id> \
--filter <filterable-label>=<value> -o jsoncx service-catalog schema service -o json # discover groupable_labels first
cx service-catalog data service --start now-1h --end now \
--column <column-id> --group-by <groupable-label> -o jsoncx service-catalog schema k8s-pod -o json # discover column ids first
cx service-catalog data k8s-pod --start now-1h --end now \
--column <column-id> --column <column-id> --column <column-id> -o jsoncx service-catalog entities service -o json # discover entity ids first
cx service-catalog entity-data service <entity-id> --start now-24h --end now \
--column <column-id> --aggregation timeseries -o json# Table responses live under .rows; timeseries under .series
cx service-catalog data service --start now-1h --end now \
--column <column-id> -o json | jq '.rows'entity-typesschemadataentity-data--columnservicek8s-podschema{"error": "..."}tabletimeseriestable-o json | jq '.rows'timeseries-o jsonjq-o agents-p <profile>profilecx-infracx-infracx-telemetry-queryingcx logs "filter $l.subsystemname == '<service>'"cx search-fields "<name>" -s valuecx-alertscx alerts list --name "<service-name>"cx-dashboardscx dashboards search "<service-name> ..."