AWS DynamoDB 度量集

编辑

此功能处于测试阶段,可能会发生变化。其设计和代码不如正式 GA 功能成熟,按原样提供,不提供任何保证。测试版功能不受正式 GA 功能支持 SLA 的约束。

aws 模块的 dynamodb 度量集允许您监控 AWS DynamoDB 数据库。dynamodb 度量集从 Amazon DynamoDB 指标 中获取一组值。对于所有其他 DynamoDB 指标,聚合粒度为五分钟。

配置示例

编辑
- module: aws
  period: 300s
  metricsets:
    - dynamodb
  # This module uses the aws cloudwatch metricset, all
  # the options for this metricset are also available here.

仪表盘

编辑

aws dynamodb 度量集附带一个预定义的仪表盘。例如

metricbeat aws dynamodb overview

指标

编辑

有关每个指标的更多详细信息,请参阅 Amazon DynamoDB 指标

指标名称

统计方法

SuccessfulRequestLatency

平均值

OnlineIndexPercentageProgress

平均值

ProvisionedWriteCapacityUnits

平均值

ProvisionedReadCapacityUnits

平均值

ConsumedReadCapacityUnits

平均值

ConsumedWriteCapacityUnits

平均值

ReplicationLatency

平均值

TransactionConflict

平均值

AccountProvisionedReadCapacityUtilization

平均值

AccountProvisionedWriteCapacityUtilization

平均值

SystemErrors

总和

ConsumedReadCapacityUnits

总和

ConsumedWriteCapacityUnits

总和

ConditionalCheckFailedRequests

总和

PendingReplicationCount

总和

TransactionConflict

总和

ReadThrottleEvents

总和

ThrottledRequests

总和

WriteThrottleEvents

总和

SuccessfulRequestLatency

最大值

ReplicationLatency

最大值

AccountMaxReads

最大值

AccountMaxTableLevelReads

最大值

AccountMaxTableLevelWrites

最大值

AccountMaxWrites

最大值

MaxProvisionedTableReadCapacityUtilization

最大值

MaxProvisionedTableWriteCapacityUtilization

最大值

这是一个默认度量集。如果主机模块未配置,则默认启用此度量集。

字段

有关度量集中每个字段的说明,请参阅 导出字段 部分。

以下是此度量集生成的示例文档

{
    "@timestamp": "2020-01-10T11:01:22.612Z",
    "@metadata": {
        "beat": "metricbeat",
        "type": "_doc",
        "version": "8.0.0"
    },
    "host": {
        "id": "883134FF-0EC4-5E1B-9F9E-FD06FB681D84",
        "hostname": "vm1",
        "architecture": "x86_64",
        "name": "vm1",
        "os": {
            "family": "darwin",
            "name": "Mac OS X",
            "kernel": "18.7.0",
            "build": "18G95",
            "platform": "darwin",
            "version": "10.14.6"
        }
    },
    "agent": {
        "hostname": "vm1",
        "id": "fbaf40e4-c9f2-4d9f-840f-b3d8de51b42c",
        "version": "8.0.0",
        "type": "metricbeat",
        "ephemeral_id": "ccb69319-4fbd-4881-996a-4c710322da8b"
    },
    "cloud": {
        "region": "eu-central-1",
        "account": {
            "name": "elastic-beats",
            "id": "428152502467"
        },
        "provider": "aws"
    },
    "aws": {
        "dimensions": {
            "TableName": "TryDaxTable",
            "Operation": "Query"
        },
        "dynamodb": {
            "metrics": {
                "SuccessfulRequestLatency": {
                    "avg": 1.6592021822660081,
                    "max": 2.883089
                },
                "ThrottledRequests": {
                    "sum": 112
                }
            }
        },
        "cloudwatch": {
            "namespace": "AWS/DynamoDB"
        }
    },
    "event": {
        "duration": 1447079629,
        "dataset": "aws.dynamodb",
        "module": "aws"
    },
    "metricset": {
        "name": "dynamodb",
        "period": 60000
    },
    "service": {
        "type": "aws"
    },
    "ecs": {
        "version": "1.2.0"
    }
}