Elukey has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/402021 )
Change subject: role::prometheus::analytics: add configuration for jmx hadoop
agents
......................................................................
role::prometheus::analytics: add configuration for jmx hadoop agents
Bug: T177458
Change-Id: I5b701695eb20ca6c8bba74af89ece91e2c71e31e
---
M modules/role/manifests/prometheus/analytics.pp
1 file changed, 26 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/21/402021/1
diff --git a/modules/role/manifests/prometheus/analytics.pp
b/modules/role/manifests/prometheus/analytics.pp
index 1cb5937..21d46c6 100644
--- a/modules/role/manifests/prometheus/analytics.pp
+++ b/modules/role/manifests/prometheus/analytics.pp
@@ -32,8 +32,34 @@
{ 'files' => [ "${targets_path}/jmx_druid_*.yaml" ]}
],
},
+ {
+ 'job_name' => 'jmx_hadoop',
+ 'scrape_timeout' => '25s',
+ 'scheme' => 'http',
+ 'file_sd_configs' => [
+ { 'files' => [ "${targets_path}/jmx_hadoop_*.yaml" ]}
+ ],
+ },
]
+ prometheus::jmx_exporter_config{ "hadoop_worker_${::site}":
+ dest => "${targets_path}/jmx_hadoop_worker_${::site}.yaml",
+ class_name => 'role::analytics_cluster::hadoop::worker',
+ site => $::site,
+ }
+
+ prometheus::jmx_exporter_config{ "hadoop_master_${::site}":
+ dest => "${targets_path}/jmx_hadoop_master_${::site}.yaml",
+ class_name => 'role::analytics_cluster::hadoop::master',
+ site => $::site,
+ }
+
+ prometheus::jmx_exporter_config{ "hadoop_standby_${::site}":
+ dest => "${targets_path}/jmx_hadoop_standby_${::site}.yaml",
+ class_name => 'role::analytics_cluster::hadoop::standby',
+ site => $::site,
+ }
+
prometheus::jmx_exporter_config{ "druid_public_${::site}":
dest => "${targets_path}/jmx_druid_public_${::site}.yaml",
class_name => 'role::druid::public::worker',
--
To view, visit https://gerrit.wikimedia.org/r/402021
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5b701695eb20ca6c8bba74af89ece91e2c71e31e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Elukey <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits