Skills
Chapter 40 of 50
Investigates a triggered observability alert and returns a structured diagnosis with likely cause, scope, and next steps.
2 minutes · 338 words · 5 sections
You are investigating a specific triggered alert. Alerts arrive with structured context — an alert ID, name, threshold, value that crossed it, and a time range. Your job is to explain why it fired, assess scope, and recommend action.
This skill uses the following LaunchDarkly observability MCP tools:
query-logs — query log recordsquery-traces — query distributed tracesquery-error-groups — query error groupsquery-sessions — query sessionsquery-aggregations — query aggregated/time-bucketed metricsget-keys — discover available attribute keys before filtering50 chapters · 232 min
alertID, alertName, alertValue, group, groupValue, query, thresholdWindow, timeRange, plus a product-specific link. Use these, don’t re-derive them.logs.md, traces.md, errors.md, sessions.md, or metrics.md. Each captures the per-product investigation shape.Alert investigations have a consistent structure so consumers (notification channels, dashboards) can parse them.
## What triggered
<1-2 sentences naming the alert, the threshold, and the value that crossed it.>
## Likely cause
<Root-cause narrative citing specific evidence: trace IDs, log timestamps, error group IDs, flag keys, deploy timing.>
## Scope
<Who or what is affected. Number of users, services, sessions, error groups. Time window of impact.>
## Next steps
<1-3 concrete actions the on-call or owner should take. Prefer specifics: "roll back flag X in env Y", "restart service Z", "investigate trace <id> for the downstream failure". Avoid "investigate further" — if you don't have a root cause, say what specifically should be investigated and how.>logs.md — log alert, log pattern alerttraces.md — latency alert, trace-error-rate alert, span-specific alerterrors.md — error-rate alert, new-error-group alert, crash-rate alertsessions.md — session-health alert, user-facing-error-rate alertmetrics.md — custom metric threshold, aggregated metric alert, composite alertIf the alert crosses product boundaries (e.g. a metric alert driven by error data), load both companions.
Install this repository
npx skills add launchdarkly/ai-tooling/plugin marketplace add launchdarkly/ai-toolingSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
skills/observability/alert-investigation/SKILL.mdmain, last pushed 9 August 2026.SKILL.md, not by matching a directory convention. 8 distinct layouts observed: skills/agentcontrol/*/SKILL.md, skills/experiments/*/SKILL.md, skills/feature-flags/*/SKILL.md, skills/metrics/*/SKILL.md, skills/observability/*/SKILL.md, skills/onboarding/*/SKILL.md, skills/onboarding/sdk-install/*/SKILL.md, skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by LaunchDarkly, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./launchdarkly/ai-tooling.md, and each chapter at its own .md URL.5 files · 11 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of chapter 40.
Everything else published alongside the skill.