Skip to content

Commit

Permalink
Fix fields.yml for aws dynamodb metricset (elastic#18888)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyan-sheng authored Jun 2, 2020
1 parent 6369b78 commit 6c77444
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 79 deletions.
65 changes: 30 additions & 35 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1604,23 +1604,22 @@ type: keyword



[float]
=== SuccessfulRequestLatency

The latency of successful requests to DynamoDB or Amazon DynamoDB Streams during the specified time period.



*`aws.dynamodb.metrics.SuccessfulRequestLatency.avg`*::
+
--
The average latency of successful requests to DynamoDB or Amazon DynamoDB Streams during the specified time period.


type: double

--

*`aws.dynamodb.metrics.SuccessfulRequestLatency.max`*::
+
--
The maximum latency of successful requests to DynamoDB or Amazon DynamoDB Streams during the specified time period.


type: double

--
Expand Down Expand Up @@ -1655,86 +1654,82 @@ type: double

--

[float]
=== ConsumedReadCapacityUnits

The number of read capacity units consumed over the specified time period, so you can track how much of your provisioned throughput is used.



*`aws.dynamodb.metrics.ConsumedReadCapacityUnits.avg`*::
+
--
The average number of read capacity units consumed over the specified time period, so you can track how much of your provisioned throughput is used.


type: double

--

*`aws.dynamodb.metrics.ConsumedReadCapacityUnits.sum`*::
+
--
type: long
The sum of read capacity units consumed over the specified time period, so you can track how much of your provisioned throughput is used.

--

[float]
=== ConsumedWriteCapacityUnits

The number of write capacity units consumed over the specified time period, so you can track how much of your provisioned throughput is used.

type: long

--

*`aws.dynamodb.metrics.ConsumedWriteCapacityUnits.avg`*::
+
--
The average number of write capacity units consumed over the specified time period, so you can track how much of your provisioned throughput is used.


type: double

--

*`aws.dynamodb.metrics.ConsumedWriteCapacityUnits.sum`*::
+
--
type: long

--
The sum of write capacity units consumed over the specified time period, so you can track how much of your provisioned throughput is used.

[float]
=== ReplicationLatency

The elapsed time between an updated item appearing in the DynamoDB stream for one replica table, and that item appearing in another replica in the global table.

type: long

--

*`aws.dynamodb.metrics.ReplicationLatency.avg`*::
+
--
The average elapsed time between an updated item appearing in the DynamoDB stream for one replica table, and that item appearing in another replica in the global table.


type: double

--

*`aws.dynamodb.metrics.ReplicationLatency.max`*::
+
--
type: double

--
The maximum elapsed time between an updated item appearing in the DynamoDB stream for one replica table, and that item appearing in another replica in the global table.

[float]
=== TransactionConflict

Rejected item-level requests due to transactional conflicts between concurrent requests on the same items.

type: double

--

*`aws.dynamodb.metrics.TransactionConflict.avg`*::
+
--
Average rejected item-level requests due to transactional conflicts between concurrent requests on the same items.


type: double

--

*`aws.dynamodb.metrics.TransactionConflict.sum`*::
+
--
Total rejected item-level requests due to transactional conflicts between concurrent requests on the same items.


type: long

--
Expand Down
86 changes: 43 additions & 43 deletions x-pack/metricbeat/module/aws/dynamodb/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
- name: metrics
type: group
fields:
- name: SuccessfulRequestLatency
type: group
- name: SuccessfulRequestLatency.avg
type: double
description: >
The average latency of successful requests to DynamoDB or Amazon DynamoDB Streams
during the specified time period.
- name: SuccessfulRequestLatency.max
type: double
description: >
The latency of successful requests to DynamoDB or Amazon DynamoDB Streams
The maximum latency of successful requests to DynamoDB or Amazon DynamoDB Streams
during the specified time period.
fields:
- name: avg
type: double
- name: max
type: double
- name: OnlineIndexPercentageProgress.avg
type: double
description: >
Expand All @@ -29,46 +29,46 @@
type: double
description: >
The number of provisioned read capacity units for a table or a global secondary index.
- name: ConsumedReadCapacityUnits
type: group
- name: ConsumedReadCapacityUnits.avg
type: double
description: >
The average number of read capacity units consumed over the specified time period,
so you can track how much of your provisioned throughput is used.
- name: ConsumedReadCapacityUnits.sum
type: long
description: >
The number of read capacity units consumed over the specified time period,
The sum of read capacity units consumed over the specified time period,
so you can track how much of your provisioned throughput is used.
fields:
- name: avg
type: double
- name: sum
type: long
- name: ConsumedWriteCapacityUnits
type: group
description: >
The number of write capacity units consumed over the specified time period,
- name: ConsumedWriteCapacityUnits.avg
type: double
description: >
The average number of write capacity units consumed over the specified time period,
so you can track how much of your provisioned throughput is used.
fields:
- name: avg
type: double
- name: sum
type: long
- name: ReplicationLatency
type: group
description: >
The elapsed time between an updated item appearing in the DynamoDB stream for
- name: ConsumedWriteCapacityUnits.sum
type: long
description: >
The sum of write capacity units consumed over the specified time period,
so you can track how much of your provisioned throughput is used.
- name: ReplicationLatency.avg
type: double
description: >
The average elapsed time between an updated item appearing in the DynamoDB stream for
one replica table, and that item appearing in another replica in the global table.
- name: ReplicationLatency.max
type: double
description: >
The maximum elapsed time between an updated item appearing in the DynamoDB stream for
one replica table, and that item appearing in another replica in the global table.
fields:
- name: avg
type: double
- name: max
type: double
- name: TransactionConflict
type: group
description: >
Rejected item-level requests due to transactional conflicts between concurrent
- name: TransactionConflict.avg
type: double
description: >
Average rejected item-level requests due to transactional conflicts between concurrent
requests on the same items.
- name: TransactionConflict.sum
type: long
description: >
Total rejected item-level requests due to transactional conflicts between concurrent
requests on the same items.
fields:
- name: avg
type: double
- name: sum
type: long
- name: AccountProvisionedReadCapacityUtilization.avg
type: double
description: >
Expand Down
Loading

0 comments on commit 6c77444

Please sign in to comment.