Cloudfoundry 容器指标集编辑

此功能处于测试阶段,可能会发生变化。其设计和代码尚未成熟到正式 GA 功能的程度,并且按“原样”提供,不附带任何担保。测试功能不受正式 GA 功能支持 SLA 的约束。

Cloud Foundry 模块的容器指标集允许您收集 loggregator 发送到 metricbeat 的容器指标。

这是一个默认指标集。如果主机模块未配置,则默认情况下会启用此指标集。

字段

有关指标集中的每个字段的描述,请参阅导出字段部分。

以下是此指标集生成的示例文档

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "cloudfoundry": {
        "app": {
            "id": "8d165a12-fbd8-40cb-b71a-5bc6086df04c",
            "name": "log-gen"
        },
        "container": {
            "cpu.pct": 4.231873716293137,
            "disk.bytes": 122691584,
            "disk.quota.bytes": 1073741824,
            "instance_index": 3,
            "memory.bytes": 52250065,
            "memory.quota.bytes": 1073741824
        },
        "envelope": {
            "deployment": "cf-9c11cd01425665e2ed6d",
            "index": "9e1a45be-f8a4-44ef-9c34-22f6e51ce4c7",
            "ip": "192.168.16.37",
            "job": "diego_cell",
            "origin": "rep"
        },
        "org": {
            "id": "4af89198-dd33-4542-9915-f489542bc058",
            "name": "elastic-logging-org"
        },
        "space": {
            "id": "10ed1559-e399-4034-babf-6424ef888dc1",
            "name": "logging-space"
        },
        "tags": {
            "instance_id": "3",
            "process_id": "8d165a12-fbd8-40cb-b71a-5bc6086df04c",
            "process_instance_id": "75568c86-b9e0-4330-4784-928b",
            "process_type": "web",
            "product": "VMware Tanzu Application Service",
            "source_id": "8d165a12-fbd8-40cb-b71a-5bc6086df04c"
        },
        "type": "container"
    },
    "service": {
        "type": "cloudfoundry"
    }
}