Puppet Class: profile::druid::monitoring::historical
- Defined in:
- modules/profile/manifests/druid/monitoring/historical.pp
Overview
SPDX-License-Identifier: Apache-2.0 Class: profile::druid::monitoring::historical
Sets up Prometheus based monitoring (only jvm) for the druid historical.
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'modules/profile/manifests/druid/monitoring/historical.pp', line 6
class profile::druid::monitoring::historical {
$jmx_exporter_config_file = '/etc/prometheus/druid_historical_jmx_exporter.yaml'
$prometheus_jmx_exporter_historical_port = 8183
$java_opts = "-javaagent:/usr/share/java/prometheus/jmx_prometheus_javaagent.jar=${::ipaddress}:${prometheus_jmx_exporter_historical_port}:${jmx_exporter_config_file}"
profile::prometheus::jmx_exporter { "druid_historical_${::hostname}":
hostname => $::hostname,
port => $prometheus_jmx_exporter_historical_port,
config_file => $jmx_exporter_config_file,
config_dir => '/etc/prometheus',
source => 'puppet:///modules/profile/druid/jvm_prometheus_jmx_exporter.yaml',
}
}
|