Defined Type: prometheus::jmx_exporter_instance
- Defined in:
- modules/prometheus/manifests/jmx_exporter_instance.pp
Overview
Define: prometheus::jmx_exporter_instance
Dummy define to instruct Prometheus to poll $hostname:$port for metrics exporter by jmx_exporter. Note that the $hostname:$port identifies a Prometheus target, to which metrics will be associated, so hardcoding the $hostname puppet variable was not working for use cases like Cassandra or Kafka (on which multiple JVMs are working and publishing metrics).
9 10 11 12 13 14 |
# File 'modules/prometheus/manifests/jmx_exporter_instance.pp', line 9
define prometheus::jmx_exporter_instance (
$hostname,
$port,
$labels = {},
) {
}
|