mirror of
https://github.com/grafana/grafana.git
synced 2026-07-29 15:59:50 -05:00
feat(collectd): updated collectd config
This commit is contained in:
@@ -14,10 +14,9 @@ LoadPlugin interface
|
|||||||
LoadPlugin uptime
|
LoadPlugin uptime
|
||||||
LoadPlugin swap
|
LoadPlugin swap
|
||||||
LoadPlugin write_graphite
|
LoadPlugin write_graphite
|
||||||
|
LoadPlugin processes
|
||||||
<Plugin cpu>
|
LoadPlugin aggregation
|
||||||
ReportByCpu {{ REPORT_BY_CPU | default("false") }}
|
LoadPlugin match_regex
|
||||||
</Plugin>
|
|
||||||
|
|
||||||
<Plugin df>
|
<Plugin df>
|
||||||
# expose host's mounts into container using -v /:/host:ro (location inside container does not matter much)
|
# expose host's mounts into container using -v /:/host:ro (location inside container does not matter much)
|
||||||
@@ -46,6 +45,9 @@ LoadPlugin write_graphite
|
|||||||
ReportByDevice false
|
ReportByDevice false
|
||||||
ReportReserved true
|
ReportReserved true
|
||||||
ReportInodes true
|
ReportInodes true
|
||||||
|
ValuesAbsolute true
|
||||||
|
ValuesPercentage true
|
||||||
|
ReportInodes true
|
||||||
</Plugin>
|
</Plugin>
|
||||||
|
|
||||||
<Plugin "disk">
|
<Plugin "disk">
|
||||||
@@ -53,6 +55,15 @@ LoadPlugin write_graphite
|
|||||||
IgnoreSelected false
|
IgnoreSelected false
|
||||||
</Plugin>
|
</Plugin>
|
||||||
|
|
||||||
|
<Plugin "aggregation">
|
||||||
|
<Aggregation>
|
||||||
|
Plugin "cpu"
|
||||||
|
Type "cpu"
|
||||||
|
GroupBy "Host"
|
||||||
|
GroupBy "TypeInstance"
|
||||||
|
CalculateAverage true
|
||||||
|
</Aggregation>
|
||||||
|
</Plugin>
|
||||||
|
|
||||||
<Plugin interface>
|
<Plugin interface>
|
||||||
Interface "lo"
|
Interface "lo"
|
||||||
@@ -61,6 +72,19 @@ LoadPlugin write_graphite
|
|||||||
IgnoreSelected true
|
IgnoreSelected true
|
||||||
</Plugin>
|
</Plugin>
|
||||||
|
|
||||||
|
<Chain "PostCache">
|
||||||
|
<Rule>
|
||||||
|
<Match regex>
|
||||||
|
Plugin "^cpu$"
|
||||||
|
PluginInstance "^[0-9]+$"
|
||||||
|
</Match>
|
||||||
|
<Target write>
|
||||||
|
Plugin "aggregation"
|
||||||
|
</Target>
|
||||||
|
Target stop
|
||||||
|
</Rule>
|
||||||
|
Target "write"
|
||||||
|
</Chain>
|
||||||
|
|
||||||
<Plugin "write_graphite">
|
<Plugin "write_graphite">
|
||||||
<Carbon>
|
<Carbon>
|
||||||
|
|||||||
Reference in New Issue
Block a user