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"
    }
}