Command Palette

Search for a command to run...

Назад к скиллам
скилл № 31805

monitoring-ingestion-pipeline

Uses the PostHog MCP to monitor and diagnose the Node.js ingestion pipeline workers in production. Use when investigating event lag, drops, pipeline errors…

БесплатноБез исполняемых скриптов
PostHogот PostHog★ 41 278 звёзд на GitHub

Установить monitoring-ingestion-pipeline в Claude Code и Claude Desktop

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

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

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

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

Monitoring the ingestion pipeline with PostHog MCP

The ingestion pipeline (nodejs/) is PostHog's Node.js event processing layer. It consumes events from Kafka (produced by the capture service), runs them through processing steps (person resolution, group assignment, property overrides, etc.), and produces enriched events to ClickHouse-bound Kafka topics.

A single codebase is deployed as many K8s Deployments via the posthog-app Helm chart (golden-chart migration). Each deployment sets PLUGIN_SERVER_MODE and is distinguished in metrics by two default Prometheus labels:

  • ingestion_pipeline — values: analytics, heatmaps, clientwarnings, errortracking
  • ingestion_lane — values: main, overflow, historical, async, turbo

The app metric label (set by K8s pod labels) matches the deployment name. For logs, discover the corresponding service.name before filtering.

This skill teaches how to discover live metrics using the PostHog MCP tools rather than memorizing metric names that change as the code evolves.

Environment context

US and EU use separate internal PostHog projects on separate PostHog instances. If the user hasn't specified, ask which environment they want to investigate:

  • prod-us — US production (us-east-1)
  • prod-eu — EU production (eu-central-1)

Use the PostHog MCP connection for the region's internal project. US metrics carry environment="prod-us". For EU, run the same tools through a separate connection to the EU PostHog instance. Discover labels and filter or check environment where it exists. An environment filter does not switch projects or instances. If a region's connection is unavailable, report that region as not checked.

The ingestion_pipeline/ingestion_lane and ClickHouse type label values match across regions. Check the dashboard section for region-specific boards.

Key differences:

  • ingestion-analytics-turbo deployment exists only in prod-us.
  • Both envs use a dedicated ingestion MSK cluster separate from the events cluster — consumers point at msk-ingestion not events (prod-us: c21; prod-eu: posthog-prod-eu-ingestion-2026-05-04).
  • CloudWatch cluster IDs differ by region suffix (see topology sections below).

Observability landscape

Ingestion spans app metrics, infrastructure metrics, logs, profiles, and dashboards. Use PostHog for metrics and logs. Confirm each metric exists in the selected region before querying.

Domain Discovery or access
App metrics posthog:metric-names-list
Logs posthog:logs-attribute-values-list, then posthog:query-logs
Infrastructure metrics (ElastiCache, MSK, RDS, K8s) posthog:metric-names-list, then posthog:query-metrics
Profiling Existing Pyroscope access
Dashboards Existing Grafana access

Fallback: People on managed devices with an existing Grafana MCP connection can use it. It supports metrics, logs, profiles, and dashboards. See tools/infra-scripts/mcp/README.md for its setup.

Stable waypoints

These facts change infrequently and are hard to discover dynamically.

Deployment roles

All PLUGIN_SERVER_MODE=ingestion-v2 deployments (the "analytics ingestion" family), plus specialized modes. Each golden-chart deployment runs in its own namespace matching the deployment name.

Deployment name Mode Pipeline Lane Consumer group Consume topic (EU example)
ingestion-analytics-main ingestion-v2 analytics main ingestion-analytics-main ingestion-analytics-main-512
ingestion-analytics-overflow ingestion-v2 analytics overflow ingestion-analytics-overflow ingestion-analytics-overflow-128
ingestion-analytics-historical ingestion-v2 analytics historical ingestion-analytics-historical ingestion-analytics-historical-128
ingestion-analytics-async ingestion-v2 analytics async ingestion-analytics-async ingestion-analytics-async-8
`inge
Полный SKILL.md на GitHub

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

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

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

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

  • references/investigation-playbooks.md

FAQ

Что делает скилл monitoring-ingestion-pipeline?

Uses the PostHog MCP to monitor and diagnose the Node.js ingestion pipeline workers in production. Use when investigating event lag, drops, pipeline errors, person/group processing, Kafka consumer health, Redis, Postgres, ClickHouse downstream health, or any ingestion worker question. Covers prod-us and prod-eu environments.

Как установить скилл monitoring-ingestion-pipeline?

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

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

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

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

Сравнить monitoring-ingestion-pipeline с