PostHog / posthog

đŸ¦” PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
20.8k stars 1.24k forks source link

Query / API / DIY analytics product #24858

Open jamesefhawkins opened 1 week ago

jamesefhawkins commented 1 week ago

Feature request

DON'T WORK AT POSTHOG? IF YOU ARE READING THIS - would love feedback on APIs you'd like reliable access too.

This will let our customers build analytics into their product.

The most common use case is b2b2c companies wanting to offer a usage dashboard to their business customers, but we also see it in b2b.

We have repeatedly had users trying to build on top of our API and hitting issues with rate limiting for example. We can't just increase rate limits as it will cause us a huge increase in infra costs. This will give a reliable, scalable way of accessing PostHog's API, where we can help users hit our API in a way that is cost effective on both sides.

We think the right starting point is:

But we can see lots of other use cases:

Any we are missing?

Debug info

- [ ] 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]
skoob13 commented 3 days ago

+1 ticket - interested in increasing rate limits for the query endpoint.

victor-at-pathpilot commented 2 days ago

+1 interested in more granularity for the session recordings API. We are B2b and we help customer analyze and understand their session recordings. They want to grant us access to specific session recordings and, sometime, they ask us not to access person data.