Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions es2graphite.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2.7

import re
import sys
Expand Down Expand Up @@ -265,7 +265,7 @@ def get_metrics():
thread_pool_metrics = process_thread_pool(args.prefix, thread_pool, cluster_health['cluster_name'])
submit_to_graphite(thread_pool_metrics)

indices_stats_url = 'http://%s/_stats?all=true' % get_es_host()
indices_stats_url = 'http://%s/_stats' % get_es_host()
if args.shard_stats:
indices_stats_url = '%s&level=shards' % indices_stats_url
elif args.health_level == 'cluster':
Expand Down