summaryrefslogtreecommitdiff
path: root/src/pmchart/views/ElasticsearchServer
diff options
context:
space:
mode:
Diffstat (limited to 'src/pmchart/views/ElasticsearchServer')
-rw-r--r--src/pmchart/views/ElasticsearchServer29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/pmchart/views/ElasticsearchServer b/src/pmchart/views/ElasticsearchServer
new file mode 100644
index 0000000..4372c8a
--- /dev/null
+++ b/src/pmchart/views/ElasticsearchServer
@@ -0,0 +1,29 @@
+#kmchart
+version 1
+
+# CPU view
+chart title "CPU Utilization [%h]" style utilization
+ plot legend "User" color #2d2de2 metric kernel.all.cpu.user
+ plot legend "Sys" color #e71717 metric kernel.all.cpu.sys
+ optional-plot legend "Nice" color #c2f3c2 metric kernel.all.cpu.nice
+ optional-plot legend "Intr" color #cdcd00 metric kernel.all.cpu.intr
+ optional-plot legend "Wait" color #00cdcd metric kernel.all.cpu.wait.total
+ optional-plot legend "Steal" color #fba2f5 metric kernel.all.cpu.steal
+ plot legend "Idle" color #16d816 metric kernel.all.cpu.idle
+
+chart title "Average Load [%h]" style plot antialiasing off
+ plot legend "1 min" metric kernel.all.load instance "1 minute"
+ plot legend "# cpus" metric hinv.ncpu
+
+# Query/Fetch per second
+chart title "Searches" style plot antialiasing off
+ plot legend "Query" metric elasticsearch.search.all.total.search.query_total
+ plot legend "Fetch" metric elasticsearch.search.all.total.search.fetch_total
+
+# CPU usage per node
+chart title "CPU %" style plot antialiasing off
+ plot legend "cpu %i" metric elasticsearch.nodes.process.cpu.percent
+
+# Doc count per node
+chart title "Document" style plot antialiasing off
+ plot legend "docs %i" metric elasticsearch.nodes.indices.docs.count \ No newline at end of file