Puppet Class: prometheus::wmf_elasticsearch_exporter::common
- Defined in:
- modules/prometheus/manifests/wmf_elasticsearch_exporter/common.pp
Overview
Collect metrics exposed by the search-extra elasticsearch plugin. See github.com/wikimedia/search-extra/blob/master/src/main/java/org/wikimedia/search/extra/latency/LatencyStatsAction.java
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'modules/prometheus/manifests/wmf_elasticsearch_exporter/common.pp', line 3
class prometheus::wmf_elasticsearch_exporter::common {
ensure_packages('python3-prometheus-client')
file { '/usr/local/bin/prometheus-wmf-elasticsearch-exporter':
ensure => present,
source => 'puppet:///modules/prometheus/usr/local/bin/prometheus-wmf-elasticsearch-exporter.py',
owner => 'root',
group => 'root',
mode => '0555',
}
}
|