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

chore: add traffic overage banner #8830

Closed
wants to merge 1 commit into from
Closed

Conversation

nunogois
Copy link
Member

@nunogois nunogois commented Nov 21, 2024

https://linear.app/unleash/issue/2-2995/add-a-global-traffic-overage-banner-to-unleash

Adds a new global traffic overage banner to Unleash.

Introduces a new banner for Pro or PAYG instances, displayed only when one of the following conditions is met:

  • The total included requests for your plan have been exceeded
  • We estimate that the total included requests for your plan will be exceeded

The banner provides links to our pricing & plans and fair use policy pages. Additionally, it includes a "see data usage" link that redirects users to /admin/network/data-usage in their Unleash instance, where detailed data usage can be reviewed.

To avoid redundancy, the overage warning on the Network Data Usage page has been removed, as it is now covered by the new global traffic overage banner. In its place, a recommendation to set up Edge is now always displayed for plans with limited requests.

image

Copy link

vercel bot commented Nov 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 2:02pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Nov 21, 2024 2:02pm

Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@ivarconr
Copy link
Member

I understand why you are doing it, and the intention is good.

But what if the customer wants to use a lot of traffic? We have customers who are fine paying for the additional traffic, as it is important for them to avoid any self-hosting complexities. Its not like AWS give me a lot of banners just because we have a lot of traffic towards our instance.

It makes sense the first time you go over, as an early warning. But for every month you use Unleash.

Another way would be to allow admins to subscribe to usage warning emails. (that's how Vercel and AWS and others solve it).

@nunogois
Copy link
Member Author

I understand why you are doing it, and the intention is good.

But what if the customer wants to use a lot of traffic? We have customers who are fine paying for the additional traffic, as it is important for them to avoid any self-hosting complexities. Its not like AWS give me a lot of banners just because we have a lot of traffic towards our instance.

It makes sense the first time you go over, as an early warning. But for every month you use Unleash.

Another way would be to allow admins to subscribe to usage warning emails. (that's how Vercel and AWS and others solve it).

I understand your point @ivarconr.

Would it help if I implemented a "dismiss" action where you can choose between choices like these?

  • Remind me again next month
  • Don't remind me again

Or would you prefer not to include this at all for now?

@nunogois
Copy link
Member Author

Closing this for now.

@nunogois nunogois closed this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants