Skip to main content

Предотвращение перерасхода

Узнайте, как задать бюджеты и отслеживать, когда они приближаются или выше порогового значения, чтобы предотвратить превышение ресурсов.

Кто может использовать эту функцию?

Владельцы организации и менеджер по выставлению счетов

За пределами GitHub Enterprise Cloudрасширенная платформа выставления счетов доступна только для учетных записей организации, созданных после 13 ноября 2024 г. в плане GitHub Team. В настоящее время она недоступна для:

  • GitHub Free
  • GitHub Pro
  • Организации, которые обновляются с GitHub Free до GitHub Team

Budgets and alerts allow you to track spending for your organization. By setting a monthly budget, you can monitor your spending and receive notifications by email when your spending exceeds certain preset percentages of your budget threshold. This can help you stay within your budget and avoid overspending.

The budget only applies to expenses incurred from the date of its creation onwards. Any expenses incurred prior to the creation of the budget will not be included in the calculations

Budgets are not applicable to:

  • Seat-based products such as GitHub Copilot and GitHub Team.

Viewing budgets

If you are an organization owner or billing manager, your organization's budget will be listed at the top of the "Budgets and alerts" page.

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations.

  2. Next to the organization, click Settings.

  3. On the left side of the page, in the organization sidebar, click Billing & Licensing.

  4. Click Budgets and alerts.

Creating a budget

As an organization owner, you can set the budget for your organization.

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations.

  2. Next to the organization, click Settings.

  3. On the left side of the page, in the organization sidebar, click Billing & Licensing.

  4. Click Budgets and alerts.

  5. Click New budget.

  6. Under "Products", select the metered product to include in this budget.

  7. Under "Budget scope", set the scope of spending for this budget.

  8. Under "Budget", set a budget amount.

    To stop any usage and further spending once your organization reaches the budget limit, select Stop usage when budget limit is reached. This does not apply to GitHub Copilot usage.

    Important

    If you do not select Stop usage when budget limit is reached, you will be notified by email if you exceed your budget, but usage will not be stopped.

  9. To receive an alert if your budget has reached 75%, 90% and 100% thresholds, select Receive budget threshold alerts under "Alerts". When the budget has reached the specific threshold, you will be notified via email and a banner on GitHub. You may opt out at any time.

    Under "Alert Recipients", select the people who will receive the alerts.

  10. Click Create budget.

Editing or deleting a budget

As an organization owner, you can edit or delete a budget at any time, but you cannot change the budget scope.

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations.

  2. Next to the organization, click Settings.

  3. On the left side of the page, in the organization sidebar, click Billing & Licensing.

  4. Click Budgets and alerts.

  5. To edit a budget, in the list of budgets, click next to the budget you want to edit, and click Edit or Delete.

  6. Follow the prompts.