RabbitMQ队列metricset

编辑

这是rabbitmq模块的队列metricset。

这是一个默认的metricset。如果主机模块未配置,则默认启用此metricset。

字段

有关metricset中每个字段的描述,请参见导出字段部分。

这是一个此metricset生成的示例文档。

{
    "@timestamp": "2019-03-01T08:05:34.853Z",
    "event": {
        "dataset": "rabbitmq.queue",
        "duration": 115000,
        "module": "rabbitmq"
    },
    "metricset": {
        "name": "queue"
    },
    "rabbitmq": {
        "node": {
            "name": "rabbit@localhost"
        },
        "queue": {
            "arguments": {
                "max_priority": 9
            },
            "auto_delete": false,
            "consumers": {
                "count": 3,
                "utilisation": {
                    "pct": 0.7
                }
            },
            "disk": {
                "reads": {
                    "count": 212
                },
                "writes": {
                    "count": 121
                }
            },
            "durable": true,
            "exclusive": false,
            "memory": {
                "bytes": 232720
            },
            "messages": {
                "persistent": {
                    "count": 73
                },
                "ready": {
                    "count": 71,
                    "details": {
                        "rate": 0
                    }
                },
                "total": {
                    "count": 74,
                    "details": {
                        "rate": 2.2
                    }
                },
                "unacknowledged": {
                    "count": 3,
                    "details": {
                        "rate": 0.5
                    }
                }
            },
            "name": "queuenamehere",
            "state": "running"
        },
        "vhost": "/"
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "rabbitmq"
    }
}