Cloud Foundry 容器指标集

编辑

此功能处于测试阶段,可能随时更改。其设计和代码不如正式 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"
    }
}