authoring-error-tracking-alerts

Create PostHog error tracking alerts routed to Slack, webhooks, or issue trackers.

713|118|Updated Aug 11, 2020
One-click install
npx skills add https://github.com/PostHog/posthog-foss --skill authoring-error-tracking-alerts
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: authoring-error-tracking-alerts
Source: https://github.com/PostHog/posthog-foss/tree/main/products/error_tracking/skills/authoring-error-tracking-alerts
Command: npx skills add https://github.com/PostHog/posthog-foss --skill authoring-error-tracking-alerts

SYSTEM DOCUMENTATION & REQUIREMENTS

πŸ’‘ This Skill includes references (resource) components.

What problem does it solve?

Setting up error notifications in PostHog requires choosing the right lifecycle trigger event, avoiding duplicate alerts, and wiring a destination correctly β€” mistakes here cause alert fatigue or silent failures. This Skill guides the full authoring workflow so alerts fire on the right conditions and reach a channel the team actually monitors.

Core Features & Use Cases

  • Trigger selection: Picks exactly one of the three lifecycle events ($error_tracking_issue_created, $error_tracking_issue_reopened, $error_tracking_issue_spiking) based on project noise level and urgency needs.
  • Dedup and integration wiring: Lists existing alerts to prevent duplicate deliveries, resolves Slack workspace and channel ids, and validates webhook URLs before creating anything.
  • Canonical message templates: Ships alerts with block-kit bodies matching the in-product alert wizard, including per-issue property scoping and spike-baseline guards.
  • Use Case: A user pastes an issue link and asks to be notified when it happens again β€” the Skill creates a _reopened alert scoped to that issue's $exception_issue_id, delivered to their chosen Slack channel.

Quick Start

Set up a PostHog alert that posts to my #oncall Slack channel whenever an error issue starts spiking.

Frequently Asked Questions about authoring-error-tracking-alerts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up error tracking alerts in PostHog?β–Ό

Choose one trigger event (issue created, reopened, or spiking), pick a destination such as a Slack channel or webhook, then create the alert via the error-tracking-alerts-create tool with the canonical message template. Always list existing alerts first to avoid duplicates.

Which PostHog error alert trigger should I use?β–Ό

Use $error_tracking_issue_spiking for production projects with high volume, $error_tracking_issue_reopened to catch regressions on resolved issues, and $error_tracking_issue_created only for small projects where every new error type matters. When unsure, default to spiking after confirming with the user.

Can I scope a PostHog error alert to a specific issue?β–Ό

Yes, for created and reopened events add a property filter on $exception_issue_id with the issue UUID. Spiking events carry no exception properties, so per-issue scoping is not available for that trigger.

Why is my PostHog spiking alert not firing?β–Ό

Spiking alerts stay silent until the project's spike detection config is enabled and has built a baseline. There is no MCP tool for this β€” enable it in the error tracking spike config UI in product settings.

What are the limitations of PostHog error tracking alerts?β–Ό

They only ride the three lifecycle events, so volume-threshold alerts (count of $exception events over a window) are out of scope. Spike detector tuning (multiplier, window, threshold) is also not exposed via MCP and must be configured in the product UI.