With Compute User Limits, you can set daily or monthly budgets for individual users in your organization and manage their access to New Relic resources based on compute consumption. When a user reaches their allocated budget, you can block their access to dashboards, query builder, and API calls until the end of the budget period or until you increase their budget.
また、すべてのユーザーに適用されるグローバルなユーザー予算により、大規模な予算管理が簡素化されるため、ユーザーごとに個別に予算を構成する必要はありません。特定のニーズを持つユーザーに対して、カスタムのオーバーライド予算を作成できます。
Use Compute User Limits to do the following:
- ユーザーごとの消費量を制限して計算コストを管理する
- ユーザーレベルの計算消費量をモニターする
- 組織全体の使用パターンの可視性を維持する
- 大規模な組織全体で予算を管理する
主な機能
2つの予算タイプを利用できます:
グローバルユーザー予算: 組織内のすべてのユーザーに適用されるデフォルトの予算を設定します。以下のいずれかの方法で設定します:
- 組織予算の割合: 組織レベルの計算予算(最小コミットメントに基づく)の割合を各ユーザーに割り当てます。
- 実際の計算値: 各ユーザーの計算容量ユニット(CCU)の正確な数を指定します
カスタム上書き予算: グローバル予算よりも高いまたは低い制限を必要とする個々のユーザーに特定の予算を割り当てます。
予算の追跡は、グローバル予算またはカスタムのオーバーライド予算を設定した場合にのみ適用されます。
グローバル予算を設定した場合、すべてのユーザーは自動的にその予算を受け取ります。グローバル予算なしでカスタム上書き予算のみを作成した場合、カスタム予算のないユーザーは無制限にアクセスできます。
ユーザーロールと権限
以下の表は、各ロールが実行できることをまとめたものです。
機能 | 組織管理者 | 読み取り専用ユーザー |
|---|---|---|
グローバルユーザー予算を設定する | ✅ | ❌ |
特定のユーザーに対してカスタムのオーバーライド予算を作成します | ✅ | ❌ |
既存の予算を編集 | ✅ | ❌ |
予算を削除する | ✅ | ❌ |
予算の消費状況を表示 | すべてのユーザー | 自身の予算のみ |
3点ドットメニューのオプションにアクセスする | View, Edit, and Delete | 表示のみ |
予算通知の受信 | — | 50%、75%、95%、および100% |
ユーザー制限の仕組み
ユーザー制限は、各ユーザーの計算消費量を追跡します。ユーザーに予算を割り当てると、そのユーザーのすべての計算アクティビティがその予算にカウントされます。ユーザーがCCUとCoreCCUの両方を持っている場合、CCUのみが予算制限にカウントされます。
For example, if a user has a 1,000 CCU budget, all compute consumption attributed to their user ID or API key counts toward that limit.
ユーザーが割り当てられた予算に達すると、設定されたブロックまたは監視ルールが有効になります。
Budget frequency
When you create a budget, you choose whether it resets daily or monthly. The right choice depends on your users' work patterns and how tightly you need to control costs.
The following table compares monthly and daily budgets:
| 行動 | 月次 | 毎日 |
|---|---|---|
| リセット | Start of each calendar month (UTC) | Start of each calendar day (UTC) |
| Block lifts | Start of next calendar month (UTC) | Start of next calendar day (UTC) |
Choose a monthly budget if any of the following apply:
- Your users have variable day-to-day usage that averages out over a billing period — for example, developers who run intensive queries at the end of a sprint but have light usage otherwise
- You want the budget period to align with your billing cycle
- You want only one reset per month
Choose a daily budget if any of the following apply:
- You want to limit how much a runaway query or script can consume in a single day
- Your users have consistent day-to-day usage and you want a fixed daily limit
- You want a shorter recovery window: A user blocked under a daily budget regains access the next day, rather than waiting until the end of the month
ヒント
Daily caps can block users on high-usage days even when their total usage would have stayed within a monthly budget. Review your users' typical usage patterns before applying daily limits broadly.
予算通知
以下の閾値でアプリ内バナー通知を受け取ります:
- 予算の50%を消費: 黄色の情報バナー
- 予算の75%を消費: 黄色の警告バナー
- 予算の95%を消費: 赤色のクリティカルバナー
- 予算の100%を消費: ユーザーが予算を超過していることを示す情報バナー
You also receive email notifications at 75% and 100% of budget consumed.
These notifications keep you informed of your consumption status.
予算の適用
組織の管理者として、ユーザーが割り当てられた予算の100%に達したときに何が起こるかを選択できます:
ユーザーをブロックする: ブロックすると、ユーザーは以下にアクセスできなくなります:
- ダッシュボードへのアクセス
- クエリビルダーへのアクセス
- ユーザーIDまたはAPIキーを介したAPIアクセス
When blocked, users see a screen that says they've used their budget for the period and that they can contact an organization manager with any questions.
Monitor only: Only notify the user about their budget consumption without blocking access.
ヒント
If you're rolling out budget limits for the first time, start with monitor only. This lets you observe actual usage patterns before enabling blocking, reducing the chance of unexpected access disruptions.
重要
For monthly budgets, blocks remain in effect until the end of the calendar month (UTC). For daily budgets, blocks remain in effect until the end of the calendar day (UTC). In both cases, you can restore access sooner by increasing the user's budget. Consumption data updates within a few hours (typically 2 to 4 hours), so blocking doesn't happen exactly at 100%. Users might exceed their budget slightly before the block takes effect.
あなたが始める前に
When you create any budget, you configure four settings. Reviewing these before you start helps you make the right choices in the setup wizard.
| 設定 | オプション | What to consider |
|---|---|---|
| Budget type | Global or custom override | Start with a global budget as your baseline. Add custom overrides for users who need different limits. |
| Allocation method | Percentage of organization budget or actual CCU value | Use percentage if you want limits to scale with your organization's commitments. Use an actual value for a fixed CCU limit. |
| 頻度 | Monthly or daily | See Budget frequency for guidance on choosing between them. |
| Enforcement | Block or monitor only | Start with monitor only to observe actual usage patterns before enabling blocking. |
グローバルユーザー予算を設定する
組織が複数のNew Relic組織にまたがっている場合は、それぞれに個別にサインインして、そのユーザーのユーザー制限を作成および管理してください。
計算リソース予算にアクセスします
- one.newrelic.com > user menuに移動します。
- Administration > Compute Budgetsを選択します。
グローバル予算を追加する
Create a global user budgetをクリックして、サインインしている組織のすべてのユーザーに適用される予算を作成します。
予算を設定する
予算の割り当て方法を選択します:
- Percentage of organization budget [組織予算の割合]: 組織レベルの計算予算(最小コミットメントに基づく)の割合を各ユーザーに割り当てます。たとえば、組織に800,000コアCCUがあり、ユーザーごとに1%を設定した場合、各ユーザーは8,000コアCCUを受け取ります。すべてのユーザーの合計割合が100%に等しい必要はありません。合計を100%未満(一部の予算を未割り当てのままにする)または100%を超えるように設定できます。合計を100%を超えて設定することは許容されます。
- Actual value [実際の値]: 各ユーザーのCCUの正確な数を指定します。
Enter the budget amount.
Under Set the frequency, select how often the budget resets:
- Monthly: Tracks usage across the calendar month and resets at the start of each month (UTC).
- Daily: Tracks usage across each calendar day and resets at the start of each day (UTC).
Nextをクリックします。
グローバル予算の通知を確認
このページでは、ユーザーが受け取る通知の閾値を確認します。設定は必要ありません。Nextをクリックして続行します。
グローバル予算のブロックを設定する
Choose how to limit usage when users exceed their CCU budget. Limits start when the budget runs out and last through the end of the budget period (day or month) or until you change them. Select one of the following:
- これ以上のCCU使用をブロックする: ユーザーが予算上限に達すると、ダッシュボード、クエリビルダー、またはAPIコールにアクセスできなくなります。ユーザーが予算を使い果たすと、クエリの実行やダッシュボードの更新など、CCUを消費するアクションにブロックが適用されます。
- 使用を制限しない: ユーザーは通知を受け取りますが、すべての機能へのフルアクセスを維持します。これにより超過を防ぐことはできません。
You receive a notification when limits take effect.
グローバルユーザー予算を作成するには、Finishをクリックします。
カスタムのオーバーライド予算を設定
グローバル予算とは異なる上限を必要とするユーザーのために、カスタムの上書き予算を作成します。チームをオンボーディングする場合、または各ユーザーを個別に構成せずにグループに一律の上限を適用する場合は、このアプローチを使用してください。
ユーザー予算を追加
User Limitsページから+ Create a user budgetをクリックします。
ユーザーの選択
ドロップダウンメニューから、カスタム上書き予算を割り当てるユーザーを1人以上選択します。複数のユーザーを選択した場合、同じ予算額が各ユーザーに個別に適用されます。たとえば、40,000 CCUを設定して5人のユーザーを選択した場合、各ユーザーには共有部分ではなく40,000 CCUが割り当てられます。
カスタム予算を設定します
特定のパーセンテージまたは実際の値を設定します。
Under Set the frequency, select how often the budget resets:
- Monthly: Tracks usage across the calendar month and resets at the start of each month (UTC).
- Daily: Tracks usage across each calendar day and resets at the start of each day (UTC).
Nextをクリックします。
カスタム予算通知の確認
このユーザーに適用される通知の閾値を確認します。Nextをクリックして続行します。
カスタム予算ブロックの設定
この特定のユーザーのブロック設定を選択します。これはグローバル予算設定とは異なる場合があります。
Finishをクリックして、カスタムのオーバーライド予算を作成します。
作成後、カスタム上書き予算は予算テーブルに個別の行項目として表示されます。これらを個別に更新することも、グループビューを使用してグループ内のすべてのユーザーを一度に更新することもできます。
ユーザー制限の管理
予算の消費状況を表示
Organization managers see the global budget as a card at the top of the main User Limits page. Custom override budgets appear in a budget table below.
Organization managers can do the following:
グローバル予算カードとテーブル内のすべてのカスタム上書き予算を詳細とともに表示する
Access a three-dot menu (⋯) next to each budget. The menu includes the following options:
- View:詳細な予算情報、消費量、および傾向を表示する
- Edit:予算設定を変更する
- Delete: 予算を削除します
Read-only users can do the following:
- See their own budget as a line item in the table, whether it's a custom override or global budget
- Access only the View option from the three-dot menu
Read-only users can't see other users' budgets or use Edit or Delete.
予算詳細ビュー
予算(すべてのユーザーが自身の予算に対して利用可能)を表示すると、以下を確認できます:
- 現在の予算消費量
- 予算使用率
- Consumption trends for the period
- 100%でのブロックステータス
- 通知ステータス
予算を調整
組織のマネージャーは、いつでも予算を変更できます:
- Edit existing budgets: Update budget amounts, frequency, or blocking preferences for a single user, or use the group view to update the budget for all users in a group at once
- Increase a user's budget:ブロックされたユーザーのアクセスを復元するか、追加のキャパシティを提供する
- Decrease budgets: Adjust budget amounts for the current and future budget periods
- Delete budgets: Delete both global and custom override budgets. When you delete a custom override budget, the user automatically falls back to the global user budget (if you've configured one).
予算への変更は、約15分以内に有効になります。
重要
Deleting a custom budget doesn't remove budget tracking. Budget tracking continues under the global budget (if you've configured one).
ブロックされたユーザーの処理
When a user is blocked due to budget consumption, they can do the following:
- See a message that says they've used their budget for the period
- View their budget details to check consumption
- 予算の増額をリクエストするために連絡する
To restore a blocked user's access, choose one of the following options:
- Increase their budget. See Adjust budgets.
- Wait until the budget resets at the start of the next budget period. See Budget frequency.
ヒント
ユーザーが制限の引き上げについて誰に連絡すべきかを把握できるように、組織の管理者の内部リストを公開し、サービスインシデント中に少なくとも1人が引き上げを迅速に承認できるようにしてください。
一般的なシナリオ
When do budgets reset? It depends on the frequency you selected when setting up the budget:
- Monthly: Budgets reset at the start of each calendar month (UTC).
- Daily: Budgets reset at the start of each calendar day (UTC).
ユーザーが予算の100%に達した場合、進行中のクエリはどうなりますか?実行中のクエリは完了します。ブロックは、新しいクエリ、ダッシュボードの読み込み、およびAPIコールの開始のみを防止します。
What happens to a user when I delete their custom override budget? The user automatically falls back to the global user budget if you've configured one. If no global budget exists, the user has unrestricted access.
What happens to users who don't have a budget assigned? Users without a budget assigned have unrestricted access to dashboards, query builder, and API calls.
How quickly do budget changes take effect? Budget changes take effect within approximately 15 minutes.