RabbitMQ node metricset

This is the node metricset of the RabbitMQ module and collects metrics about RabbitMQ nodes.

The metricset has two modes to collect data which can be selected with the node.collect setting:

  • node: collects metrics only from the node metricbeat connects to. This is the default, as it is recommended to deploy metricbeat in all nodes.
  • cluster: collects metrics from all the nodes in the cluster. This is recommended when collecting metrics of an only endpoint for the whole cluster.

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",
    "agent": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "event": {
        "dataset": "rabbitmq.node",
        "duration": 115000,
        "module": "rabbitmq"
    },
    "metricset": {
        "name": "node"
    },
    "rabbitmq": {
        "node": {
            "disk": {
                "free": {
                    "bytes": 51687411712,
                    "limit": {
                        "bytes": 50000000
                    }
                }
            },
            "fd": {
                "total": 1048576,
                "used": 25
            },
            "gc": {
                "num": {
                    "count": 7153
                },
                "reclaimed": {
                    "bytes": 454566560
                }
            },
            "io": {
                "file_handle": {
                    "open_attempt": {
                        "avg": {
                            "ms": 0
                        },
                        "count": 10
                    }
                },
                "read": {
                    "avg": {
                        "ms": 0
                    },
                    "bytes": 1,
                    "count": 1
                },
                "reopen": {
                    "count": 1
                },
                "seek": {
                    "avg": {
                        "ms": 0
                    },
                    "count": 0
                },
                "sync": {
                    "avg": {
                        "ms": 0
                    },
                    "count": 0
                },
                "write": {
                    "avg": {
                        "ms": 0
                    },
                    "bytes": 0,
                    "count": 0
                }
            },
            "mem": {
                "limit": {
                    "bytes": 2498702540
                },
                "used": {
                    "bytes": 91295744
                }
            },
            "mnesia": {
                "disk": {
                    "tx": {
                        "count": 12
                    }
                },
                "ram": {
                    "tx": {
                        "count": 9
                    }
                }
            },
            "msg": {
                "store_read": {
                    "count": 0
                },
                "store_write": {
                    "count": 0
                }
            },
            "name": "rabbit@d7a26155daf9",
            "proc": {
                "total": 1048576,
                "used": 367
            },
            "processors": 4,
            "queue": {
                "index": {
                    "journal_write": {
                        "count": 0
                    },
                    "read": {
                        "count": 0
                    },
                    "write": {
                        "count": 0
                    }
                }
            },
            "run": {
                "queue": 0
            },
            "socket": {
                "total": 943626,
                "used": 0
            },
            "type": "disc",
            "uptime": 758100
        }
    },
    "service": {
        "address": "localhost:15672",
        "type": "rabbitmq"
    }
}