This app enables you to reduce how many events a deployment of PostHog will ingest. This is especially useful for users who have huge volumes of data, but don't need to analyze it all and want to avoid large bills.
Requirements
The Downsampler app requires either PostHog Cloud, or a self-hosted PostHog instance running version 1.30.0 or later.
Not running 1.30.0? Find out how to update your self-hosted PostHog deployment!
Installation
- Visit the 'Apps' page in your instance of PostHog.
- Search for 'Downsampling' and select the app, press Install.
- Follow the on-screen steps to configure the app.
Can I use the Downsampler app to control my PostHog bill?
Yes. Paid-for versions of PostHog are priced per event and the Downsampling app enables you to reduce the number of events which your instance ingests, thereby giving you greater control over billing.
Configuration
Option | Description |
---|---|
% of events to keep Type: string Required: False | Reduces events flowing in to the percentage value above |
Sampling method Type: choice Required: False | Distinct ID aware sampling will sample based on distinct IDs, meaning that a user's events will all be ingested or all be dropped at a given sample percentage. |
FAQ
Is the source code for this app available?
PostHog is open-source and so are all apps on the platform. The source code for the Downsampler app is available on GitHub.
Who created this app?
We'd like to thank PostHog team members Michael Matloka and Marius Andra and Neil Kakkar for creating the Downsampler.
Who maintains this app?
This app is maintained by PostHog. If you have issues with the app not functioning as intended, please let us know!
What if I have feedback on this app?
We love feature requests and feedback! Please tell us what you think! to tell us what you think.
What if my question isn't answered above?
We love answering questions. Ask us anything via our community forum, or drop us a message.