Prometheus collector metricset

edit

Prometheus collector metricset

edit

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

The Prometheus collector metricset fetches data from prometheus exporters.

All events with the same labels are grouped together as one event. The fields exported by this metricset vary depending on the Prometheus exporter that you’re using.

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": "2016-05-23T08:05:34.853Z",
    "beat": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "metricset": {
        "host": "127.0.0.1:9090",
        "module": "prometheus",
        "name": "collector",
        "namespace": "collector",
        "rtt": 115
    },
    "prometheus": {
        "collector": {
            "label": {
                "type": "quarantine_completed"
            },
            "prometheus_local_storage_series_ops_total": {
                "value": 0
            }
        }
    },
    "type": "metricsets"
}