Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4334 from newrelic/translations-8c086c3
Updated translations - 2021-10-15
- Loading branch information
Showing
54 changed files
with
922 additions
and
651 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
285 changes: 285 additions & 0 deletions
285
.../accounts/accounts-billing/new-relic-one-pricing-users/usage-queries-alerts.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,285 @@ | ||
--- | ||
title: 請求/使用データについてのクエリとアラート | ||
tags: | ||
- Accounts | ||
- Accounts and billing | ||
- New Relic One pricing and billing | ||
metaDescription: How to create queries and alerts for your New Relic billing-related usage. | ||
--- | ||
|
||
当社の[New Relic One価格設定プラン](/docs/accounts/accounts-billing/new-relic-one-pricing-users/pricing-billing)のアカウントについては、請求関連の使用状況を把握するための[**使用状況の表示**UI](/docs/accounts/accounts-billing/general-account-settings/introduction-account-settings/#pricing)と、[請求関連のデータ管理のための**データ管理**UI](/docs/telemetry-data-platform/get-data-new-relic/manage-data/manage-your-data)を提供しています。さらに、次のことを行えます。 | ||
|
||
* [利用データのクエリを行い](#query)、UIで可能以上の詳細を把握します。 | ||
* [NRQLアラート条件を設定](#alerts)し、利用の変更についての通知を受ける。 | ||
|
||
クエリされたデータにより、アカウントの階層に影響が生じる場合があることにご注意ください。[アカウント構造](/docs/accounts/accounts-billing/new-relic-one-pricing-users/account-user-structure)をご覧ください。 | ||
|
||
## 利用可能なデータタイプ [#data-types] | ||
|
||
使用データは、次の[イベント](/docs/using-new-relic/data/understand-data/new-relic-data-types#events-new-relic)にアタッチされます。 | ||
|
||
* `NrConsumption`は、1時間ごとに利用状況を記録しますが、これは「リアルタイム」利用と同じです。このイベントを使用して、期間中の利用トレンドを観察します。 | ||
* `NrMTDConsumption`は、`NrConsumption`イベントから集計値を生成します。このイベントを使用して、請求期間の利用や予想コストを把握します。 | ||
* 毎時の`NrUsage`レコード使用量で、製品ごとにレポートされた使用量の表示に使用されます。 | ||
|
||
アカウントに対して行った変更(ユーザー管理の変更など)を確認するには、[`NrAuditEvent`](/docs/insights/insights-data-sources/default-data/nrauditevent-event-data-query-examples)をクエリできます。 | ||
|
||
## クエリの例 [#query] | ||
|
||
[**使用状況の表示**UI](/docs/accounts/accounts-billing/general-account-settings/introduction-account-settings/#pricing)には、データ使用量と請求可能なユーザー数が表示されます。そのUIが提供するものより詳細な情報が必要な場合は、これらの[NRQLクエリ](/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql)を使用できます。これらのクエリで使用されるいくつかの属性の定義については、「[属性](#attributes)」を参照してください。 | ||
|
||
### データ使用量のクエリ [#data-queries] | ||
|
||
以下は、一部のデータ使用量クエリの例です。 | ||
|
||
<CollapserGroup> | ||
<Collapser | ||
id="daily-gb" | ||
title="毎日のデータ使用量" | ||
> | ||
このクエリでは、請求対象となるインジェストしたデータを合計し、過去3か月の1日あたりの値を表示します: | ||
|
||
``` | ||
FROM NrConsumption SELECT sum(GigabytesIngested) | ||
WHERE productLine = 'DataPlatform' | ||
SINCE 3 months ago TIMESERIES 1 day | ||
``` | ||
</Collapser> | ||
|
||
<Collapser | ||
id="daily-source" | ||
title="1日の利用(ソース別)" | ||
> | ||
このクエリでは、請求対象となるインジェストしたデータを合計し、ソース別にファセットを適用した過去3か月の1日あたりの値を表示します: | ||
|
||
``` | ||
FROM NrConsumption SELECT sum(GigabytesIngested) | ||
WHERE productLine = 'DataPlatform' SINCE 3 months ago | ||
FACET usageMetric TIMESERIES 1 day | ||
``` | ||
</Collapser> | ||
|
||
<Collapser | ||
id="metrics-analysis" | ||
title="ソースによるメトリクスのインジェスト" | ||
> | ||
このクエリは、[メトリックデータ](/docs/telemetry-data-platform/understand-data/new-relic-data-types/#dimensional-metrics)を上位10位までのメトリック名で分類します。また、`appName`または`host`ごとにファセットして分析を調整することもできます。 | ||
|
||
``` | ||
FROM Metric SELECT bytecountestimate()/10e8 as 'GB Estimate' | ||
SINCE '2021-04-01' UNTIL '2021-04-08' | ||
FACET metricName LIMIT 10 TIMESERIES 1 day | ||
``` | ||
</Collapser> | ||
|
||
<Collapser | ||
id="month-gb" | ||
title="直近1か月のデータ使用量" | ||
> | ||
このクエリは、現在の完全なユーザー数を示します。つまり、今すぐ請求された場合に、その月のデータに対して請求される金額が表示されます。 | ||
|
||
``` | ||
FROM NrMTDConsumption SELECT latest(GigabytesIngested) | ||
WHERE productLine = 'DataPlatform' SINCE this month | ||
``` | ||
</Collapser> | ||
|
||
<Collapser | ||
id="month-cost" | ||
title="直近1か月の推定データ コスト" | ||
> | ||
このクエリでは、インジェストしたデータの推定コストを表示します: | ||
|
||
``` | ||
FROM NrMTDConsumption SELECT latest(estimatedCost) | ||
WHERE productLine = 'DataPlatform' SINCE this month | ||
``` | ||
</Collapser> | ||
</CollapserGroup> | ||
|
||
### ユーザー数のクエリ [#user-queries] | ||
|
||
以下は、ユーザー関連のクエリの例です。ユーザーをカウントする方法の詳細については、[ユーザーカウントの計算](/docs/accounts/accounts-billing/new-relic-one-pricing-users/pricing-billing#user-count)を参照してください。 | ||
|
||
<CollapserGroup> | ||
<Collapser | ||
id="month-users" | ||
title="直近1か月のフルユーザー" | ||
> | ||
このクエリでは、その月の請求対象となるユーザーの数が表示されます。つまり、今すぐ請求された場合に、その月のユーザー数に対して請求される金額が表示されます。 | ||
|
||
``` | ||
FROM NrMTDConsumption SELECT latest(usersBillable) | ||
SINCE this month | ||
``` | ||
|
||
このクエリは、1時間ごとにカウントされたフルユーザーの数を示します。これは、完全なユーザー数が時間の経過に伴い、どのように変化したかを確認するのに役立ちます。 | ||
|
||
``` | ||
from NrConsumption SELECT max(FullUsers) | ||
SINCE 10 days ago TIMESERIES 1 hour | ||
``` | ||
</Collapser> | ||
|
||
<Collapser | ||
id="projected-month-users" | ||
title="予測される月間フルユーザー数" | ||
> | ||
このクエリは、月間ユーザーの予測数を示します。このクエリは、ダッシュボードでの使用には適していません。a) その月の残り日数、b) その月の初日に基づく値が必要です。これは、その月の残り10日で予測される月末カウントをクエリする例です。 | ||
|
||
``` | ||
FROM NrMTDConsumption SELECT predictLinear(FullUsers, 10 days) | ||
SINCE '2020-09-01' | ||
``` | ||
</Collapser> | ||
|
||
<Collapser | ||
id="full-basic-users" | ||
title="フルユーザーと基本ユーザーをカウントする" | ||
> | ||
[使用量 UI](/docs/accounts/accounts-billing/new-relic-one-pricing-users/pricing-billing#billing-usage-ui)は、フルユーザーと基本ユーザーの数を示します。使用されるクエリ: | ||
|
||
``` | ||
FROM NrUsage SELECT max(usage) SINCE 10 days ago | ||
WHERE productLine='FullStackObservability' | ||
WHERE metric in ('FullUsers', 'BasicUsers') | ||
FACET metric | ||
``` | ||
|
||
時間の経過に伴うフルユーザーと基本ユーザーの数を確認するには: | ||
|
||
``` | ||
FROM NrUsage SELECT max(usage) SINCE 10 days ago | ||
WHERE productLine='FullStackObservability' | ||
WHERE metric in ('FullUsers', 'BasicUsers') FACET metric TIMESERIES 1 hour | ||
``` | ||
</Collapser> | ||
</CollapserGroup> | ||
|
||
## 利用アラートを設定 [#alerts] | ||
|
||
[請求対象のデータを管理](/docs/telemetry-data-platform/get-data-new-relic/manage-data/manage-your-data)の一助として、アラートを設定し、想定外の利用増について通知を行えます。[NRQLクエリでアラートを作成する方法については、こちらをご覧ください](/docs/alerts-applied-intelligence/new-relic-alerts/alert-conditions/create-nrql-alert-conditions/#create)。 | ||
|
||
<Callout variant="caution"> | ||
アラート条件を作成する際は、[評価オフセット](/docs/alerts-applied-intelligence/new-relic-alerts/alert-conditions/create-nrql-alert-conditions#evaluation-offset)値を60分に設定する必要があります。そうしない場合、条件がトリガーされない可能性があります。 | ||
</Callout> | ||
|
||
NRQLアラート条件の例は次のとおりです。属性の定義については、[属性](#attributes)をご覧ください。 | ||
|
||
<CollapserGroup> | ||
<Collapser | ||
id="gb-exceeds-value" | ||
title="取り込んだギガバイト数が固定値を超える" | ||
> | ||
このクエリでは、1時間の使用量が固定値を超えるとアラートを作成します。 | ||
|
||
``` | ||
FROM NrConsumption SELECT sum(GigabytesIngested) | ||
WHERE productLine = 'DataPlatform' | ||
``` | ||
|
||
複数の[子アカウント](/docs/accounts/install-new-relic/account-setup/manage-apps-or-users-sub-accounts)がある場合、特定のサブアカウントに閾値アラートを設定できます: | ||
|
||
``` | ||
FROM NrConsumption SELECT sum(GigabytesIngested) | ||
WHERE productLine = 'DataPlatform' AND consumingAccountId = <var>YOUR_CHILD-ACCOUNT_ID</var> | ||
``` | ||
</Collapser> | ||
|
||
<Collapser | ||
id="gb-exceeds-threshold" | ||
title="使用量が固定の閾値(GB)を超える" | ||
> | ||
このクエリでは、使用量が1か月あたりの固定の閾値(GB)を超えるとアラートを作成します。 | ||
|
||
``` | ||
FROM NrMTDConsumption SELECT latest(GigabytesIngested) | ||
WHERE productLine = 'DataPlatform' | ||
``` | ||
</Collapser> | ||
|
||
<Collapser | ||
id="user-threshold" | ||
title="使用量がユーザーの固定の閾値を超える" | ||
> | ||
このクエリでは、使用量が請求対象のユーザーの1か月あたりの固定の閾値を超えるとアラートを作成します。 | ||
|
||
``` | ||
FROM NrMTDConsumption SELECT latest(usersBillable) | ||
``` | ||
</Collapser> | ||
|
||
<Collapser | ||
id="usage-exceeds-cost" | ||
title="使用量が推定コストの固定の閾値を超える" | ||
> | ||
このクエリでは、使用量が推定コストの固定の閾値を超えるとアラートを作成します。 | ||
|
||
``` | ||
FROM NrMTDConsumption SELECT latest(estimatedCost) | ||
WHERE productLine = 'DataPlatform' SINCE this month | ||
``` | ||
</Collapser> | ||
</CollapserGroup> | ||
|
||
## 利用可能な属性 [#attributes] | ||
|
||
以下は、[使用イベント](#data-types)にアタッチされる重要な属性の一部です。 | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th style={{ width: "200px" }}> | ||
属性 | ||
</th> | ||
|
||
<th> | ||
説明 | ||
</th> | ||
</tr> | ||
</thead> | ||
|
||
<tbody> | ||
<tr> | ||
<td> | ||
`productLine` | ||
</td> | ||
|
||
<td> | ||
使用量のカテゴリ。`DataPlatform`、`FullStackObservability`、`IncidentIntelligence`、Pro`activeDetection`の4つのオプションがあります。このカテゴリの詳細については、[New Relicプラットフォーム](https://newrelic.com/platform)をご覧ください。 | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td> | ||
`メトリック` | ||
</td> | ||
|
||
<td> | ||
使用量の複数のカテゴリを単一のメトリックに統合する。製品ラインごとにファセットを適用する場合に有用です。 | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td> | ||
`consumingAccountId` | ||
</td> | ||
|
||
<td> | ||
使用するライセンスキーから決まる、保存されたイベントを直接担当するNew RelicアカウントのID。 | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td> | ||
`estimatedCost` | ||
</td> | ||
|
||
<td> | ||
使用量とメトリックコストに基づき、推定コストを計算する。これは、毎月のインボイスではなく、今日までのコストの推定です。 | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
その他の属性については、[データディクショナリ](/attribute-dictionary)をご覧ください。 |
Binary file added
BIN
+87.5 KB
...billing/new-relic-one-user-management/images/user-management-edit-user-type.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.