RabbitMQ node metricset

edit

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

edit

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"
    },
    "metricset": {
        "host": "rabbitmq:15672",
        "module": "rabbitmq",
        "name": "node",
        "rtt": 115
    },
    "rabbitmq": {
        "node": {
            "disk": {
                "free": {
                    "bytes": 50068475904,
                    "limit": {
                        "bytes": 50000000
                    }
                }
            },
            "fd": {
                "total": 1048576,
                "used": 24
            },
            "gc": {
                "num": {
                    "count": 4500
                },
                "reclaimed": {
                    "bytes": 305711168
                }
            },
            "io": {
                "file_handle": {
                    "open_attempt": {
                        "avg": {
                            "ms": 0
                        },
                        "count": 10
                    }
                },
                "read": {
                    "avg": {
                        "ms": 3
                    },
                    "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": 1655649075
                },
                "used": {
                    "bytes": 34004992
                }
            },
            "mnesia": {
                "disk": {
                    "tx": {
                        "count": 12
                    }
                },
                "ram": {
                    "tx": {
                        "count": 2
                    }
                }
            },
            "msg": {
                "store_read": {
                    "count": 0
                },
                "store_write": {
                    "count": 0
                }
            },
            "name": "rabbit@bd8e0cf4f153",
            "proc": {
                "total": 1048576,
                "used": 323
            },
            "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": 677901
        }
    }
}