Skip to content

Commit

Permalink
Add newline to end of windows perfmon config (#3829)
Browse files Browse the repository at this point in the history
* Add newline to end of windows perfmon config

This is to fix the docs builds.

* Basic edits to perfmon docs

Fixed capitalization and formatting
  • Loading branch information
andrewkroh authored and dedemorton committed Mar 28, 2017
1 parent 3d2b0fa commit e41868b
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 16 deletions.
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'
```
----

0 comments on commit e41868b

Please sign in to comment.