Muehlenhoff has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/395577 )
Change subject: Add Prometheus scraper config for Etherpad
......................................................................
Add Prometheus scraper config for Etherpad
Bug: T182095
Change-Id: I7b1fc5a60e31fc49c8a876ad4e78a786aaf9decf
---
M modules/role/manifests/prometheus/ops.pp
1 file changed, 17 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/77/395577/1
diff --git a/modules/role/manifests/prometheus/ops.pp
b/modules/role/manifests/prometheus/ops.pp
index bd49b03..0b072ed 100644
--- a/modules/role/manifests/prometheus/ops.pp
+++ b/modules/role/manifests/prometheus/ops.pp
@@ -524,6 +524,23 @@
}
+ $etherpad_jobs = [
+ {
+ 'job_name' => 'etherpad',
+ 'scheme' => 'http',
+ 'file_sd_configs' => [
+ { 'files' => [ "${targets_path}/etherpad_*.yaml" ]}
+ ],
+ },
+ ]
+
+ prometheus::class_config{ "etherpad_${::site}":
+ dest => "${targets_path}/etherpad_${::site}.yaml",
+ site => $::site,
+ class_name => 'role::etherpad',
+ port => '9198',
+ }
+
# redis_exporter runs alongside each redis instance, thus drop the
(uninteresting in this
# case) 'addr' and 'alias' labels
$redis_exporter_relabel = {
--
To view, visit https://gerrit.wikimedia.org/r/395577
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7b1fc5a60e31fc49c8a876ad4e78a786aaf9decf
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Muehlenhoff <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits