Filippo Giunchedi has submitted this change and it was merged. (
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, 8 insertions(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Filippo Giunchedi: Looks good to me, approved
diff --git a/modules/role/manifests/prometheus/ops.pp
b/modules/role/manifests/prometheus/ops.pp
index fd3a799..ff7cd90 100644
--- a/modules/role/manifests/prometheus/ops.pp
+++ b/modules/role/manifests/prometheus/ops.pp
@@ -329,6 +329,14 @@
},
}
+ prometheus::cluster_config{ "nginx_thumbor_${::site}":
+ dest => "${targets_path}/nginx_thumbor_${::site}.yaml",
+ site => $::site,
+ cluster => 'thumbor',
+ port => 8800,
+ labels => {},
+ }
+
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: merged
Gerrit-Change-Id: Ied56f8ec7fd390dd93b761ecb79fa04ce440e868
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits