Giuseppe Lavagetto has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/312005

Change subject: role::prometheus: correct puppetdb template
......................................................................

role::prometheus: correct puppetdb template

Change-Id: I7e45cc21450ec007c554665f5c83b8302c93da5f
---
M modules/role/templates/prometheus/node_site.yaml.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/05/312005/1

diff --git a/modules/role/templates/prometheus/node_site.yaml.erb 
b/modules/role/templates/prometheus/node_site.yaml.erb
index ba7abe4..3f672b7 100644
--- a/modules/role/templates/prometheus/node_site.yaml.erb
+++ b/modules/role/templates/prometheus/node_site.yaml.erb
@@ -9,7 +9,7 @@
   all.push(
     {
       'labels' => {'cluster' => cluster, 'site' => site },
-      'targets' => targets,
+      'targets' => targets.map{|t| "#{t}:9100" },
     }
   )
   end

-- 
To view, visit https://gerrit.wikimedia.org/r/312005
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7e45cc21450ec007c554665f5c83b8302c93da5f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to