Skip to content

Commit

Permalink
Adding an updated plugin es_metrics to monitor elasticsearch, renamed…
Browse files Browse the repository at this point in the history
… to avoid name collision with elasticsearch-py. Updated with new metrics for ElasticSearch 1.3.
  • Loading branch information
salekseev committed Sep 24, 2014
1 parent 4221f6b commit 3b959b8
Show file tree
Hide file tree
Showing 2 changed files with 783 additions and 0 deletions.
41 changes: 41 additions & 0 deletions es_metrics/conf.d/es_metrics.pyconf
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#

modules {
module {
name = "es_metrics"
language = "python"

param metric_group {
value = "elasticsearch"
}

param host {
value = "http://localhost:9200/"
}

param version {
value = "1.3"
}

# In order to get index specific stats specify each index seperated by
# whitespace.
#
# indices can be grouped by using comma,
# e.g. index3,index4 will give statistics (docs_count, etc.) for both
# index1 and index2
param indices {
value = "*"
# value = "index1 index2 index3,index4"
}
}
}

collection_group {
collect_every = 30
time_threshold = 60

metric {
name_match = "es_(.+)"
}
}

Loading

0 comments on commit 3b959b8

Please sign in to comment.