Skip to content

Commit

Permalink
Added required alias property to documentation (#4800)
Browse files Browse the repository at this point in the history
Trying to start metricbeat for capturing performance counters with default configuration form documentation fails complaining on absent "alias" field in counters definitions.
  • Loading branch information
wovas authored and andrewkroh committed Aug 2, 2017
1 parent 747cfd9 commit 44d6f9d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions metricbeat/module/windows/perfmon/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ For wildcard queries this setting has no effect.
metricsets: ["perfmon"]
period: 10s
perfmon.counters:
- instance_label: "processor.name"
- alias: "procesor.name.stats"
instance_label: "processor.name"
instance_name: "Total"
measurement_label: "processor.time.total.pct"
query: '\Processor Information(_Total)\% Processor Time'
- instance_label: "diskio.name"
- alias: "diskio.name.stats"
instance_label: "diskio.name"
measurement_label: "diskio.write.bytes"
query: '\PhysicalDisk(*)\Disk Writes/sec'
format: "long"
Expand Down

0 comments on commit 44d6f9d

Please sign in to comment.