Skip to content
Back to skills

Trace

ASecurity

Inspect Faultline APM traces — slow endpoints or a specific request's span breakdown.

  • 87 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 6, 2026
devopsgosql

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add dlt/faultline --skill trace --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Trace?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Trace
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dlt-trace/badge)](https://www.skillsdirectory.com/skills/dlt-trace)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Inspect Faultline APM traces — slow endpoints or a specific request's span breakdown.
argument-hint: [endpoint | trace-id]
---

Investigate APM traces using `list_traces` and `get_trace`.

Decide which mode from `$ARGUMENTS`:

- **No args or an endpoint string** (e.g. `UsersController#show`):
  1. Call `list_traces` with `slow_only: true` and the `endpoint` filter if one was given.
  2. Render a short table: `id | endpoint | duration_ms | db_runtime_ms | db_query_count | created_at`.
  3. Ask which trace the user wants to drill into, or call `get_trace` directly on the slowest one if a single result.

- **A numeric trace id**:
  1. Call `get_trace` with `id`.
  2. Group the spans by category (SQL / view / HTTP / Redis). Surface the top N spans by duration.
  3. Flag patterns: many similar SQL spans (likely N+1), a single span dominating total duration, or external HTTP that exceeds the rest combined.

If either tool returns `"APM is disabled. Set enable_apm = true to use trace tools."`, tell the user to set `c.enable_apm = true` in their Faultline initializer. If it returns `"APM tables not present"`, the migration hasn't been run yet.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.