Etcd metrics metricset

edit

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

This is the metrics endpoint metricset of the etcd module. This metrics is being read from the Etcd V3 endpoint and won’t show any activity regarding Etcd V2.

Fields

edit

For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this 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"
    }
}