Jcrespo has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/338970 )

Change subject: prometheus-mysql-exporter: Add labsdb1005, just upgraded from 
precise
......................................................................


prometheus-mysql-exporter: Add labsdb1005, just upgraded from precise

labsdb1005 used to be on precise, so it was not part of the
mysql-node-exporter. Now it can be added there.

The problem with labsdb1005 and labsdb1004 is that they use
/var/run/mysqld/mysqld.sock as the socket to connect to, so the
socket configuration has to be transmitted to the exporter somehow.

Change-Id: Idf53fd38094e1aa690193896c9fce1304a7ca412
---
M modules/role/files/prometheus/mysql-labs_eqiad.yaml
1 file changed, 6 insertions(+), 6 deletions(-)

Approvals:
  Jcrespo: Verified; Looks good to me, approved
  Filippo Giunchedi: Looks good to me, but someone else must approve



diff --git a/modules/role/files/prometheus/mysql-labs_eqiad.yaml 
b/modules/role/files/prometheus/mysql-labs_eqiad.yaml
index 7d59296..82c41d7 100644
--- a/modules/role/files/prometheus/mysql-labs_eqiad.yaml
+++ b/modules/role/files/prometheus/mysql-labs_eqiad.yaml
@@ -12,12 +12,12 @@
 
 - labels:
     shard: tools
-    role: master
+    role: slave
   targets:
   - labsdb1004:9104
-#- labels:
-#    shard: tools
-#    role: slave
-#  targets:
-#  - labsdb1005:9104
+- labels:
+    shard: tools
+    role: master
+  targets:
+  - labsdb1005:9104
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Idf53fd38094e1aa690193896c9fce1304a7ca412
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <[email protected]>
Gerrit-Reviewer: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: Jcrespo <[email protected]>
Gerrit-Reviewer: Marostegui <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to