-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding an updated plugin es_metrics to monitor elasticsearch, renamed…
… to avoid name collision with elasticsearch-py. Updated with new metrics for ElasticSearch 1.3.
- Loading branch information
Showing
2 changed files
with
783 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_(.+)" | ||
} | ||
} | ||
|
Oops, something went wrong.