This functionality is in beta and is subject to change. The design and code is considered to be less mature than official GA features. Elastic will take a best effort approach to fix any issues, but beta features are not subject to the support SLA of official GA features.
This module periodically fetches metrics from Prometheus.
The Prometheus module supports the standard configuration options that are described in Modules. Here is an example configuration:
metricbeat.modules: #- module: prometheus #metricsets: ["stats"] #enabled: true #period: 10s #hosts: ["localhost:9090"] #metrics_path: /metrics #namespace: example
The following metricsets are available: