Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in flag-charge-estimate.mdx #8779

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions contents/docs/feature-flags/snippets/flag-charge-estimate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ For the [JavaScript web SDK](/docs/libraries/js), you can estimate how many feat

1. Check the networks tab in Chrome inspector tools for the number of `/decide` requests.
2. Find out your number of monthly page views
3. Multiply the number your number of `/decide` requests by your monthly page views
3. Multiply your number of `/decide` requests by your monthly page views

For example, if on refresh, you see 2 `/decide` requests per pageview and you have ~150,000 pageviews, your monthly feature flag requests should be around ~300,000.

Expand All @@ -25,4 +25,4 @@ If you're not using [local evaluation](/docs/feature-flags/local-evaluation), a

If you're using [local evaluation](/docs/feature-flags/local-evaluation), each local evaluation request charges 10 credits and by default are made every 30 seconds. Assuming your server is constantly running and making 2 requests per minute, you will be charged `10 * 2 * 60 * 24 * 30 = 864,000 credits` each month.

> **Note:** This figure is for a single server and a single instance of PostHog. If you have multiple servers, PostHog instances, or a different poll duration, you need to multiply your estimates too.
> **Note:** This figure is for a single server and a single instance of PostHog. If you have multiple servers, PostHog instances, or a different poll duration, you need to multiply your estimates too.