Skip to content

Commit f75604c

Browse files
committed
Merge pull request #165 from salekseev/feature-es_metrics
Adding an updated plugin es_metrics to monitor elasticsearch, renamed to...
2 parents 173ea25 + 3b959b8 commit f75604c

File tree

2 files changed

+783
-0
lines changed

2 files changed

+783
-0
lines changed

es_metrics/conf.d/es_metrics.pyconf

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#
2+
3+
modules {
4+
module {
5+
name = "es_metrics"
6+
language = "python"
7+
8+
param metric_group {
9+
value = "elasticsearch"
10+
}
11+
12+
param host {
13+
value = "http://localhost:9200/"
14+
}
15+
16+
param version {
17+
value = "1.3"
18+
}
19+
20+
# In order to get index specific stats specify each index seperated by
21+
# whitespace.
22+
#
23+
# indices can be grouped by using comma,
24+
# e.g. index3,index4 will give statistics (docs_count, etc.) for both
25+
# index1 and index2
26+
param indices {
27+
value = "*"
28+
# value = "index1 index2 index3,index4"
29+
}
30+
}
31+
}
32+
33+
collection_group {
34+
collect_every = 30
35+
time_threshold = 60
36+
37+
metric {
38+
name_match = "es_(.+)"
39+
}
40+
}
41+

0 commit comments

Comments
 (0)