PostHog / PostHog/posthog

Alert on insight for absence of activity

Open
#47,751 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature/alerts team/product-analytics team/query-performance
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
6h 51m
Merged PRs (30d)
232

Description

Feature request

Is your feature request related to a problem?

The insight alerts system is designed around the idea of a number going up or down or falling below a threshold. However, it doesn't appear to handle the absence of data.

Describe the solution you'd like

The ability to handle null or empty values for a day and alert on those.

Describe alternatives you've considered

Additional context

Ticket: https://posthoghelp.zendesk.com/agent/tickets/46630 (moved to PostHog: https://us.posthog.com/project/2/support/tickets/52565)

Debug info
- [x] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files, tests, or entry points. Start by tracing the insight alerts implementation and its existing threshold handling, then determine how daily null or empty values should be represented and evaluated. Done means an alert can reliably trigger when activity data is absent for a day.

Written by the indexing model from the issue text.

Assessment

Domain
analytics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.