Manybubbles has uploaded a new change for review.
https://gerrit.wikimedia.org/r/160987
Change subject: Get back fewer stats to lower overhead
......................................................................
Get back fewer stats to lower overhead
Elasticsearch 1.3 has high overhead when you request the segments stat and
we were requesting it but not using it. Lets just not request it.
Change-Id: I1f7e11cf17a4aa2d7a64832e7cec76295a27bde2
---
M modules/elasticsearch/files/ganglia/elasticsearch_monitoring.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/87/160987/1
diff --git a/modules/elasticsearch/files/ganglia/elasticsearch_monitoring.py
b/modules/elasticsearch/files/ganglia/elasticsearch_monitoring.py
index a90d30b..7548a83 100644
--- a/modules/elasticsearch/files/ganglia/elasticsearch_monitoring.py
+++ b/modules/elasticsearch/files/ganglia/elasticsearch_monitoring.py
@@ -528,7 +528,7 @@
def main_path_transformer(data, path):
node = data['stats']['nodes'].keys()[0]
return 'nodes.%(node)s.%(path)s' % {'node': node, 'path': path}
- main_url = '{0}/_nodes/_local/stats?groups=_all'.format(host)
+ main_url =
'{0}/_nodes/_local/stats/thread_pool,process,transport,fs,jvm,indices'.format(host)
main_result = {
'last_update': 0,
'url': main_url,
--
To view, visit https://gerrit.wikimedia.org/r/160987
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1f7e11cf17a4aa2d7a64832e7cec76295a27bde2
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Manybubbles <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits