Etcd 指标 metricset
编辑Etcd 指标 metricset
编辑此功能处于 Beta 测试阶段,可能会发生更改。其设计和代码不如正式 GA 功能成熟,按“原样”提供,不提供任何担保。Beta 功能不受正式 GA 功能的支持 SLA 约束。
这是 etcd 模块的指标端点 metricset。这些指标是从 Etcd V3 端点读取的,不会显示任何关于 Etcd V2 的活动。
有关 metricset 中每个字段的描述,请参阅导出的字段部分。
以下是由此 metricset 生成的示例文档
{ "@timestamp": "2017-10-12T08:05:34.853Z", "etcd": { "api_version": "3", "disk": { "backend_commit_duration": { "ns": { "bucket": { "+Inf": 7, "1000000": 5, "1024000000": 7, "128000000": 7, "16000000": 7, "2000000": 7, "2048000000": 7, "256000000": 7, "32000000": 7, "4000000": 7, "4096000000": 7, "512000000": 7, "64000000": 7, "8000000": 7, "8192000000": 7 }, "count": 7, "sum": 4332557 } }, "mvcc_db_total_size": { "bytes": 41369600 }, "wal_fsync_duration": { "ns": { "bucket": { "+Inf": 3, "1000000": 0, "1024000000": 3, "128000000": 3, "16000000": 2, "2000000": 0, "2048000000": 3, "256000000": 3, "32000000": 3, "4000000": 0, "4096000000": 3, "512000000": 3, "64000000": 3, "8000000": 2, "8192000000": 3 }, "count": 3, "sum": 40943916.00000001 } } }, "memory": { "go_memstats_alloc": { "bytes": 9952840 } }, "network": { "client_grpc_received": { "bytes": 0 }, "client_grpc_sent": { "bytes": 0 } }, "server": { "grpc_handled": { "count": 0 }, "grpc_started": { "count": 0 }, "has_leader": 1, "leader_changes": { "count": 1 }, "proposals_committed": { "count": 110024 }, "proposals_failed": { "count": 0 }, "proposals_pending": { "count": 0 } } }, "event": { "dataset": "etcd", "duration": 115000, "module": "etcd" }, "metricset": { "name": "metrics" }, "service": { "address": "127.0.0.1:2379", "type": "etcd" } }