kubesense-apm

Analyze Kubernetes distributed traces to diagnose latency and error patterns.

Updated Apr 28, 2026
One-click install
npx skills add https://github.com/kubesense-ai/kubesense-mcp-skills --skill kubesense-apm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kubesense-apm
Source: https://github.com/kubesense-ai/kubesense-mcp-skills/tree/main/kubesense-mcp/kubesense-apm
Command: npx skills add https://github.com/kubesense-ai/kubesense-mcp-skills --skill kubesense-apm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Query and analyze distributed traces (APM) from Kubernetes clusters using KubeSense MCP tools to pinpoint latency bottlenecks, errors, and field availability before querying.

Core Features & Use Cases

  • Field discovery: automatically identifies available trace fields prior to querying to avoid guessing.
  • Raw trace search: inspect and filter trace/span records to surface relevant events.
  • Trace analysis: compute latency percentiles, error patterns, and workload relationships across namespaces and clusters.

Quick Start

Start by discovering available trace fields, then run a basic trace search for a recent time window.

Frequently Asked Questions about kubesense-apm

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

FAQPage Schema
How do I analyze Kubernetes distributed traces to find latency bottlenecks?

You can analyze Kubernetes distributed traces by searching raw span records and computing latency percentiles across clusters and namespaces. This process pinpoints exact latency bottlenecks and error patterns within specific time windows.

What is field discovery in Kubernetes APM and when do I need it?

Field discovery in Kubernetes APM automatically identifies available trace fields prior to querying. You need it to avoid guessing which fields exist, ensuring your trace search filters match valid data structures before execution.

How do I search raw Kubernetes traces to surface relevant error events?

You search raw Kubernetes traces by applying built-in filters to inspect span records across workloads. This surfaces relevant error events and service relationships, allowing you to diagnose specific application performance issues.

Can I compute latency percentiles and error rates across multiple Kubernetes namespaces?

Yes, you can compute latency percentiles and error rates across multiple Kubernetes namespaces. Aggregate trace analysis evaluates workload relationships and service performance to identify systematic errors over defined time windows.

What is the best way to diagnose service performance issues using distributed tracing in Kubernetes?

The best way to diagnose service performance issues using distributed tracing is to combine field discovery with aggregate trace analysis. This approach identifies latency patterns and service relationships across clusters without blind querying.

Do I need to specify time windows and workloads when analyzing Kubernetes traces?

Yes, you need to specify time windows and workloads when analyzing Kubernetes traces. Defining these parameters filters the distributed trace analysis, ensuring you accurately identify latency patterns and error rates for targeted workloads.