diff --git a/README.md b/README.md index 526403b8..e026a2a1 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Name | Description | Enabled by default [time](docs/collector.time.md) | Windows Time Service | [thermalzone](docs/collector.thermalzone.md) | Thermal information [terminal_services](docs/collector.terminal_services.md) | Terminal services (RDS) -[textfile](docs/collector.textfile.md) | Read prometheus metrics from a text file | ✓ +[textfile](docs/collector.textfile.md) | Read prometheus metrics from a text file | [vmware_blast](docs/collector.vmware_blast.md) | VMware Blast session metrics | [vmware](docs/collector.vmware.md) | Performance counters installed by the Vmware Guest agent | diff --git a/docs/example_config.yml b/docs/example_config.yml index f06c8b23..7a08a831 100644 --- a/docs/example_config.yml +++ b/docs/example_config.yml @@ -1,7 +1,7 @@ --- # Note this is not an exhaustive list of all configuration values collectors: - enabled: cpu,cs,logical_disk,net,os,service,system,textfile + enabled: cpu,cs,logical_disk,net,os,service,system collector: service: services-where: Name='windows_exporter' diff --git a/pkg/types/const.go b/pkg/types/const.go index decc07ce..eca2931c 100644 --- a/pkg/types/const.go +++ b/pkg/types/const.go @@ -3,7 +3,7 @@ package types const ( - DefaultCollectors = "cpu,cs,logical_disk,physical_disk,net,os,service,system,textfile" + DefaultCollectors = "cpu,cs,logical_disk,physical_disk,net,os,service,system" DefaultCollectorsPlaceholder = "[defaults]" Namespace = "windows" ) diff --git a/tools/end-to-end-test.ps1 b/tools/end-to-end-test.ps1 index eba7b365..ca16b8a0 100644 --- a/tools/end-to-end-test.ps1 +++ b/tools/end-to-end-test.ps1 @@ -25,7 +25,7 @@ $skip_re = "^(go_|windows_exporter_build_info|windows_exporter_collector_duratio $exporter_proc = Start-Process ` -PassThru ` -FilePath ..\windows_exporter.exe ` - -ArgumentList "--log.level=debug --web.disable-exporter-metrics --collector.textfile.directories=$($textfile_dir)" ` + -ArgumentList "--log.level=debug --web.disable-exporter-metrics --collectors.enabled=[defaults],textfile --collector.textfile.directories=$($textfile_dir)" ` -WindowStyle Hidden ` -RedirectStandardOutput "$($temp_dir)/windows_exporter.log" ` -RedirectStandardError "$($temp_dir)/windows_exporter_error.log"