Loading

NATS subscriptions metricset

This is the subscriptions metricset of the module nats collecting metrics about subscriptions.

This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

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",
    "event": {
        "dataset": "nats.subscriptions",
        "duration": 115000,
        "module": "nats"
    },
    "metricset": {
        "name": "subscriptions",
        "period": 10000
    },
    "nats": {
        "subscriptions": {
            "cache": {
                "fanout": {
                    "avg": 1.4285714285714286,
                    "max": 2
                },
                "hit_rate": 1.0818181818181818,
                "size": 21
            },
            "inserts": 124,
            "matches": 91,
            "removes": 32,
            "total": 92
        }
    },
    "service": {
        "address": "localhost:60202",
        "type": "nats"
    }
}