alert-investigation

작성자: launchdarkly

트리거된 관측 가능성 알림을 조사하고, 가능한 원인, 범위 및 다음 단계를 포함한 구조화된 진단을 반환합니다.

npx skills add https://github.com/launchdarkly/ai-tooling --skill alert-investigation

Alert investigation

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.

Prerequisites

This skill uses the following LaunchDarkly observability MCP tools:

  • query-logs — query log records
  • query-traces — query distributed traces
  • query-error-groups — query error groups
  • query-sessions — query sessions
  • query-aggregations — query aggregated/time-bucketed metrics
  • get-keys — discover available attribute keys before filtering

Workflow

  1. Parse the alert context. The first turn of the conversation carries alert variables: alertID, alertName, alertValue, group, groupValue, query, thresholdWindow, timeRange, plus a product-specific link. Use these, don't re-derive them.
  2. Load the per-product companion. Based on the alert's product type, load the matching companion: logs.md, traces.md, errors.md, sessions.md, or metrics.md. Each captures the per-product investigation shape.
  3. Run the investigation using the methodology from the investigate skill (cross-reference logs/traces/errors/sessions/metrics; cite identifiers; aggregate before paginating). Scoped to the alert's time range and filter.
  4. Produce a structured diagnosis. See output template below.

Output template

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.>

When to load which companion

  • logs.md — log alert, log pattern alert
  • traces.md — latency alert, trace-error-rate alert, span-specific alert
  • errors.md — error-rate alert, new-error-group alert, crash-rate alert
  • sessions.md — session-health alert, user-facing-error-rate alert
  • metrics.md — custom metric threshold, aggregated metric alert, composite alert

If the alert crosses product boundaries (e.g. a metric alert driven by error data), load both companions.

Guidelines

  • Stay tight. Alert investigations feed notifications — keep the output structured and scannable. No preamble ("Here is my analysis..."), no repeated framing.
  • Cite identifiers. Every claim in the diagnosis should reference a specific trace ID, error group ID, session ID, or log timestamp.
  • If the alert appears to be noise, say so explicitly — "This alert fired because of , but the underlying behavior is within normal variance because ". Noise is a legitimate outcome; don't invent root causes.
  • Don't redo the investigation you just did. The diagnosis output should let the on-call act without re-querying.

launchdarkly의 다른 스킬

aiconfig-online-evals
launchdarkly
사용 중단됨 리디렉션 — 이 스킬은 online-evals로 이름이 변경되었습니다. 이 스킬을 사용하지 말고 대신 online-evals를 호출하세요. 이전 참조를 위해 유지됨…
official
launchdarkly-experiment-setup
launchdarkly
LaunchDarkly에서 실험을 설정하고 실행합니다. 메트릭, 처리 방식, 플래그 구성을 사용하여 실험을 생성하고, 데이터 수집을 위해 반복을 시작하며, 디자인을 전환합니다…
official
custom-metrics
launchdarkly
구성에 대한 사용자 정의 비즈니스 메트릭을 생성, 추적, 검색, 업데이트 및 삭제합니다. 전체 수명 주기를 다룹니다: API를 통해 메트릭 종류를 정의하고, SDK를 통해 이벤트를 전송하며…
official
projects
launchdarkly
코드베이스에서 LaunchDarkly 프로젝트를 설정하기 위한 가이드입니다. 스택을 평가하고, 적절한 접근 방식을 선택하며, 프로젝트 관리를 통합하는 데 도움을 줍니다…
official
aiconfig-ai-metrics
launchdarkly
사용 중단됨 리디렉션 — 이 스킬은 built-in-metrics로 이름이 변경되었습니다. 이 스킬을 사용하지 말고 built-in-metrics를 호출하세요. 이전 참조를 위해 유지됩니다…
official
aiconfig-projects
launchdarkly
더 이상 사용되지 않는 리디렉션 — 이 스킬은 projects로 이름이 변경되었습니다. 이 스킬을 사용하지 말고 projects를 호출하세요. aiconfig-projects에 대한 이전 참조를 위해 유지됩니다…
official
aiconfig-migrate
launchdarkly
사용 중단된 리디렉션입니다. 이 스킬은 migrate로 이름이 변경되었습니다. 이 스킬을 사용하지 말고 대신 migrate를 호출하세요. aiconfig-migrate에 대한 이전 참조가 계속 작동하도록 유지됩니다.
official
aiconfig-tools
launchdarkly
사용 중단된 리디렉션입니다. 이 스킬은 tools로 이름이 변경되었습니다. 이 스킬을 사용하지 말고 tools를 호출하세요. 이전에 aiconfig-tools를 참조한 항목들이 계속 연결되도록 유지됩니다.
official