Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

monitoring-capture-service

БесплатноБез исполняемых скриптовНе проверен

Monitor and diagnose the capture service (rust/capture) in prod-us and prod-eu with verified metrics, Loki logs, dashboards and alerts. Use when investigating…

PostHogот PostHog★ 41 278 звёзд на GitHub

Об этом скилле

Monitoring the capture service

The capture service (rust/capture/) is PostHog's Rust HTTP intake. It authenticates, validates and limits events, then produces them to Kafka or WarpStream. One binary runs as four deployments, picked by CAPTURE_MODE.

Every name, label and value below was read from production (prod-us and prod-eu) and the code on master. Counters only get a series after their first increment, so a missing series can mean "never happened" rather than "broken". Confirm a name with the discovery tools before you conclude anything from an empty result.

Tools and datasources

Two tool sets reach the same data. Use either, and say which one you used.

Tool set Metrics Logs Notes
PostHog MCP (US project 2) metric-names-list, metric-attributes-list, metric-attribute-values-list, then query-metrics with query.promql logs-attribute-values-list, logs-attributes-list, then query-logs Log service.name equals the namespace, for example capture-analytics. metric-names-list can report a counter as gauge; use rate or increase on counters anyway.
Grafana MCP (grafana-us, grafana-eu) Prometheus datasource UID victoriametrics Loki datasource UID P44D702D3E93867EC Same UIDs in both regions. Profiles: Pyroscope datasource pyroscope (US). Dashboards: search_dashboards, get_dashboard_summary, get_dashboard_panel_queries.

Ask which region to check when the user does not say. Query each region with its own tools; an environment label (prod-us, prod-eu) does not switch instances. Health checks: keep zero-valued series (query.dropEmptySeries: false in PostHog) so a failing label still shows.

Deployments

Namespace Deployments capture_mode label Serves (paths seen in http_requests_total) Produces to
capture-analytics capture-analytics-1a, -1b, -1c events Legacy /e, /batch, /capture, /i/v0/e, /track, /engage; v1 /i/v1/analytics/events MSK ingestion cluster
capture-ai capture-ai-1a, -1b, -1c ai Legacy /i/v0/ai, /i/v0/ai/batch, /i/v0/ai/otel; v1 /i/v1/ai/events WarpStream (ingestion virtual cluster)
capture-replay capture-replay-1a, -1b, -1c recordings /s WarpStream (replay virtual cluster)
capture-import capture-import import Same paths as analytics; only historical backfills are kept MSK ingestion cluster
  • Route selection is in rust/capture/src/router.rs (match capture_mode, serves_v1_analytics, serves_v1_ai_events).
  • Paths may appear with or without a trailing slash; match both, for example path=~"/batch/?".
  • capture-mirrored exists as a deployment with 0 replicas in both regions and serves nothing.
  • capture-logs and capture-apm-metrics share the capture- prefix but are other binaries (rust/capture-logs, rust/capture-apm-metrics, metric prefixes capture_logs_* and capture_metrics_*). This skill does not cover them; exclude them with namespace=~"capture-(analytics|ai|replay|import)".

Labels on capture metrics

  • Every capture app metric carries namespace, role (the namespace name), capture_mode, pod, topology_kubernetes_io_zone, environment and cluster_name.
  • App metrics have no container label. container exists only on cAdvisor (container_*) metrics and on Loki streams.
  • Gauges are per pod. Aggregate them with max, min or avg, never
Полный SKILL.md на GitHub

Установить monitoring-capture-service в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/investigation-playbooks.md

FAQ

Что делает скилл monitoring-capture-service?

Monitor and diagnose the capture service (rust/capture) in prod-us and prod-eu with verified metrics, Loki logs, dashboards and alerts. Use when investigating capture latency, errors, event loss, legacy (v0) versus v1 endpoint behavior, billing quota drops, the global rate limiter, event restrictions, Redis health, Kafka or WarpStream produce problems, Envoy or edge rate limiting, or any capture health question.

Как установить скилл monitoring-capture-service?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл monitoring-capture-service запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить monitoring-capture-service с