Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add newline to end of windows perfmon config #3829

Merged
merged 2 commits into from
Mar 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions metricbeat/docs/modules/windows.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ This file is generated! See scripts/docs_collector.py
////

[[metricbeat-module-windows]]
== windows Module
== Windows Module

This is the windows Module.
This is the Windows module.


[float]
Expand All @@ -21,7 +21,8 @@ metricbeat.modules:
# metricsets: ["perfmon"]
# enabled: true
# period: 10s
# perfmon.counters:----
# perfmon.counters:
----

[float]
=== Metricsets
Expand Down
1 change: 1 addition & 0 deletions metricbeat/metricbeat.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ metricbeat.modules:
# enabled: true
# period: 10s
# perfmon.counters:

#------------------------------ ZooKeeper Module -----------------------------
#- module: zookeeper
#metricsets: ["mntr"]
Expand Down
1 change: 1 addition & 0 deletions metricbeat/metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ metricbeat.modules:
# perfmon.counters:



#================================ General =====================================

# The name of the shipper that publishes the network data. It can be used to group
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/windows/_meta/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# metricsets: ["perfmon"]
# enabled: true
# period: 10s
# perfmon.counters:
# perfmon.counters:
4 changes: 2 additions & 2 deletions metricbeat/module/windows/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
== windows Module
== Windows Module

This is the windows Module.
This is the Windows module.
22 changes: 12 additions & 10 deletions metricbeat/module/windows/perfmon/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
=== windows perfmon MetricSet
=== Windows Perfmon MetricSet

This is the perfmon metricset of the module windows.
This is the perfmon metricset of the Windows module. It reads Windows
performance counters.

[float]
=== Features and configuration
=== Configuration

Metricset to collect performance counters.
Example configuration:
```
You must configure queries for the Windows performance counters that you wish
to collect. The example below collects processor time and disk writes.

[source,yaml]
----
- module: windows
metricsets: ["perfmon"]
enabled: true
period: 10s
perfmon.counters:
- group: "processor"
collectors:
- group: "processor"
collectors:
- alias: "processor_time"
query: '\Processor Information(_Total)\% Processor Time'
- group: "disk"
collectors:
- alias: "bytes_written"
query: '\PhysicalDisk(_Total)\Disk Writes/sec'
```
----