Filippo Giunchedi has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/372823 )
Change subject: prometheus: poll nginx metrics from thumbor hosts
......................................................................
prometheus: poll nginx metrics from thumbor hosts
Bug: T151554
Change-Id: Ied56f8ec7fd390dd93b761ecb79fa04ce440e868
---
M modules/role/manifests/prometheus/ops.pp
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/23/372823/1
diff --git a/modules/role/manifests/prometheus/ops.pp
b/modules/role/manifests/prometheus/ops.pp
index fd3a799..f063268 100644
--- a/modules/role/manifests/prometheus/ops.pp
+++ b/modules/role/manifests/prometheus/ops.pp
@@ -329,6 +329,13 @@
},
}
+ prometheus::cluster_config{ "nginx_thumbor_${::site}":
+ dest => "${targets_path}/nginx_thumbor_${::site}.yaml",
+ site => $::site,
+ cluster => 'thumbor',
+ port => 8800,
+ }
+
prometheus::server { 'ops':
storage_encoding => '2',
listen_address => '127.0.0.1:9900',
--
To view, visit https://gerrit.wikimedia.org/r/372823
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ied56f8ec7fd390dd93b761ecb79fa04ce440e868
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits