Jcrespo has uploaded a new change for review. (
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(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/70/338970/1
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: newchange
Gerrit-Change-Id: Idf53fd38094e1aa690193896c9fce1304a7ca412
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits