Elukey has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/404269 )
Change subject: role::prometheus::ops: add puppetdb metrics ...................................................................... role::prometheus::ops: add puppetdb metrics Bug: T184796 Change-Id: If53cdce855e1550f5b142c2556ad995c678665e6 --- M modules/role/manifests/prometheus/ops.pp 1 file changed, 7 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/69/404269/1 diff --git a/modules/role/manifests/prometheus/ops.pp b/modules/role/manifests/prometheus/ops.pp index 0976ddc..3fab650 100644 --- a/modules/role/manifests/prometheus/ops.pp +++ b/modules/role/manifests/prometheus/ops.pp @@ -577,11 +577,11 @@ $jmx_exporter_jobs = [ { - 'job_name' => 'jmx_kafka', + 'job_name' => 'jmx_exporter', 'scrape_timeout' => '25s', 'scheme' => 'http', 'file_sd_configs' => [ - { 'files' => [ "${targets_path}/jmx_kafka_*.yaml" ]} + { 'files' => [ "${targets_path}/jmx_*.yaml" ]} ], }, ] @@ -592,6 +592,11 @@ site => $::site, } + prometheus::jmx_exporter_config{ "puppetdb_${::site}": + dest => "${targets_path}/jmx_puppetdb_${::site}.yaml", + class_name => 'role::puppetmaster::puppetdb', + site => $::site, + } $etherpad_jobs = [ { -- To view, visit https://gerrit.wikimedia.org/r/404269 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If53cdce855e1550f5b142c2556ad995c678665e6 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Elukey <ltosc...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits