cubeapm

Query CubeAPM traces, metrics, and logs with PromQL and LogsQL.

1|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/piyush-gambhir/cubeapm-cli --skill cubeapm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cubeapm
Source: https://github.com/piyush-gambhir/cubeapm-cli/tree/main/cubeapm
Command: npx skills add https://github.com/piyush-gambhir/cubeapm-cli --skill cubeapm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

CubeAPM CLI removes the friction of manually inspecting observability data by giving you one command-line tool to query traces, metrics, and logs from CubeAPM.

Core Features & Use Cases

  • Trace Investigation: Search services, find slow or failing traces, and open full waterfall details for root-cause analysis.
  • Metrics Analysis: Run PromQL instant and range queries to inspect health, latency, throughput, and error rates.
  • Log Search and Aggregation: Query VictoriaLogs-compatible LogsQL, inspect field values, and summarize log volume or patterns.
  • Automation-Friendly Workflow: Supports JSON output, profile management, and clear command structure for scripts and coding agents.
  • Operational Control: Ingest metrics and logs, manage configuration, and run log deletion tasks through the appropriate ports.
  • Use Case: When an incident hits, you can quickly search the affected service, correlate traces with logs, and confirm the impact with metrics from the same interface.

Quick Start

Use the cubeapm skill to help me query traces, metrics, or logs for a service and return the results as JSON.

Frequently Asked Questions about cubeapm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query distributed traces and logs from the command line during an incident?

You can query distributed traces and logs from the command line by executing CLI commands that search affected services, correlate trace waterfalls with logs, and return JSON output for automated root-cause analysis.

Can I run PromQL instant and range queries for service metrics via a CLI?

Yes, you can run PromQL instant and range queries for service metrics via the CLI to inspect health, latency, throughput, and error rates, returning structured JSON output for machine parsing and observability automation.

What is the best way to search VictoriaLogs-compatible LogsQL for log aggregation?

The best way to search VictoriaLogs-compatible LogsQL for log aggregation is using a CLI tool that queries field values, summarizes log volume or patterns, and outputs structured JSON for automation agents.

Does this observability CLI tool require specific ports for ingesting metrics or running admin tasks?

Yes, this observability CLI tool requires correct port selection to differentiate operations, using specific ports for querying data, ingesting metrics and logs, and running administrative log deletion tasks.

How do I automate service health checks using distributed tracing data?

You automate service health checks by querying distributed tracing data through a CLI that finds slow or failing traces, confirms impact with metrics, and outputs JSON formatted results for automated pipelines and coding agents.