New

The executive guide to generative AI

Read more

NATS connection metricset

edit

NATS connection metricset

edit

This is the connections metricset of the module nats collecting metrics per connection.

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":"2016-05-23T08:05:34.853Z",
    "beat":{
        "hostname":"beathost",
        "name":"beathost"
    },
    "metricset":{
        "host":"localhost",
        "module":"nats",
        "name":"connections",
        "rtt":44269
    },
    "nats": {
        "server": {
            "id": "bUAdpRFtMWddIBWw80Yd9D",
            "time": "2018-12-28T12:33:53.026865597Z"
        },
        "connection": {
            "idle_time": 0,
            "in": {
                "bytes": 678867264,
                "messages": 42429204
            },
            "name": "NATS Benchmark",
            "out": {
                "bytes": 0,
                "messages": 0
            },
            "pending_bytes": 0,
            "subscriptions": 0,
            "uptime": 29
        }
    },
    "type":"metricsets"
}

On this page

Was this helpful?
Feedback