diff --git a/ja/learn/admin/REST/rest-bucket-stats.dita b/ja/learn/admin/REST/rest-bucket-stats.dita index 4a59268..6266e10 100644 --- a/ja/learn/admin/REST/rest-bucket-stats.dita +++ b/ja/learn/admin/REST/rest-bucket-stats.dita @@ -1,47 +1,51 @@ - - Getting bucket statistics - To retrieve bucket statistics, use the GET operation with the - /pools/default/buckets/bucket_name/stats URI. + + bucket統計情報取得 + + bucket統計情報を取得するには、GETオペレーションを/pools/default/buckets/bucket_name/stats URIと一緒に使用します。 + -
HTTP method and URI +
HTTPメソッドとURI -

Statistics can be retrieved at the bucket level. - The request URL should be taken from stats.uri property of a bucket response. - By default, this request returns stats for the last minute and for heavily used keys. - Query parameters provide a more detailed level of information.

+

+ 統計情報はbucketレベルで取得できます。 + リクエストURLはbucketレスポンスのstats.uriプロパティから取得する必要があります。 + デフォルトでは、このリクエストは直前の頻繁に使用されるキーの統計情報を返します。 + クエリパラメータで更に詳細なレベルの情報を指定します。 +

GET /pools/default/buckets/[bucket-name]/stats -

Parameters:

+

パラメータ:

zoom
-
Provides a statistical sampling for that bucket stats at a particular interval - (minute | hour | day | week | month | year). For example, a zoom level of - minute provides bucket statistics from the past minute, a zoom level of day - provides bucket statistics for the past day, and so on. If no zoom level is - provided, the server returns statistics from the past minute.
-
+
+ 特定の間隔(分 | 時 | 日 | 週 | 月 | 年)でbucket統計のための統計的サンプリングを提供します。 + 例えば、ズームレベルが分の場合bucket統計情報を過去数分から提供します。ズームレベルが日の場合bucket統計情報を過去数日から提供します。他も同様です。 + ズームレベルが指定されていない場合、サーバは過去数分の統計情報を返します。 +
+
haveTStamp
-
Requests statistics from this timestamp until now. - The timestamp is specified as UNIX epoch time. - To get a timestamp for a timeframe, - make a REST request to the endpoint with a zoom level.
+
+ 指定されたタイムスタンプから現在までの統計情報をリクエストします。 + タイム散布はUNIXエポックタイムとして指定します。 + タイムフレームのタイムスタンプを取得するには、エンドポイントに対してズームレベルとともにRESTリクエストを行います。 +
-
Syntax -

Curl request syntax:

+
シンタックス +

Curlリクエストシンタックス:

curl -u [admin]:[password] http://[localhost]:8091/pools/default/buckets/[bucket-name]/stats -

Raw HTTP request syntax:

+

Raw HTTP リクエストシンタックス:

GET /pools/default/buckets/[bucket-name]/stats Host: [localhost]:8091 @@ -49,9 +53,9 @@ Authorization: Basic xxxxxxxxxxxxxxxxxxx Accept: application/json X-memcachekv-Store-Client-Specification-Version: 0.1
-
Example +
-

Curl request example with no parameters:

+

パラメータのないCurlリクエスト例:

curl -u Administrator:password http://10.5.2.54:8091/pools/default/buckets/test-bucket/stats @@ -133,36 +137,38 @@ Content-Length: nnn
-
Example -

The following are sample requests at this endpoint with optional parameters.

-

The following example retrieves sample statistics from a bucket for the last - minute.

+
+

次のものは任意パラメータとともにエンドポイントに行うリクエストのサンプルです。

+

+ 次の例では直前のbucketからサンプル統計情報の取得を行います。 +

curl -X GET -u admin:password -d zoom=minute http://localhost:8091/pools/default/buckets/bucket-name/stats -

The following example retrieves sample statistics from a bucket for the past day.

+

次の例では過去数日のbucketからサンプル統計情報の取得を行います。

curl -X GET -u admin:password -d zoom=day http://localhost:8091/pools/default/buckets/bucket-name/stats -

The following example retrieves sample statistics from a bucket for the last month.

+

次の例では先月のbucketからサンプル統計情報の取得を行います。

curl -X GET -u admin:password -d zoom=month http://localhost:8091/pools/default/buckets/bucket-name/stats -

The following example retrieves statistics from a bucket from the timestamp until the - server receives the REST request.

+

次の例ではタイムスタンプからサーバがRESTリクエストを受信するまでのサンプル統計情報をbucketから取得をします。

curl -X GET -u admin:password -d zoom=hour -d haveTStamp=1376963720000 http://localhost:8091/pools/default/buckets/bucket-name/stats
-
Response -

Sample output for each of these requests appears in the same format and with the - same fields. Depending on the level of bucket activity, there may be more detail for - each field or less. In this sample output, results for each category are omitted.

+
レスポンス +

+ これらそれぞれのリクエストのサンプル出力は同じ形式、同じフィールドで表示されます。 + bucketアクティビティのレベルに応じて、各フィールドがより詳細になったり、簡素になったりすることがあります。 + この出力例では、各カテゴリの結果は省略しています。 +

{ "hot_keys": [],