What does the Downsampler app do?
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.
What are the requirements for this app?
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!
How do I install the Downsampler app?
- 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. |
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 raise a bug report to let us know!
What if I have feedback on this app?
We love feature requests and feedback! Please create an issue to tell us what you think.
What if my question isn't answered above?
We love answering questions. Ask us anything via our Support page.
You can also join the PostHog Community Slack group to collaborate with others and get advice on developing your own PostHog apps.