Bring the textfile collector over from node_exporter (#174)

Bring the textfile collector over from node_exporter

This adds a slightly modified textfile collector from the official
node_exporter project.
This commit is contained in:
Patrick O'Brien
2018-04-03 12:37:10 -07:00
committed by Calle Pettersson
parent 5db7c0a936
commit cf792394f3
5 changed files with 266 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ type WmiCollector struct {
}
const (
defaultCollectors = "cpu,cs,logical_disk,net,os,service,system"
defaultCollectors = "cpu,cs,logical_disk,net,os,service,system,textfile"
defaultCollectorsPlaceholder = "[defaults]"
serviceName = "wmi_exporter"
)