Docker memory metricset

The Docker memory metricset collects memory metrics.

Fields

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",
    "beat": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "docker": {
        "container": {
            "id": "da57ef738524e5a4f6ae17b477f134d30719603db7b96d2c01b6f34010412e66",
            "labels": {
                "build-date": "20170911",
                "com_docker_compose_config-hash": "13a74b89a90a6fdcb6bbbc7eb37b7cb0615bdaf8",
                "com_docker_compose_container-number": "1",
                "com_docker_compose_oneoff": "False",
                "com_docker_compose_project": "metricbeat",
                "com_docker_compose_service": "elasticsearch",
                "com_docker_compose_version": "1.5.0",
                "license": "GPLv2",
                "maintainer": "Elastic Docker Team \u003cdocker@elastic.co\u003e",
                "name": "CentOS Base Image",
                "vendor": "CentOS"
            },
            "name": "metricbeat_elasticsearch_1"
        },
        "memory": {
            "fail": {
                "count": 0
            },
            "limit": 4139122688,
            "rss": {
                "pct": 0.08521683713860477,
                "total": 352722944
            },
            "usage": {
                "max": 370184192,
                "pct": 0.08716433389277685,
                "total": 360783872
            }
        }
    },
    "metricset": {
        "host": "/var/run/docker.sock",
        "module": "docker",
        "name": "memory",
        "rtt": 115
    }
}